android Programming Glossary: discovered
Android ViewPager - can't update dynamically http://stackoverflow.com/questions/10849552/android-viewpager-cant-update-dynamically workaround provided in the post you linked. As you've discovered using setTag and findViewWithTag doesn't work with fragments..
Navigation Drawer (Google+ vs. YouTube) http://stackoverflow.com/questions/11377472/navigation-drawer-google-vs-youtube Android application design standard. As you have probably discovered there's currently no native support for this feature but there..
Standard Android Button with a different color http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color android layout drawable share improve this question I discovered that this can all be done in one file fairly easily. Put something..
Launching activity from widget http://stackoverflow.com/questions/1937236/launching-activity-from-widget improve this question I was having the same issue. I discovered that the fix is to call an update through the appwidget manager...
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon true. So when you write Along with other messy things I discovered I think that developing our app for Android is not going to..
How to use Bluetooth in Android emulator? http://stackoverflow.com/questions/2175076/how-to-use-bluetooth-in-android-emulator SDK's docs and on several other places. And you already discovered this yourself the adapter is returning null value which means..
Android multiple email attachments using Intent http://stackoverflow.com/questions/2264622/android-multiple-email-attachments-using-intent attachment but cannot find any related info. However I've discovered that there's another intent constant ACTION_SEND_MULTIPLE available..
How can I avoid garbage collection delays in Java games? (Best Practices) [closed] http://stackoverflow.com/questions/2484079/how-can-i-avoid-garbage-collection-delays-in-java-games-best-practices it and what are the pitfalls and best practices you've discovered to run interactively on Java or Android These gc issues are..
How to always run a service in the background http://stackoverflow.com/questions/2566350/how-to-always-run-a-service-in-the-background is not possible in any real sense of the term as you have discovered. It is also bad design . every 5 min. the service checks the..
Ideal way to cancel an executing AsyncTask http://stackoverflow.com/questions/2735102/ideal-way-to-cancel-an-executing-asynctask android asynctask share improve this question Just discovered that AlertDialogs 's boolean cancel ... I've been using everywhere..
How can I refresh MediaStore on Android? http://stackoverflow.com/questions/3300137/how-can-i-refresh-mediastore-on-android in mediastore and checks the length of the _data field. I discovered that for all the lists with no associated M3U file this field..
How to save state during orientation change in Android if the state is made of my classes? http://stackoverflow.com/questions/3915952/how-to-save-state-during-orientation-change-in-android-if-the-state-is-made-of-m Android handles orientation change for my application I discovered that it restarts the mainactivity on orientation change. I've..
Android VideoView orientation change with buffered video http://stackoverflow.com/questions/4434027/android-videoview-orientation-change-with-buffered-video LayoutParams.FILL_PARENT height EDIT I've discovered in logcat some interesting output that comes up when my video..
Grid of images inside ScrollView http://stackoverflow.com/questions/4523609/grid-of-images-inside-scrollview its children for you right inside the onMeasure method I discovered this by browsing through the source code . Hopefully GridView..
Integration ZXing library directly into my Android application http://stackoverflow.com/questions/4782543/integration-zxing-library-directly-into-my-android-application a proof of concept to an Android 1.6 phone. For this i've discovered the ZXing library. I've googled read related topics here on..
Android Sleep/Standby Mode http://stackoverflow.com/questions/5120185/android-sleep-standby-mode X when the phone has been put into sleep mode. What I have discovered is that the timer seems to pause when the phone is in sleep...
How can I manage audio volumes sanely in my Android app? http://stackoverflow.com/questions/628659/how-can-i-manage-audio-volumes-sanely-in-my-android-app constrained by the music stream volume. The options I have discovered are thus Adjust the music stream's volume possibly deafening..
Deleting a gallery image after camera intent photo taken http://stackoverflow.com/questions/6390163/deleting-a-gallery-image-after-camera-intent-photo-taken card. Originally I just used the EXTRA_OUTPUT but I soon discovered the following Some devices use it completely and skip the gallery...
Problem to load flv video in webview http://stackoverflow.com/questions/6596243/problem-to-load-flv-video-in-webview uses permission Interestingly I discovered I was only able to run the SWF player from the assets folder..
Android Paint: .measureText() vs .getTextBounds() http://stackoverflow.com/questions/7549182/android-paint-measuretext-vs-gettextbounds This is something called Glyph's AdvanceX value. I've discovered this in Skia sources in SkPaint.cpp So the outcome of the test..
Android ViewPager - can't update dynamically http://stackoverflow.com/questions/10849552/android-viewpager-cant-update-dynamically the first time. I don't recommend the setTag and findViewWithTag workaround provided in the post you linked. As you've discovered using setTag and findViewWithTag doesn't work with fragments so it's not a good match. The right solution is to override..
Navigation Drawer (Google+ vs. YouTube) http://stackoverflow.com/questions/11377472/navigation-drawer-google-vs-youtube the slide out navigation menu is not officially part of the Android application design standard. As you have probably discovered there's currently no native support for this feature but there was talk about making this an addition to an upcoming revision..
Standard Android Button with a different color http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color way to go about changing a button's color than I'm doing android layout drawable share improve this question I discovered that this can all be done in one file fairly easily. Put something like the following code in a file named custom_button.xml..
Launching activity from widget http://stackoverflow.com/questions/1937236/launching-activity-from-widget very much for your help Steve android android widget share improve this question I was having the same issue. I discovered that the fix is to call an update through the appwidget manager. here is an example of how to do that in onEnabled. It appears..
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon limit themselves to environments where their model would hold true. So when you write Along with other messy things I discovered I think that developing our app for Android is not going to happen. that would appear to be for the best for you for right..
How to use Bluetooth in Android emulator? http://stackoverflow.com/questions/2175076/how-to-use-bluetooth-in-android-emulator The emulator does not support Bluetooth as mentioned in the SDK's docs and on several other places. And you already discovered this yourself the adapter is returning null value which means the android emulator is not having bluetooth capability ..
Android multiple email attachments using Intent http://stackoverflow.com/questions/2264622/android-multiple-email-attachments-using-intent documentation and Android programming user group about email attachment but cannot find any related info. However I've discovered that there's another intent constant ACTION_SEND_MULTIPLE available since API level 4 which might meet my requirement. Based..
How can I avoid garbage collection delays in Java games? (Best Practices) [closed] http://stackoverflow.com/questions/2484079/how-can-i-avoid-garbage-collection-delays-in-java-games-best-practices must be others out there dealing with this. How do you handle it and what are the pitfalls and best practices you've discovered to run interactively on Java or Android These gc issues are enough to make me miss manual memory management but not very..
How to always run a service in the background http://stackoverflow.com/questions/2566350/how-to-always-run-a-service-in-the-background a service that is always running in the background This is not possible in any real sense of the term as you have discovered. It is also bad design . every 5 min. the service checks the current location of the device and calls a web service Use..
Ideal way to cancel an executing AsyncTask http://stackoverflow.com/questions/2735102/ideal-way-to-cancel-an-executing-asynctask operation. What is the ideal way to handle such a case android android asynctask share improve this question Just discovered that AlertDialogs 's boolean cancel ... I've been using everywhere actually does nothing. Great. So... public class MyTask..
How can I refresh MediaStore on Android? http://stackoverflow.com/questions/3300137/how-can-i-refresh-mediastore-on-android rescan the card the app iterates through all the playlists in mediastore and checks the length of the _data field. I discovered that for all the lists with no associated M3U file this field was always empty. Then it was just a case of finding the source..
How to save state during orientation change in Android if the state is made of my classes? http://stackoverflow.com/questions/3915952/how-to-save-state-during-orientation-change-in-android-if-the-state-is-made-of-m if the state is made of my classes I was looking at the way Android handles orientation change for my application I discovered that it restarts the mainactivity on orientation change. I've seen that you can override the method protected void onSaveInstanceState..
Android VideoView orientation change with buffered video http://stackoverflow.com/questions/4434027/android-videoview-orientation-change-with-buffered-video questionVideo.setLayoutParams new RelativeLayout.LayoutParams LayoutParams.FILL_PARENT height EDIT I've discovered in logcat some interesting output that comes up when my video is rotated which seems to be the culprit although I have no..
Grid of images inside ScrollView http://stackoverflow.com/questions/4523609/grid-of-images-inside-scrollview the ListView a mode of AT_MOST it creates and measures all of its children for you right inside the onMeasure method I discovered this by browsing through the source code . Hopefully GridView behaves the same but if it doesn't you can still measure all..
Integration ZXing library directly into my Android application http://stackoverflow.com/questions/4782543/integration-zxing-library-directly-into-my-android-application I've been assigned to make a standalone barcode scanner as a proof of concept to an Android 1.6 phone. For this i've discovered the ZXing library. I've googled read related topics here on StackOverflow used common sence and so forth. Nothing seemed..
Android Sleep/Standby Mode http://stackoverflow.com/questions/5120185/android-sleep-standby-mode on the Motorola Droid 1 but it doesn't work on the Droid X when the phone has been put into sleep mode. What I have discovered is that the timer seems to pause when the phone is in sleep. It doesn't seem to do this on the Droid 1 or the emulator...
How can I manage audio volumes sanely in my Android app? http://stackoverflow.com/questions/628659/how-can-i-manage-audio-volumes-sanely-in-my-android-app expecting it to make these noises but unfortunately it is constrained by the music stream volume. The options I have discovered are thus Adjust the music stream's volume possibly deafening the user if they happen to be playing music at the time. Call..
Deleting a gallery image after camera intent photo taken http://stackoverflow.com/questions/6390163/deleting-a-gallery-image-after-camera-intent-photo-taken gallery but instead must be in a specific directory on the SD card. Originally I just used the EXTRA_OUTPUT but I soon discovered the following Some devices use it completely and skip the gallery. Some devices ignore it completely and ONLY use the gallery...
Problem to load flv video in webview http://stackoverflow.com/questions/6596243/problem-to-load-flv-video-in-webview permission where required uses permission android name android.permission.WAKE_LOCK uses permission Interestingly I discovered I was only able to run the SWF player from the assets folder when the html was statically loaded i.e when I created an html..
Android Paint: .measureText() vs .getTextBounds() http://stackoverflow.com/questions/7549182/android-paint-measuretext-vs-gettextbounds measureText is incremented by this value on both left and right. This is something called Glyph's AdvanceX value. I've discovered this in Skia sources in SkPaint.cpp So the outcome of the test is that measureText adds some advance value to the text on..
|