android Programming Glossary: ideas
SimpleCursorTreeAdapter and CursorLoader for ExpandableListView http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader-for-expandablelistview contain all contacts within a group. Does anyone have any ideas what could be the issue UPDATE Thanks to @Yam's advice I have..
Draw text in OpenGL ES (Android) http://stackoverflow.com/questions/1339136/draw-text-in-opengl-es-android might want to port the game to other platforms later. Any ideas Regards Per android opengl es share improve this question..
Android: ProgressDialog.show() crashes with getApplicationContext http://stackoverflow.com/questions/1561803/android-progressdialog-show-crashes-with-getapplicationcontext 2364 E AndroidRuntime 2049 ... 11 more Any ideas why this is happening I'm calling this from the onCreate method...
BitmapFactory OOM driving me nuts http://stackoverflow.com/questions/1955410/bitmapfactory-oom-driving-me-nuts is to somehow avoid using BitmapFactory . Anyone have any ideas on this or an explanation as to why VM won't allocate 614KB..
Accepting a certificate for HTTPs on Android http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android like to use the same certificatestore as the browser. Any ideas android ssl https httpclient share improve this question..
Changing background color of ListView items on Android http://stackoverflow.com/questions/2217753/changing-background-color-of-listview-items-on-android to true but then the selector overlays the whole item. Any ideas how to change those background colors and keep the selector..
Playing an arbitrary tone with Android http://stackoverflow.com/questions/2413426/playing-an-arbitrary-tone-with-android only be capable of outputting the standard DTMF tones. Any ideas android audio share improve this question I originally found..
How to pick an image from gallery (SD Card) for my app in Android? http://stackoverflow.com/questions/2507898/how-to-pick-an-image-from-gallery-sd-card-for-my-app-in-android image would appear in my ImageView. How to do that Any ideas android android image android gallery share improve this..
How to adjust text font size to fit textview http://stackoverflow.com/questions/2617266/how-to-adjust-text-font-size-to-fit-textview see that it lowers the font size of the content. Any ideas I have tried measureText but since I don't know the size of..
Change the background color of the options menu http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu hack from other answers on this page also incorporating ideas from these very closely related questions Change background..
Maintain/Save/Restore scroll position when returning to a ListView http://stackoverflow.com/questions/3014089/maintain-save-restore-scroll-position-when-returning-to-a-listview be scrolled to the same point that it was previously. Any ideas on how to achieve this android android listview scrolling scroll..
How to develop a soft keyboard for Android? http://stackoverflow.com/questions/3480715/how-to-develop-a-soft-keyboard-for-android for Android I would like to play around with some ideas and develop a soft keyboard for Android to replace the default..
Understanding the Use of ColorMatrix and ColorMatrixColorFilter to Modify a Drawable's Hue http://stackoverflow.com/questions/4354939/understanding-the-use-of-colormatrix-and-colormatrixcolorfilter-to-modify-a-draw I need to know is how I go about designing the matrix. Any ideas EDIT So okay what I've found so far on this is as follows 1..
How to parse XML using the SAX parser http://stackoverflow.com/questions/4827344/how-to-parse-xml-using-the-sax-parser instead of a single string with the last element. Any ideas how to do this java android xml parsing sax share improve..
Difference between “@id/” and “@+id/” in Android http://stackoverflow.com/questions/5025910/difference-between-id-and-id-in-android @android id the same I would really appreciate any of your ideas with an elaborate example. android share improve this question..
How to get IP address of the device? http://stackoverflow.com/questions/6064510/how-to-get-ip-address-of-the-device Exception ex for now eat exceptions return disclaimer ideas and example code to this utils class came from several SO posts..
Google map signed api key errors in Android http://stackoverflow.com/questions/7296467/google-map-signed-api-key-errors-in-android in place. I've recreated the singed key and no luck. Any ideas android google maps key signed share improve this question..
“R cannot be resolved to a variable”? http://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable but still the R file doesn't appear in the gen folder. Any ideas android share improve this question Dont worry. First you..
Android saving file to external storage http://stackoverflow.com/questions/7887078/android-saving-file-to-external-storage an another directory it's throwing the exception. So any ideas what I'm doing wrong And another question Is there any way to..
Admob Error in Eclipse for android:configChanges http://stackoverflow.com/questions/7899767/admob-error-in-eclipse-for-androidconfigchanges I try and build. I'm using GoogleAdMobAdsSDK 4.3.1 . Any ideas EDIT I got it working by changing my project.properties default.properties..
Android > 4.0 : Ideas how to record/capture internal audio (e.g. STREAM_MUSIC)? http://stackoverflow.com/questions/14055272/android-4-0-ideas-how-to-record-capture-internal-audio-e-g-stream-music 4.0 Ideas how to record capture internal audio e.g. STREAM_MUSIC Some..
Android Stretch columns evenly in a TableLayout http://stackoverflow.com/questions/1666685/android-stretch-columns-evenly-in-a-tablelayout couldn't manage to figure out the right combination Any Ideas android share improve this question I had the same problem..
Trouble getting Android emulator to run in eclipse http://stackoverflow.com/questions/2473553/trouble-getting-android-emulator-to-run-in-eclipse running the latest version of the SDK on Win7 32 bit. Any Ideas Update Hi Everyone. Thanks so much for all your attention and..
How to update SimpleAdapter in Android http://stackoverflow.com/questions/3313347/how-to-update-simpleadapter-in-android this new data but I can't figure out how to do it. Any Ideas I don't want to use an ArrayAdapter cause as far as I can see..
JSON Array iteration in Android/Java http://stackoverflow.com/questions/3408985/json-array-iteration-in-android-java to turn the returned Json into and iterable array. Any Ideas how I could achieve this I apologise for my vaguness but I had..
LocationManager requestLocationUpdates and timertask in android http://stackoverflow.com/questions/3589963/locationmanager-requestlocationupdates-and-timertask-in-android interval and I never get notified about my location. any Ideas thanks in advanced maxsap. android share improve this question..
Problem with crash with ItemizedOverlay http://stackoverflow.com/questions/3755921/problem-with-crash-with-itemizedoverlay why It says its no source code available when in debug Any Ideas EDIT This is what I can find in the logcat 09 20 22 36 22.164..
Android WebView - 1st LoadData() works fine, subsequent calls do not update display http://stackoverflow.com/questions/4096783/android-webview-1st-loaddata-works-fine-subsequent-calls-do-not-update-disp my LoadData statement doesn't seem to be the problem. Any Ideas would be helpful TIA android loaddata share improve this..
ListView whose id attribute is 'android.R.id.list' Error when I have the ListView id set correctly http://stackoverflow.com/questions/5495603/listview-whose-id-attribute-is-android-r-id-list-error-when-i-have-the-listvie m_menu setListAdapter this.m_adapter Any Ideas android listview android resources share improve this question..
How To Get Location Using AsyncTask http://stackoverflow.com/questions/5676653/how-to-get-location-using-asynctask requestsLocationUpdates. Here is the logCat. Any Ideas 04 15 14 57 56.742 ERROR AndroidRuntime 18328 Uncaught handler..
System services not available to Activities before onCreate? http://stackoverflow.com/questions/5905587/system-services-not-available-to-activities-before-oncreate so code will be very helpful along with explanations. Any Ideas Thank you. The LogCat FATAL EXCEPTION main ERROR AndroidRuntime..
Android - Package Name convention http://stackoverflow.com/questions/6273892/android-package-name-convention com.adobe.photoshop Adobe Photoshop com.adobe.ideas Adobe Ideas Note that this is just an illustration and these may not be..
Read XML file in android http://stackoverflow.com/questions/7519254/read-xml-file-in-android out how to store and read the file from an android device. Ideas android share improve this question Put the xml file in..
SimpleCursorTreeAdapter and CursorLoader for ExpandableListView http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader-for-expandablelistview want all groups in my phone. The child CursorLoader should contain all contacts within a group. Does anyone have any ideas what could be the issue UPDATE Thanks to @Yam's advice I have now modified the getChildrenCursor method. I am now selecting..
Draw text in OpenGL ES (Android) http://stackoverflow.com/questions/1339136/draw-text-in-opengl-es-android as an overlay but I don't know if I want to do that since I might want to port the game to other platforms later. Any ideas Regards Per android opengl es share improve this question The Android SDK doesn't come with any easy way to draw text..
Android: ProgressDialog.show() crashes with getApplicationContext http://stackoverflow.com/questions/1561803/android-progressdialog-show-crashes-with-getapplicationcontext at android.app.ActivityThread.performLaunchActivity ActivityThread.java 2364 E AndroidRuntime 2049 ... 11 more Any ideas why this is happening I'm calling this from the onCreate method. android progressdialog share improve this question ..
BitmapFactory OOM driving me nuts http://stackoverflow.com/questions/1955410/bitmapfactory-oom-driving-me-nuts 1.5 . At this point I'm thinking the only way around this is to somehow avoid using BitmapFactory . Anyone have any ideas on this or an explanation as to why VM won't allocate 614KB when there's 1.6MB of free memory android oom share improve..
Accepting a certificate for HTTPs on Android http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android letting the user decide to continue or not. Preferably I'd like to use the same certificatestore as the browser. Any ideas android ssl https httpclient share improve this question The first thing you need to do is to set the level of verification...
Changing background color of ListView items on Android http://stackoverflow.com/questions/2217753/changing-background-color-of-listview-items-on-android the selector visible again by setting drawSelectorOnTop to true but then the selector overlays the whole item. Any ideas how to change those background colors and keep the selector PS I would rather not change the selector itself. EDIT Authors..
Playing an arbitrary tone with Android http://stackoverflow.com/questions/2413426/playing-an-arbitrary-tone-with-android I was able to find that was even close but it seems to only be capable of outputting the standard DTMF tones. Any ideas android audio share improve this question I originally found this example code on a blog but it had some bugs in it..
How to pick an image from gallery (SD Card) for my app in Android? http://stackoverflow.com/questions/2507898/how-to-pick-an-image-from-gallery-sd-card-for-my-app-in-android to gallery and I would be able to select an image. The selected image would appear in my ImageView. How to do that Any ideas android android image android gallery share improve this question The other answers explained how to send the intent..
How to adjust text font size to fit textview http://stackoverflow.com/questions/2617266/how-to-adjust-text-font-size-to-fit-textview row. Since I don't want the textviews to wrap the text I rather see that it lowers the font size of the content. Any ideas I have tried measureText but since I don't know the size of the column it seems troublesome to use. This is the code where..
Change the background color of the options menu http://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu I include a more refined and well commented version of the hack from other answers on this page also incorporating ideas from these very closely related questions Change background color of android menu Change the background color of the options..
Maintain/Save/Restore scroll position when returning to a ListView http://stackoverflow.com/questions/3014089/maintain-save-restore-scroll-position-when-returning-to-a-listview When the user opens this ListView again I want the list to be scrolled to the same point that it was previously. Any ideas on how to achieve this android android listview scrolling scroll position share improve this question Try this save..
How to develop a soft keyboard for Android? http://stackoverflow.com/questions/3480715/how-to-develop-a-soft-keyboard-for-android to develop a soft keyboard for Android I would like to play around with some ideas and develop a soft keyboard for Android to replace the default one. Is there any general information about soft keyboard..
Understanding the Use of ColorMatrix and ColorMatrixColorFilter to Modify a Drawable's Hue http://stackoverflow.com/questions/4354939/understanding-the-use-of-colormatrix-and-colormatrixcolorfilter-to-modify-a-draw to how the matrix is used. It's a 4x5 matrix but what I need to know is how I go about designing the matrix. Any ideas EDIT So okay what I've found so far on this is as follows 1 0 0 0 0 red 0 1 0 0 0 green 0 0 1 0 0 blue 0 0 0 1 0 alpha Where..
How to parse XML using the SAX parser http://stackoverflow.com/questions/4827344/how-to-parse-xml-using-the-sax-parser but I would like it to return an array with all the strings instead of a single string with the last element. Any ideas how to do this java android xml parsing sax share improve this question So you want to build a XML parser to parse a..
Difference between “@id/” and “@+id/” in Android http://stackoverflow.com/questions/5025910/difference-between-id-and-id-in-android dosen't suggesting me any kind of @android id . Are @id and @android id the same I would really appreciate any of your ideas with an elaborate example. android share improve this question you refer to Android resources which are already defined..
How to get IP address of the device? http://stackoverflow.com/questions/6064510/how-to-get-ip-address-of-the-device return delim 0 sAddr sAddr.substring 0 delim catch Exception ex for now eat exceptions return disclaimer ideas and example code to this utils class came from several SO posts and google. I have cleaned and merged all examples. share..
Google map signed api key errors in Android http://stackoverflow.com/questions/7296467/google-map-signed-api-key-errors-in-android I've double checked everything permissions and library are in place. I've recreated the singed key and no luck. Any ideas android google maps key signed share improve this question I had the same problem and I figured there wasn't any helpful..
“R cannot be resolved to a variable”? http://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable what I found here I had cleared and rebuilt the project but still the R file doesn't appear in the gen folder. Any ideas android share improve this question Dont worry. First you may clean the project then run the project. If this does not..
Android saving file to external storage http://stackoverflow.com/questions/7887078/android-saving-file-to-external-storage it's working but If I try to create and save the file to an another directory it's throwing the exception. So any ideas what I'm doing wrong And another question Is there any way to make my files private in external storage so user can't see..
Admob Error in Eclipse for android:configChanges http://stackoverflow.com/questions/7899767/admob-error-in-eclipse-for-androidconfigchanges no error but compiler asks for the 4 remaining ones when I try and build. I'm using GoogleAdMobAdsSDK 4.3.1 . Any ideas EDIT I got it working by changing my project.properties default.properties on SDK's lower then 14 file to # Project target...
Android > 4.0 : Ideas how to record/capture internal audio (e.g. STREAM_MUSIC)? http://stackoverflow.com/questions/14055272/android-4-0-ideas-how-to-record-capture-internal-audio-e-g-stream-music 4.0 Ideas how to record capture internal audio e.g. STREAM_MUSIC Some months ago with Android ICS 4.0 I developed an android kernel..
Android Stretch columns evenly in a TableLayout http://stackoverflow.com/questions/1666685/android-stretch-columns-evenly-in-a-tablelayout to content. Been playing around with stretchColumns but couldn't manage to figure out the right combination Any Ideas android share improve this question I had the same problem i always only entered one number in android stretchColumns..
Trouble getting Android emulator to run in eclipse http://stackoverflow.com/questions/2473553/trouble-getting-android-emulator-to-run-in-eclipse AVD's config.ini file is malformed. Try re creating it. I'm running the latest version of the SDK on Win7 32 bit. Any Ideas Update Hi Everyone. Thanks so much for all your attention and for trying to help. I think I found the source of the problem...
How to update SimpleAdapter in Android http://stackoverflow.com/questions/3313347/how-to-update-simpleadapter-in-android new data. I then want to replace the data in the ListView with this new data but I can't figure out how to do it. Any Ideas I don't want to use an ArrayAdapter cause as far as I can see the items can only hold one string where I need it to hold..
JSON Array iteration in Android/Java http://stackoverflow.com/questions/3408985/json-array-iteration-in-android-java row.getString 'password' So I guess I had was somehow able to turn the returned Json into and iterable array. Any Ideas how I could achieve this I apologise for my vaguness but I had this working from an example I found on the web and have..
LocationManager requestLocationUpdates and timertask in android http://stackoverflow.com/questions/3589963/locationmanager-requestlocationupdates-and-timertask-in-android is enabled requestion location updates... interval value is interval and I never get notified about my location. any Ideas thanks in advanced maxsap. android share improve this question Ok took me a while but I have found the solution to..
Problem with crash with ItemizedOverlay http://stackoverflow.com/questions/3755921/problem-with-crash-with-itemizedoverlay i Just get a null reference exeption I have no idea when or why It says its no source code available when in debug Any Ideas EDIT This is what I can find in the logcat 09 20 22 36 22.164 WARN dalvikvm 311 threadid 3 thread exiting with uncaught..
Android WebView - 1st LoadData() works fine, subsequent calls do not update display http://stackoverflow.com/questions/4096783/android-webview-1st-loaddata-works-fine-subsequent-calls-do-not-update-disp extremely simple HTML and since using .reload makes it work my LoadData statement doesn't seem to be the problem. Any Ideas would be helpful TIA android loaddata share improve this question Use webview.loadDataWithBaseURL same ur l tat does..
ListView whose id attribute is 'android.R.id.list' Error when I have the ListView id set correctly http://stackoverflow.com/questions/5495603/listview-whose-id-attribute-is-android-r-id-list-error-when-i-have-the-listvie populateMenu this.m_adapter new ListMenuAdapter this R.layout.list_item m_menu setListAdapter this.m_adapter Any Ideas android listview android resources share improve this question android id @android id list works perfectly My issue..
How To Get Location Using AsyncTask http://stackoverflow.com/questions/5676653/how-to-get-location-using-asynctask I am running. I am getting a runtime error when the locationManager requestsLocationUpdates. Here is the logCat. Any Ideas 04 15 14 57 56.742 ERROR AndroidRuntime 18328 Uncaught handler thread AsyncTask #1 exiting due to uncaught exception 04..
System services not available to Activities before onCreate? http://stackoverflow.com/questions/5905587/system-services-not-available-to-activities-before-oncreate how to fix this error. I am very green to Android and Java so code will be very helpful along with explanations. Any Ideas Thank you. The LogCat FATAL EXCEPTION main ERROR AndroidRuntime 13527 java.lang.RuntimeException Unable to start activity..
Android - Package Name convention http://stackoverflow.com/questions/6273892/android-package-name-convention Adobe would be of the form com.adobe.reader Adobe Reader com.adobe.photoshop Adobe Photoshop com.adobe.ideas Adobe Ideas Note that this is just an illustration and these may not be the exact package names. These could internally be mapped respectively..
Read XML file in android http://stackoverflow.com/questions/7519254/read-xml-file-in-android The code works in a desktop environment but I can't figure out how to store and read the file from an android device. Ideas android share improve this question Put the xml file in the assets folder and fetch it using the AssetManager http..
|