android Programming Glossary: excellent
How to communicate between Android tabs http://stackoverflow.com/questions/1088810/how-to-communicate-between-android-tabs tab is selected. The Android documentation has an excellent worked example check out Hello TabWidget . Alternative If for..
Android action bar with two stretched buttons http://stackoverflow.com/questions/11264808/android-action-bar-with-two-stretched-buttons to a better solution What it looks like EDIT There is an excellent post by Roman Nurik where he explains a way to do this very..
Android 4.2 broke my encrypt/decrypt code and the provided solutions don't work http://stackoverflow.com/questions/13433529/android-4-2-broke-my-encrypt-decrypt-code-and-the-provided-solutions-dont-work you're using a password to derive a key follow Nelenkov's excellent tutorial with the caveat that a good rule of thumb is the salt..
Android kernel compile and test with Android Emulator http://stackoverflow.com/questions/1809774/android-kernel-compile-and-test-with-android-emulator special that needs to be done Documentation for the SDK is excellent however documentation for compiling the kernel and setting up..
How do I bind this service in Android? http://stackoverflow.com/questions/2282359/how-do-i-bind-this-service-in-android google then your service will leak memory see this chaps excellent post on how to do it properly and vote for the related Google..
Background Image Placement http://stackoverflow.com/questions/2781593/background-image-placement no matter the orientation of the device. It would be excellent if there were some way to set the background image position..
android: running a background task using AlarmManager http://stackoverflow.com/questions/3859489/android-running-a-background-task-using-alarmmanager is that it does not deal with the wake lock gap the excellent CommonsWare code does that if you need it but it may give you..
Apache HttpClient on Android producing CertPathValidatorException (IssuerName != SubjectName) http://stackoverflow.com/questions/4115101/apache-httpclient-on-android-producing-certpathvalidatorexception-issuername 2010 06 android and self signed ssl certificates the excellent answer from bdc above easily googled source code for EasySSLSocketFactory..
How to simulate a touch event in Android? http://stackoverflow.com/questions/4396059/how-to-simulate-a-touch-event-in-android For more on obtaining a MotionEvent object here is an excellent answer Android How to create a MotionEvent share improve this..
Android Rotating MapView http://stackoverflow.com/questions/6028999/android-rotating-mapview similiar to my question A working example would be excellent android android mapview rotation share improve this question..
Media queries not behaving as expected on Android http://stackoverflow.com/questions/6047884/media-queries-not-behaving-as-expected-on-android ratio 1.5 high resolution styles Check David Calhoun's excellent article on mobile best practices . share improve this answer..
Using a Mock Location in Navigation App http://stackoverflow.com/questions/7071625/using-a-mock-location-in-navigation-app through Google's Navigation application. I found some excellent examples of how to implement a mock location provider in some..
CamcorderProfile.QUALITY_HIGH resolution produces green flickering video http://stackoverflow.com/questions/7225571/camcorderprofile-quality-high-resolution-produces-green-flickering-video came with can record in 1920 x 1080 and it produces an excellent recording. I can only assume with such a high resolution I need..
Android app out of memory issues - tried everything and still at a loss http://stackoverflow.com/questions/7536988/android-app-out-of-memory-issues-tried-everything-and-still-at-a-loss and feed it to a ListView I'm actually using CommonsWare's excellent MergeAdapter but in this Badge activity there is really only..
Scala, Android and Eclipse http://stackoverflow.com/questions/7697153/scala-android-and-eclipse doing so here . We use Ant or SBT to compile there's an excellent SBT plugin for Android development. Having said all of that..
Using viewpager in my application http://stackoverflow.com/questions/8392520/using-viewpager-in-my-application yet give you a ViewPagerIndicator. Check Jake Wharton's excellent library for that. If you want the code to a fully implemented..
Gridview height gets cut http://stackoverflow.com/questions/8481844/gridview-height-gets-cut this question After too much research I stumbled on the excellent answer of Neil Traft . Adapting his work for the GridView has..
Using Application context everywhere? http://stackoverflow.com/questions/987072/using-application-context-everywhere will get an Exception. Generally speaking your approach is excellent it's good practice to use an Activity's Context within that..
How to communicate between Android tabs http://stackoverflow.com/questions/1088810/how-to-communicate-between-android-tabs that uses Tabs to only show part of the layout when a particular tab is selected. The Android documentation has an excellent worked example check out Hello TabWidget . Alternative If for some reason you do need to use Activities you can pass information..
Android action bar with two stretched buttons http://stackoverflow.com/questions/11264808/android-action-bar-with-two-stretched-buttons like this Perhaps if someone sees this they can point us to a better solution What it looks like EDIT There is an excellent post by Roman Nurik where he explains a way to do this very nicely. EDIT 2 If anyone is curious the correct way to lay out..
Android 4.2 broke my encrypt/decrypt code and the provided solutions don't work http://stackoverflow.com/questions/13433529/android-4-2-broke-my-encrypt-decrypt-code-and-the-provided-solutions-dont-work by doing SecretKey key new SecretKeySpec keyBytes AES If you're using a password to derive a key follow Nelenkov's excellent tutorial with the caveat that a good rule of thumb is the salt size should be the same size as the key output. It looks..
Android kernel compile and test with Android Emulator http://stackoverflow.com/questions/1809774/android-kernel-compile-and-test-with-android-emulator it in the Android emulator and if so is there anything that special that needs to be done Documentation for the SDK is excellent however documentation for compiling the kernel and setting up a custom machine in the emulator has been hard for me to find...
How do I bind this service in Android? http://stackoverflow.com/questions/2282359/how-do-i-bind-this-service-in-android point out that if you follow the service examples provided by google then your service will leak memory see this chaps excellent post on how to do it properly and vote for the related Google bug http www.ozdroid.com # BLOG 2010 12 19 How_to_make_a_local_Service_and_bind_to_it_in_Android..
Background Image Placement http://stackoverflow.com/questions/2781593/background-image-placement which is always located in the lower left corner of the screen no matter the orientation of the device. It would be excellent if there were some way to set the background image position such as that which you can do with css using background position..
android: running a background task using AlarmManager http://stackoverflow.com/questions/3859489/android-running-a-background-task-using-alarmmanager classes too a lot of into in there. The caveat with this example is that it does not deal with the wake lock gap the excellent CommonsWare code does that if you need it but it may give you some more ideas about how to potentially address the poll..
Apache HttpClient on Android producing CertPathValidatorException (IssuerName != SubjectName) http://stackoverflow.com/questions/4115101/apache-httpclient-on-android-producing-certpathvalidatorexception-issuername combining insights from Antoine Hauck's blog http blog.synyx.de 2010 06 android and self signed ssl certificates the excellent answer from bdc above easily googled source code for EasySSLSocketFactory and EasyX509TrustManager would provide a link..
How to simulate a touch event in Android? http://stackoverflow.com/questions/4396059/how-to-simulate-a-touch-event-in-android
Android Rotating MapView http://stackoverflow.com/questions/6028999/android-rotating-mapview call theMapView.rotate Does anyone came accross some solution similiar to my question A working example would be excellent android android mapview rotation share improve this question Keep in mind that it's not an ideal approach because the..
Media queries not behaving as expected on Android http://stackoverflow.com/questions/6047884/media-queries-not-behaving-as-expected-on-android
Using a Mock Location in Navigation App http://stackoverflow.com/questions/7071625/using-a-mock-location-in-navigation-app I'm trying to develop an application that will simulate a route through Google's Navigation application. I found some excellent examples of how to implement a mock location provider in some other posts on this website Android mock location on device..
CamcorderProfile.QUALITY_HIGH resolution produces green flickering video http://stackoverflow.com/questions/7225571/camcorderprofile-quality-high-resolution-produces-green-flickering-video isn't supported by the phone. However the camcorder the phone came with can record in 1920 x 1080 and it produces an excellent recording. I can only assume with such a high resolution I need to set some other parameters differently but I just cant..
Android app out of memory issues - tried everything and still at a loss http://stackoverflow.com/questions/7536988/android-app-out-of-memory-issues-tried-everything-and-still-at-a-loss web load it into an array of EntityData from a BaseAdapter and feed it to a ListView I'm actually using CommonsWare's excellent MergeAdapter but in this Badge activity there is really only 1 adapter anyway but I wanted to mention this fact either way..
Scala, Android and Eclipse http://stackoverflow.com/questions/7697153/scala-android-and-eclipse to test our Android code you can read a writeup of how we're doing so here . We use Ant or SBT to compile there's an excellent SBT plugin for Android development. Having said all of that I'm not sure that I would recommend Scala for production Android..
Using viewpager in my application http://stackoverflow.com/questions/8392520/using-viewpager-in-my-application pager.setAdapter new MyPagerAdapter Note that this does not yet give you a ViewPagerIndicator. Check Jake Wharton's excellent library for that. If you want the code to a fully implemented and working version with multiple lists and other views in..
Gridview height gets cut http://stackoverflow.com/questions/8481844/gridview-height-gets-cut space. What can I do android gridview share improve this question After too much research I stumbled on the excellent answer of Neil Traft . Adapting his work for the GridView has been dead easy. ExpandableHeightGridView.java package com.example..
Using Application context everywhere? http://stackoverflow.com/questions/987072/using-application-context-everywhere pass the application Context into the LayoutInflator you will get an Exception. Generally speaking your approach is excellent it's good practice to use an Activity's Context within that Activity and the Application Context when passing a context..
|