├── .gitignore ├── AndroidManifest.xml ├── README ├── build.properties ├── build.xml ├── default.properties ├── proguard.cfg ├── res ├── drawable │ └── icon.png ├── layout │ ├── note_edit.xml │ ├── notes_list.xml │ └── notes_row.xml └── values │ └── strings.xml └── src ├── NoteEdit.mirah ├── Notepadv3.mirah └── NotesDbAdapter.mirah /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.bak 3 | bin 4 | gen 5 | local.properties 6 | 7 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This project is intended to help me learn both Android development and Mirah language at the same time. 2 | 3 | It is port of Android Notepad tutorial to Mirah programming language. 4 | 5 | If you have suggestions about coding style, please let me know. Or, better yet, create a fork and send me a pull request. 6 | -------------------------------------------------------------------------------- /build.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markokocic/android-notepad-mirah/7b91b6c8cefacbf17c8a6b4b3b283f655b78c8c8/build.properties -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 24 | 25 | 27 | 28 | 29 | 31 | 34 | 35 | 36 | 39 | 40 | 41 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | hasCode = false. Skipping... 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | hasCode = false. Skipping... 82 | 83 | 84 | 85 | 86 | 87 | 90 | 91 | 94 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Indicates whether an apk should be generated for each density. 11 | split.density=false 12 | 13 | # Project target. 14 | target-version=android-9 15 | target=Google Inc.:Google APIs:9 16 | -------------------------------------------------------------------------------- /proguard.cfg: -------------------------------------------------------------------------------- 1 | -optimizationpasses 5 2 | -dontusemixedcaseclassnames 3 | -dontskipnonpubliclibraryclasses 4 | -dontpreverify 5 | -verbose 6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* 7 | 8 | -keep public class * extends android.app.Activity 9 | -keep public class * extends android.app.Application 10 | -keep public class * extends android.app.Service 11 | -keep public class * extends android.content.BroadcastReceiver 12 | -keep public class * extends android.content.ContentProvider 13 | -keep public class * extends android.app.backup.BackupAgentHelper 14 | -keep public class * extends android.preference.Preference 15 | -keep public class com.android.vending.licensing.ILicensingService 16 | 17 | -keepclasseswithmembernames class * { 18 | native ; 19 | } 20 | 21 | -keepclasseswithmembernames class * { 22 | public (android.content.Context, android.util.AttributeSet); 23 | } 24 | 25 | -keepclasseswithmembernames class * { 26 | public (android.content.Context, android.util.AttributeSet, int); 27 | } 28 | 29 | -keepclassmembers enum * { 30 | public static **[] values(); 31 | public static ** valueOf(java.lang.String); 32 | } 33 | 34 | -keep class * implements android.os.Parcelable { 35 | public static final android.os.Parcelable$Creator *; 36 | } 37 | -------------------------------------------------------------------------------- /res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markokocic/android-notepad-mirah/7b91b6c8cefacbf17c8a6b4b3b283f655b78c8c8/res/drawable/icon.png -------------------------------------------------------------------------------- /res/layout/note_edit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 18 | 19 | 20 | 23 | 27 | 28 |