android Programming Glossary: yet
AutoCompleteTextView backed by CursorLoader http://stackoverflow.com/questions/12854336/autocompletetextview-backed-by-cursorloader MultiAutoCompleteTextView and Tokenizer has not been tried yet at least not so far that I know. An option you have is to take..
Inner class can access but not update values - AsyncTask http://stackoverflow.com/questions/18517400/inner-class-can-access-but-not-update-values-asynctask since AsyncTask is asynchrounous they might not be updated yet when you check them. You can use an interface to create a callback..
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon model correctly haven't had a chance to play with one yet . In all of those users don't terminate anything they just leave...
Display PDF within app on Android? http://stackoverflow.com/questions/2456344/display-pdf-within-app-on-android over to Android. Have any of you done something with it yet android pdf share improve this question If you would like..
How to return a result (startActivityForResult) from a TabHost Activity? http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity back to Class A. I just don't know a work around yet. android share improve this question Oh god After spending..
Android 1.6: “android.view.WindowManager$BadTokenException: Unable to add window — token null is not for an application” http://stackoverflow.com/questions/2634991/android-1-6-android-view-windowmanagerbadtokenexception-unable-to-add-window onCreate which happens because the activity isn't created yet but this is coming from a call from a menu object and the appContext..
Change the background color of the options menu http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu that a lot of programmers have and to which Google has yet to provide a satisfactory supported solution. There are a lot.. 2 real devices . I don't have any 3.X tablets to test on yet but will post any needed changes here when if I do. Given that..
Restful API service http://stackoverflow.com/questions/3197335/restful-api-service stopService if started Toast.makeText context Service not yet started Toast.LENGTH_SHORT .show else Intent i new Intent i.setClassName..
How can I put a ListView into a ScrollView without it collapsing? http://stackoverflow.com/questions/3495890/how-can-i-put-a-listview-into-a-scrollview-without-it-collapsing to be don't put a ListView into a ScrollView . I have yet to see any real explanation for why though. The only reason..
Background task, progress dialog, orientation change - is there any 100% working solution? http://stackoverflow.com/questions/3821423/background-task-progress-dialog-orientation-change-is-there-any-100-working was destroyed and new Activity hasn't been started yet . What is the best way to handle this kind of problem updating..
Running multiple AsyncTasks at the same time — not possible? http://stackoverflow.com/questions/4068984/running-multiple-asynctasks-at-the-same-time-not-possible already but have not finished their doInBackground yet. This is tested confirmed by me on 2.2. Suppose you have a custom..
Android timer? How? http://stackoverflow.com/questions/4597690/android-timer-how improve this question ok since this isn't cleared up yet there are 3 simple ways to handle this. Below is an example..
Android and XMPP: Currently available solutions http://stackoverflow.com/questions/4769020/android-and-xmpp-currently-available-solutions might work just fine nowadays although I have not tried it yet in a real application . There's also another solution I came..
Android Eclipse - Could not find *.apk [closed] http://stackoverflow.com/questions/4778113/android-eclipse-could-not-find-apk before and I have seen a plethora of solutions out there yet none seem to work for me. I was able to build my apk without..
Image in Canvas with touch events http://stackoverflow.com/questions/5743328/image-in-canvas-with-touch-events in Canvas with touch events Seems simple and yet I'm having problems with implementation. I want a canvas with..
Update data in ListFragment as part of ViewPager http://stackoverflow.com/questions/7379165/update-data-in-listfragment-as-part-of-viewpager 0 if fragment null could be null if not instantiated yet if fragment.getView null no need to call if fragment's onDestroyView..
Android Activity Life Cycle - What are all these methods for? http://stackoverflow.com/questions/8515936/android-activity-life-cycle-what-are-all-these-methods-for when an activity is going into the background but has not yet been killed. The counterpart to onResume . When activity B is..
How to make an Android Spinner with initial text “Select One” http://stackoverflow.com/questions/867518/how-to-make-an-android-spinner-with-initial-text-select-one that initially when the user has not made a selection yet displays the text Select One . When the user clicks the spinner..
Https Connection Android http://stackoverflow.com/questions/995514/https-connection-android is a class that implements javax.net.ssl.X509TrustManager yet none of the methods actually perform any work get a sample here..
How can I use BitmapRegionDecoder code in android 2.2.2 (Froyo)? http://stackoverflow.com/questions/10035169/how-can-i-use-bitmapregiondecoder-code-in-android-2-2-2-froyo BitmapRegionDecoder is based on external skia library. Yet it's may be a benefit. Let's examine original source BitmapRegionDecoder.java..
Cannot Resolve @style/Theme.Sherlock http://stackoverflow.com/questions/10352628/cannot-resolve-style-theme-sherlock just like in the Demo code and documentation Yet still eclipse gives me this error. Any ideas out there android..
Are there any standards for mobile device web browsers in terms of thread sleeping? http://stackoverflow.com/questions/10739835/are-there-any-standards-for-mobile-device-web-browsers-in-terms-of-thread-sleepi JS engine. They will not be able to influence setTimeout . Yet the behaviour is standardisized in the current HTML5 draft on..
Yet another getView called multiple times http://stackoverflow.com/questions/11186004/yet-another-getview-called-multiple-times another getView called multiple times Each item in my ListView..
How to force using zxing lib with only my application? http://stackoverflow.com/questions/11559577/how-to-force-using-zxing-lib-with-only-my-application intent filter You are not Barcode Scanner. Yet this intent filter claims that you are Barcode Scanner. You..
Catching market search intents? http://stackoverflow.com/questions/2023811/catching-market-search-intents which app should handle the intent which doesn't happen. Yet if I replace market with market1 or search with search1 in both..
Android SDK and AVD Manager where is Settings menu? http://stackoverflow.com/questions/2195264/android-sdk-and-avd-manager-where-is-settings-menu settings menu on the Android SDK and AVD Manager screen. Yet I have installed in on multiple machines and do not see a Settings..
How to use EMMA code coverage in android http://stackoverflow.com/questions/2762665/how-to-use-emma-code-coverage-in-android question Apparently EMMA isn't supported for the SDK Yet. It's only supported for Apps and Tests that are part of the..
How do you setLayoutParams() for an ImageView? http://stackoverflow.com/questions/2965662/how-do-you-setlayoutparams-for-an-imageview the API for the various ViewGroups but not an ImageView . Yet the ImageView seems to have this functionality. This code doesn't..
Android drawing cache http://stackoverflow.com/questions/3046766/android-drawing-cache if cac null c.drawBitmap cac 0 0 new Paint return Yet the getDrawingCache returns null to me. My draw is not called..
Android: how to access the SIM contact table using the SDK? http://stackoverflow.com/questions/3208061/android-how-to-access-the-sim-contact-table-using-the-sdk has READ_CONTACTS and WRITE_CONTACTS permissions. Yet the query returns an exception. java.lang.NullPointerException..
App on Android market - HTTP notifications don't come http://stackoverflow.com/questions/3459858/app-on-android-market-http-notifications-dont-come up an HTTPS notification URL in Google Checkout settings. Yet notifications don't come. My Google Checkout settings under..
Simple tween animation example http://stackoverflow.com/questions/4152254/simple-tween-animation-example image.startAnimation hyperspaceJump Yet I do not see any animation when I run the app. Am I missing..
Android “Only the original thread that created a view hierarchy can touch its views.” http://stackoverflow.com/questions/5161951/android-only-the-original-thread-that-created-a-view-hierarchy-can-touch-its-vi thread that created a view hierarchy can touch its views. Yet I'm doing basically the same thing here as I'm doing with the..
Android backup/restore: how to backup an internal database? http://stackoverflow.com/questions/5282936/android-backup-restore-how-to-backup-an-internal-database well as a restore being performed and onRestore called . Yet the db file itself is never created. Note that this is all after..
Android detecting if an application entered the background http://stackoverflow.com/questions/5836843/android-detecting-if-an-application-entered-the-background it's a brand new process they are forced to authenticate. Yet if the user briefly is interrupted where you and or the user..
MonoDroid VS Java in android development? http://stackoverflow.com/questions/5951673/monodroid-vs-java-in-android-development I know C# rather well and just love Visual Studio as IDE. Yet now I want to start developing for android... I found out about..
Understanding Samsung Galaxy Tab screen density http://stackoverflow.com/questions/7049659/understanding-samsung-galaxy-tab-screen-density Tab. The Galaxy Tab has a 7 1024 600 screen with 170 dpi. Yet the Tab does not report its density as œmdpi but as œhdpi so the..
MEDIA_MOUNTED broadcast not being received http://stackoverflow.com/questions/7142987/media-mounted-broadcast-not-being-received Yet the ^ 'ing thing won't cause Test.onReceive to fire. Any thoughts..
Japanese TTS on Android http://stackoverflow.com/questions/7365792/japanese-tts-on-android of languages English French German Italian and Spanish. Yet I see an app that does Japanese TTS and the APK is around 1..
AutoCompleteTextView backed by CursorLoader http://stackoverflow.com/questions/12854336/autocompletetextview-backed-by-cursorloader using the three classes together CursorLoader LoaderManager MultiAutoCompleteTextView and Tokenizer has not been tried yet at least not so far that I know. An option you have is to take the classical approach for having your app with MultiAutoCompleteTextView..
Inner class can access but not update values - AsyncTask http://stackoverflow.com/questions/18517400/inner-class-can-access-but-not-update-values-asynctask will be updated since they are member variables. However since AsyncTask is asynchrounous they might not be updated yet when you check them. You can use an interface to create a callback when these values are updated. This SO answer covers..
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon apps Then neither can Web apps. Or WebOS if I understand their model correctly haven't had a chance to play with one yet . In all of those users don't terminate anything they just leave. iPhone is a bit different in that it only presently allows..
Display PDF within app on Android? http://stackoverflow.com/questions/2456344/display-pdf-within-app-on-android only usable with Android phones. I heard that iText got ported over to Android. Have any of you done something with it yet android pdf share improve this question If you would like to add a feature in your android app to view PDF documents..
How to return a result (startActivityForResult) from a TabHost Activity? http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity of Class B and Class B is what is returning the RESULT_CANCELED back to Class A. I just don't know a work around yet. android share improve this question Oh god After spending several hours and downloading the Android sources I have..
Android 1.6: “android.view.WindowManager$BadTokenException: Unable to add window — token null is not for an application” http://stackoverflow.com/questions/2634991/android-1-6-android-view-windowmanagerbadtokenexception-unable-to-add-window talked about having this problem when creating a dialog from onCreate which happens because the activity isn't created yet but this is coming from a call from a menu object and the appContext variable seems like it is correctly populated in the..
Change the background color of the options menu http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu share improve this question This is clearly a problem that a lot of programmers have and to which Google has yet to provide a satisfactory supported solution. There are a lot of crossed intentions and misunderstandings floating around.. tested this hack on 2.1 simulator 2.2 2 real devices and 2.3 2 real devices . I don't have any 3.X tablets to test on yet but will post any needed changes here when if I do. Given that 3.X tablets use Action Bars instead of Options Menus as explained..
Restful API service http://stackoverflow.com/questions/3197335/restful-api-service context.startService i started true public void stopService if started Toast.makeText context Service not yet started Toast.LENGTH_SHORT .show else Intent i new Intent i.setClassName com.something.android com.something.android.RestfulAPIService..
How can I put a ListView into a ScrollView without it collapsing? http://stackoverflow.com/questions/3495890/how-can-i-put-a-listview-into-a-scrollview-without-it-collapsing solutions to this problem and the only answer I can find seems to be don't put a ListView into a ScrollView . I have yet to see any real explanation for why though. The only reason I can seem to find is that Google doesn't think you should want..
Background task, progress dialog, orientation change - is there any 100% working solution? http://stackoverflow.com/questions/3821423/background-task-progress-dialog-orientation-change-is-there-any-100-working sometimes throws an exception probably because the Activity was destroyed and new Activity hasn't been started yet . What is the best way to handle this kind of problem updating UI from background thread that works even if user changes..
Running multiple AsyncTasks at the same time — not possible? http://stackoverflow.com/questions/4068984/running-multiple-asynctasks-at-the-same-time-not-possible AsyncTasks depens on how many tasks have been passed for execution already but have not finished their doInBackground yet. This is tested confirmed by me on 2.2. Suppose you have a custom AsyncTask that just sleeps a second in doInBackground..
Android timer? How? http://stackoverflow.com/questions/4597690/android-timer-how 2007 11 stitch in time.html android timer share improve this question ok since this isn't cleared up yet there are 3 simple ways to handle this. Below is an example showing all 3 and at the bottom is an example showing just the..
Android and XMPP: Currently available solutions http://stackoverflow.com/questions/4769020/android-and-xmpp-currently-available-solutions official Smack API and after a little research it seems it might work just fine nowadays although I have not tried it yet in a real application . There's also another solution I came across Beem's aSMACK library . Beem is a fairly new XMPP client..
Android Eclipse - Could not find *.apk [closed] http://stackoverflow.com/questions/4778113/android-eclipse-could-not-find-apk not find .apk closed I know this question has been asked before and I have seen a plethora of solutions out there yet none seem to work for me. I was able to build my apk without issues until this error started cropping up. I have tried cleaning..
Image in Canvas with touch events http://stackoverflow.com/questions/5743328/image-in-canvas-with-touch-events in Canvas with touch events Seems simple and yet I'm having problems with implementation. I want a canvas with image on screen including onTouch events. I have tried ImageView..
Update data in ListFragment as part of ViewPager http://stackoverflow.com/questions/7379165/update-data-in-listfragment-as-part-of-viewpager .findFragmentByTag android switcher R.id.viewpager 0 if fragment null could be null if not instantiated yet if fragment.getView null no need to call if fragment's onDestroyView has since been called. fragment.updateDisplay do..
Android Activity Life Cycle - What are all these methods for? http://stackoverflow.com/questions/8515936/android-activity-life-cycle-what-are-all-these-methods-for onPause . onPause Called as part of the activity lifecycle when an activity is going into the background but has not yet been killed. The counterpart to onResume . When activity B is launched in front of activity A this callback will be invoked..
How to make an Android Spinner with initial text “Select One” http://stackoverflow.com/questions/867518/how-to-make-an-android-spinner-with-initial-text-select-one text &ldquo Select One&rdquo In Android I want to use a Spinner that initially when the user has not made a selection yet displays the text Select One . When the user clicks the spinner the list of items is displayed and the user selects one..
Https Connection Android http://stackoverflow.com/questions/995514/https-connection-android
How can I use BitmapRegionDecoder code in android 2.2.2 (Froyo)? http://stackoverflow.com/questions/10035169/how-can-i-use-bitmapregiondecoder-code-in-android-2-2-2-froyo backport share improve this question As @hackbod mentioned BitmapRegionDecoder is based on external skia library. Yet it's may be a benefit. Let's examine original source BitmapRegionDecoder.java . Mostly defines wrappers around native methods..
Cannot Resolve @style/Theme.Sherlock http://stackoverflow.com/questions/10352628/cannot-resolve-style-theme-sherlock errors and I've extends SherlockActivity implements ActionBar.TabListener just like in the Demo code and documentation Yet still eclipse gives me this error. Any ideas out there android actionbarsherlock share improve this question I encountered..
Are there any standards for mobile device web browsers in terms of thread sleeping? http://stackoverflow.com/questions/10739835/are-there-any-standards-for-mobile-device-web-browsers-in-terms-of-thread-sleepi the execution or change the behaviour of the underlying JS engine. They will not be able to influence setTimeout . Yet the behaviour is standardisized in the current HTML5 draft on the WindowTimers interface which does not mean it was implemented..
Yet another getView called multiple times http://stackoverflow.com/questions/11186004/yet-another-getview-called-multiple-times another getView called multiple times Each item in my ListView containt an ImageView and a TextView this will be filled..
How to force using zxing lib with only my application? http://stackoverflow.com/questions/11559577/how-to-force-using-zxing-lib-with-only-my-application category android name android.intent.category.DEFAULT intent filter You are not Barcode Scanner. Yet this intent filter claims that you are Barcode Scanner. You need to remove this intent filter modify your copy of the Barcode..
Catching market search intents? http://stackoverflow.com/questions/2023811/catching-market-search-intents host search intent filter I'd expect Android to ask me which app should handle the intent which doesn't happen. Yet if I replace market with market1 or search with search1 in both places my activity gets launched. Is there a notion of untouchable..
Android SDK and AVD Manager where is Settings menu? http://stackoverflow.com/questions/2195264/android-sdk-and-avd-manager-where-is-settings-menu a problem discussed on many forums but they all say go to the settings menu on the Android SDK and AVD Manager screen. Yet I have installed in on multiple machines and do not see a Settings menu. Where is the menu I have it installed on Windows..
How to use EMMA code coverage in android http://stackoverflow.com/questions/2762665/how-to-use-emma-code-coverage-in-android android testing code coverage metrics share improve this question Apparently EMMA isn't supported for the SDK Yet. It's only supported for Apps and Tests that are part of the source tree. Which seems weird because they don't mention this..
How do you setLayoutParams() for an ImageView? http://stackoverflow.com/questions/2965662/how-do-you-setlayoutparams-for-an-imageview the proper way to do it. I can only find documentation in the API for the various ViewGroups but not an ImageView . Yet the ImageView seems to have this functionality. This code doesn't work... myImageView.setLayoutParams new ImageView.LayoutParams..
Android drawing cache http://stackoverflow.com/questions/3046766/android-drawing-cache true Then in the draw Canvas c I do Bitmap cac getDrawingCache if cac null c.drawBitmap cac 0 0 new Paint return Yet the getDrawingCache returns null to me. My draw is not called neither from setDrawingCacheEnabled nor from getDrawingCache..
Android: how to access the SIM contact table using the SDK? http://stackoverflow.com/questions/3208061/android-how-to-access-the-sim-contact-table-using-the-sdk Uri.parse content icc adn null null null null The application has READ_CONTACTS and WRITE_CONTACTS permissions. Yet the query returns an exception. java.lang.NullPointerException at android.os.Parcel.readException Parcel.java 1224 at android.database.DatabaseUtils.readExceptionFromParcel..
App on Android market - HTTP notifications don't come http://stackoverflow.com/questions/3459858/app-on-android-market-http-notifications-dont-come don't come I have a paid app on Android Market. I've set up an HTTPS notification URL in Google Checkout settings. Yet notifications don't come. My Google Checkout settings under Integration go like this My company will only post digitally..
Simple tween animation example http://stackoverflow.com/questions/4152254/simple-tween-animation-example hyperspaceJump AnimationUtils.loadAnimation this R.anim.hyperspace_jump image.startAnimation hyperspaceJump Yet I do not see any animation when I run the app. Am I missing some detail that is not covered in the Animation Resources example..
Android “Only the original thread that created a view hierarchy can touch its views.” http://stackoverflow.com/questions/5161951/android-only-the-original-thread-that-created-a-view-hierarchy-can-touch-its-vi CalledFromWrongThreadException Only the original thread that created a view hierarchy can touch its views. Yet I'm doing basically the same thing here as I'm doing with the SeekBar creating the view in onCreate then touching it in..
Android backup/restore: how to backup an internal database? http://stackoverflow.com/questions/5282936/android-backup-restore-how-to-backup-an-internal-database a backup being performed to LocalTransport from the logs as well as a restore being performed and onRestore called . Yet the db file itself is never created. Note that this is all after an install and before first launch of the app after the..
Android detecting if an application entered the background http://stackoverflow.com/questions/5836843/android-detecting-if-an-application-entered-the-background user gets into your application if the session is too old or it's a brand new process they are forced to authenticate. Yet if the user briefly is interrupted where you and or the user can define briefly they don't have to re authenticate. share..
MonoDroid VS Java in android development? http://stackoverflow.com/questions/5951673/monodroid-vs-java-in-android-development VS Java in android development I know C# rather well and just love Visual Studio as IDE. Yet now I want to start developing for android... I found out about MonoDroid and wanted to ask if it has any downsides to it..
Understanding Samsung Galaxy Tab screen density http://stackoverflow.com/questions/7049659/understanding-samsung-galaxy-tab-screen-density that ™s also what Samsung found when they made the Galaxy Tab. The Galaxy Tab has a 7 1024 600 screen with 170 dpi. Yet the Tab does not report its density as œmdpi but as œhdpi so the layout looks exactly as in the second screenshot. If they..
MEDIA_MOUNTED broadcast not being received http://stackoverflow.com/questions/7142987/media-mounted-broadcast-not-being-received snarky and or funny logging comment... Log.d ######### ############################################################## Yet the ^ 'ing thing won't cause Test.onReceive to fire. Any thoughts android android manifest android intent share improve..
Japanese TTS on Android http://stackoverflow.com/questions/7365792/japanese-tts-on-android engine that ships with the Android platform supports a number of languages English French German Italian and Spanish. Yet I see an app that does Japanese TTS and the APK is around 1 MB not nearly enough for a standalone TTS library. So the question..
|