diff --git a/src/android/AndroidManifest.xml b/src/android/AndroidManifest.xml index 62cbe65a860b318ee09edbc1651c5265f9955659..18c48493a385d7e7cab8c7b70db054b8a959ea4c 100644 --- a/src/android/AndroidManifest.xml +++ b/src/android/AndroidManifest.xml @@ -4,7 +4,7 @@ android:versionCode="1" android:versionName="1.0" > - <uses-sdk android:minSdkVersion="15" /> + <uses-sdk android:minSdkVersion="12" /> <application android:icon="@drawable/starting_logo" @@ -28,4 +28,4 @@ </activity> </application> -</manifest> \ No newline at end of file +</manifest> diff --git a/src/android/bin/classes/project/alwaystry/Blockrectangle.class b/src/android/bin/classes/project/alwaystry/Blockrectangle.class index 2b88183e54dd54c1c1eb1664ddf4ae222bbf8807..11341075bca81b3e875a738c1af73cb9f7c0c555 100644 Binary files a/src/android/bin/classes/project/alwaystry/Blockrectangle.class and b/src/android/bin/classes/project/alwaystry/Blockrectangle.class differ diff --git a/src/android/project.properties b/src/android/project.properties index 8da376af8d49472521c33bad1d544b8755a62c16..2cc58faf43e86bd9ef768537cef2079f7accacb3 100644 --- a/src/android/project.properties +++ b/src/android/project.properties @@ -8,4 +8,4 @@ # project structure. # Project target. -target=android-15 +target=android-12 diff --git a/src/android/readme b/src/android/readme index 38940a8ec7fcec3e877e529e47315ab448bfb9cb..831d79eab5def2cd29fe8c4e091db856134820d6 100644 --- a/src/android/readme +++ b/src/android/readme @@ -16,4 +16,10 @@ Then, start the android emulator, and select your target $android avd Install your application on the emulator: -adb install bin/appli.apk +$adb install bin/appli.apk + +List devices connected to your PC / Mac: +$adb devices + +Installing apk on your phone / tablet via usb +$adb install bin/appli.apk \ No newline at end of file diff --git a/src/android/src/project/alwaystry/Blockrectangle.java b/src/android/src/project/alwaystry/Blockrectangle.java index 92b8d69a8be0074f24b79e5cc2b993d85fae905f..d400fab8ec0cb3acf8c0aefce3d605fac6455a67 100644 --- a/src/android/src/project/alwaystry/Blockrectangle.java +++ b/src/android/src/project/alwaystry/Blockrectangle.java @@ -86,7 +86,7 @@ public class Blockrectangle extends View implements OnLongClickListener,OnTouchL mTextPaint = new TextPaint(); mTextPaint.setAntiAlias(true); mTextPaint.setTextAlign(Paint.Align.CENTER); - mTextPaint.setColor(Color.BLACK); + mTextPaint.setColor(Color.BLUE); name = "Name";