android Programming Glossary: cupcake
How AsyncTask works in Android http://stackoverflow.com/questions/10480599/how-asynctask-works-in-android has a rather long story. When it first appeared in Cupcake 1.5 it handled background operations with a single additional..
How to programmatically enable GPS in Android Cupcake http://stackoverflow.com/questions/1051649/how-to-programmatically-enable-gps-in-android-cupcake to programmatically enable GPS in Android Cupcake I'm currently writing an app in Android that works with the..
How to make page turning effect in Android? http://stackoverflow.com/questions/1523784/how-to-make-page-turning-effect-in-android
Accelerometer stops delivering samples when the screen is off on Droid/Nexus One even with a WakeLock http://stackoverflow.com/questions/2143102/accelerometer-stops-delivering-samples-when-the-screen-is-off-on-droid-nexus-one and hardware This seems to indicate that it was working in Cupcake http groups.google.com group android developers msg a616773b12c2d9e5..
Version of SQLite used in Android? http://stackoverflow.com/questions/2421189/version-of-sqlite-used-in-android 8 2.2 Froyo SQLite 3.5.9 7 2.1 Eclair 4 1.6 Donut 3 1.5 Cupcake Note Android SDK level links show where the android.database.sqlite..
determine API level for platforms < 1.6 http://stackoverflow.com/questions/3155165/determine-api-level-for-platforms-1-6
Retrieving Android API version programmatically http://stackoverflow.com/questions/3423754/retrieving-android-api-version-programmatically so make sure your application is not retro compatible with Cupcake android 1.5 API3 when you use it or your application will crash..
Get android api level of phone currently running my application [duplicate] http://stackoverflow.com/questions/3993924/get-android-api-level-of-phone-currently-running-my-application 1.0 2 BASE_1_1 Android 1.1 3 CUPCAKE Android 1.5 Cupcake 4 DONUT Android 1.6 Donut 5 ECLAIR Android 2.0 Eclair 6..
How to programatically create and read WEP/EAP WiFi configurations in Android? http://stackoverflow.com/questions/4374862/how-to-programatically-create-and-read-wep-eap-wifi-configurations-in-android if wcEnterpriseField null noEnterpriseFieldType true Cupcake Donut access enterprise settings directly Field wcefAnonymousId..
rotation and scaling using multi touch in android http://stackoverflow.com/questions/8515709/rotation-and-scaling-using-multi-touch-in-android view1.setOnTouchListener this ... Work around a Cupcake bug matrix.setTranslate 1f 1f matrix1.setTranslate 1f 1f view.setImageMatrix..
How can I make my layout scroll both horizontally and vertically? http://stackoverflow.com/questions/1399605/how-can-i-make-my-layout-scroll-both-horizontally-and-vertically horizontal . I have read on some forums that in the cupcake update horizontal scrolling is possible. How can I make my layout..
how best to cope with different versions of Android? http://stackoverflow.com/questions/3459032/how-best-to-cope-with-different-versions-of-android ~r blogspot hsDu ~3 9WEwRp2NWlY how to have your cupcake and eat it too.html Edit Thanks to CommonsWare for pointing..
changing screen brightness programmatically in android http://stackoverflow.com/questions/3737579/changing-screen-brightness-programmatically-in-android getWindow .setAttributes lp But this sample code works on cupcake not on latest versions. I am using the latest version of SDK....
Removing AppWidgets programmatically http://stackoverflow.com/questions/4532121/removing-appwidgets-programmatically obscure example from http www.netmite.com android mydroid cupcake frameworks base services java com android server AppWidgetService.java..
Audio stream buffering http://stackoverflow.com/questions/4557450/audio-stream-buffering
Android user interface guidelines http://stackoverflow.com/questions/470566/android-user-interface-guidelines
How to import android email source code into eclipse project? http://stackoverflow.com/questions/5924619/how-to-import-android-email-source-code-into-eclipse-project sure if Email is still in this category but it was in the cupcake days. There are three potential workarounds. Best is to rewrite..
How do I save data from Camera to disk using MediaStore on Android? http://stackoverflow.com/questions/649057/how-do-i-save-data-from-camera-to-disk-using-mediastore-on-android e catch IOException e Also I do know that the cupcake release of Android should fix the small image size soon. share..
How AsyncTask works in Android http://stackoverflow.com/questions/10480599/how-asynctask-works-in-android android android asynctask share improve this question AsyncTask has a rather long story. When it first appeared in Cupcake 1.5 it handled background operations with a single additional thread one by one . In Donut 1.6 it was changed so that a..
How to programmatically enable GPS in Android Cupcake http://stackoverflow.com/questions/1051649/how-to-programmatically-enable-gps-in-android-cupcake to programmatically enable GPS in Android Cupcake I'm currently writing an app in Android that works with the GPS. At the moment I'm able to work out whether the GPS is..
How to make page turning effect in Android? http://stackoverflow.com/questions/1523784/how-to-make-page-turning-effect-in-android
Accelerometer stops delivering samples when the screen is off on Droid/Nexus One even with a WakeLock http://stackoverflow.com/questions/2143102/accelerometer-stops-delivering-samples-when-the-screen-is-off-on-droid-nexus-one with this on a more modern version of Android Eclair and hardware This seems to indicate that it was working in Cupcake http groups.google.com group android developers msg a616773b12c2d9e5 PS The exact same code works as intended in 1.5 on..
Version of SQLite used in Android? http://stackoverflow.com/questions/2421189/version-of-sqlite-used-in-android SQLite 3.6.22 10 2.3.3 Gingerbread 9 2.3.1 Gingerbread 8 2.2 Froyo SQLite 3.5.9 7 2.1 Eclair 4 1.6 Donut 3 1.5 Cupcake Note Android SDK level links show where the android.database.sqlite package has changed. Where there is no link e.g. SDK..
determine API level for platforms < 1.6 http://stackoverflow.com/questions/3155165/determine-api-level-for-platforms-1-6
Retrieving Android API version programmatically http://stackoverflow.com/questions/3423754/retrieving-android-api-version-programmatically Edit This SDK_INT is available since Donut android 1.6 API4 so make sure your application is not retro compatible with Cupcake android 1.5 API3 when you use it or your application will crash thanks to Programmer Bruce for the precision . Corresponding..
Get android api level of phone currently running my application [duplicate] http://stackoverflow.com/questions/3993924/get-android-api-level-of-phone-currently-running-my-application value Build.VERSION_CODES Human Version Name 1 BASE Android 1.0 2 BASE_1_1 Android 1.1 3 CUPCAKE Android 1.5 Cupcake 4 DONUT Android 1.6 Donut 5 ECLAIR Android 2.0 Eclair 6 ECLAIR_0_1 Android 2.0.1 Eclair 7 ECLAIR_MR1 Android 2.1..
How to programatically create and read WEP/EAP WiFi configurations in Android? http://stackoverflow.com/questions/4374862/how-to-programatically-create-and-read-wep-eap-wifi-configurations-in-android wcClass break boolean noEnterpriseFieldType false if wcEnterpriseField null noEnterpriseFieldType true Cupcake Donut access enterprise settings directly Field wcefAnonymousId null wcefCaCert null wcefClientCert null wcefEap null wcefIdentity..
rotation and scaling using multi touch in android http://stackoverflow.com/questions/8515709/rotation-and-scaling-using-multi-touch-in-android this ImageView view1 ImageView findViewById R.id.imageView2 view1.setOnTouchListener this ... Work around a Cupcake bug matrix.setTranslate 1f 1f matrix1.setTranslate 1f 1f view.setImageMatrix matrix view1.setImageMatrix matrix1 @Override..
How can I make my layout scroll both horizontally and vertically? http://stackoverflow.com/questions/1399605/how-can-i-make-my-layout-scroll-both-horizontally-and-vertically using Android SDK 1.5 r3. I have already tried android scrollbars horizontal . I have read on some forums that in the cupcake update horizontal scrolling is possible. How can I make my layout scroll in both directions android android widget android..
how best to cope with different versions of Android? http://stackoverflow.com/questions/3459032/how-best-to-cope-with-different-versions-of-android this post on the Android developers blog http feedproxy.google.com ~r blogspot hsDu ~3 9WEwRp2NWlY how to have your cupcake and eat it too.html Edit Thanks to CommonsWare for pointing out a sample project which uses both the new and old contacts..
changing screen brightness programmatically in android http://stackoverflow.com/questions/3737579/changing-screen-brightness-programmatically-in-android float brightness 1.0f lp.screenBrightness brightness getWindow .setAttributes lp But this sample code works on cupcake not on latest versions. I am using the latest version of SDK.. What is the preferred solution for newer Android Versions..
Removing AppWidgets programmatically http://stackoverflow.com/questions/4532121/removing-appwidgets-programmatically widget should be deleted as well. I've tried following an obscure example from http www.netmite.com android mydroid cupcake frameworks base services java com android server AppWidgetService.java but that doesn't seem to even trigger OnDeleted much..
Audio stream buffering http://stackoverflow.com/questions/4557450/audio-stream-buffering
Android user interface guidelines http://stackoverflow.com/questions/470566/android-user-interface-guidelines
How to import android email source code into eclipse project? http://stackoverflow.com/questions/5924619/how-to-import-android-email-source-code-into-eclipse-project that is only visible during the system build. I'm not sure if Email is still in this category but it was in the cupcake days. There are three potential workarounds. Best is to rewrite those parts of the application to instead use functionality..
How do I save data from Camera to disk using MediaStore on Android? http://stackoverflow.com/questions/649057/how-do-i-save-data-from-camera-to-disk-using-mediastore-on-android
|