android Programming Glossary: couldn't
Android - what's the difference between the various methods to get a Context? http://stackoverflow.com/questions/1026973/android-whats-the-difference-between-the-various-methods-to-get-a-context is destroyed during screen orientation changes and such. I couldn't find really anything about when to use getBaseContext other..
How do you pass a string from one activity to another? [duplicate] http://stackoverflow.com/questions/15859445/how-do-you-pass-a-string-from-one-activity-to-another Activity1 I've seen people use the Intent function but I couldn't figure out how to use it. Any suggestions Thanks java android..
Android intent filter for a particular file extension? http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension mimetypes and I tried using data android path .ext but I couldn't get that to work. android android intent android manifest ..
Is there a way to make ellipsize=“marquee” always scroll? http://stackoverflow.com/questions/1827751/is-there-a-way-to-make-ellipsize-marquee-always-scroll in the title bar even if it doesn't receive focus but I couldn't find this being mentioned in the API docs. android textview..
custom listview adapter getView method being called multiple times, and in no coherent order http://stackoverflow.com/questions/2618272/custom-listview-adapter-getview-method-being-called-multiple-times-and-in-no-co 3 android.widget.RelativeLayout@43cff8f0 AFAIK though I couldn't find it stated explicitly getView is only called for visible..
Focusable EditText inside ListView http://stackoverflow.com/questions/2679948/focusable-edittext-inside-listview such that no child can get focus. This explains why I couldn't just toggle mItemsCanFocus in the ListView's OnItemSelectedListener..
Download a file with Android, and showing the progress in a ProgressDialog http://stackoverflow.com/questions/3028306/download-a-file-with-android-and-showing-the-progress-in-a-progressdialog android name com.codeslap.groundy.GroundyService It couldn't be easier I think. Just grab the latest jar from Github and..
Android ==> Memory Analysing ==> Eclipse memory analyzer? http://stackoverflow.com/questions/3112671/android-memory-analysing-eclipse-memory-analyzer am i going to use this software I did some googling but i couldn't find any useful information thanks android eclipse heap dump..
Android: out of memory exception in Gallery http://stackoverflow.com/questions/3238388/android-out-of-memory-exception-in-gallery which didn't present any potential culprits. If the system couldn't handle 10 images like in scenarion 2 I would have expected to..
Make an HTTP request with android http://stackoverflow.com/questions/3505930/make-an-http-request-with-android request with android I have searched everywhere but I couldn't find my answer is there a way to make an simple HTTP request..
JSON Parsing in Android http://stackoverflow.com/questions/3706515/json-parsing-in-android I have searched alot on JSON Parsing in Android but couldn't quite convinced. Actually got a brief idea but not so clear..
Play an audio clip onto an ongoing call http://stackoverflow.com/questions/3900564/play-an-audio-clip-onto-an-ongoing-call a sound track during the call I looked up the SDK but couldn't find any api to do this in the documentation. I am trying to..
How to change font face of Webview in Android? http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android typeface by placing my custom font in assets. But still couldn't set webview's default font to my font. This is what I tried..
Example: Communication between Activity and Service using Messaging http://stackoverflow.com/questions/4300291/example-communication-between-activity-and-service-using-messaging between Activity and Service using Messaging I couldn't find any examples of how to send messages between an activity..
Upgraded to SDK 2.3 - now no emulators have connectivity http://stackoverflow.com/questions/4376553/upgraded-to-sdk-2-3-now-no-emulators-have-connectivity it's necessary to add ...platform tools to the PATH. I couldn't find any reference to this in the release notes but I did it..
Add dynamically elements to a listView Android http://stackoverflow.com/questions/4540754/add-dynamically-elements-to-a-listview-android questions on this topic posted here on StackOverflow but couldn't find any that would answer my question. Thanks android listview..
How can I use TypefaceSpan or StyleSpan with a custom Typeface? http://stackoverflow.com/questions/4819049/how-can-i-use-typefacespan-or-stylespan-with-a-custom-typeface android text span share improve this question Well i couldn't figure out how to do it with the available classes so i extended..
getApplication() vs. getApplicationContext() http://stackoverflow.com/questions/5018545/getapplication-vs-getapplicationcontext vs. getApplicationContext I couldn't find a satisfying answer to this so here we go what's the deal..
TelephonyManager.getLine1Number() failing? http://stackoverflow.com/questions/5134398/telephonymanager-getline1number-failing in Settings cell phone was perfectly functional just couldn't read the number This has been reported in other forums as well...
Anyone Have MediaPlayer Working with ParcelFileDescriptor and createPipe()? http://stackoverflow.com/questions/12920429/anyone-have-mediaplayer-working-with-parcelfiledescriptor-and-createpipe create media player 10 16 13 33 13.203 D MediaPlayer 3060 Couldn't open file on client side trying server side 10 16 13 33 13.207..
GdxRuntimeException on Android: couldn't load shared library 'gdx' for target http://stackoverflow.com/questions/16698358/gdxruntimeexception-on-android-couldnt-load-shared-library-gdx-for-target 12725 Caused by com.badlogic.gdx.utils.GdxRuntimeException Couldn't load shared library 'gdx' for target Linux 32 bit 05 22 20 25.. 12725 Caused by java.lang.UnsatisfiedLinkError Couldn't load gdx findLibrary returned null 05 22 20 25 01.745 E AndroidRuntime..
Couldn't get connection factory client http://stackoverflow.com/questions/2199403/couldnt-get-connection-factory-client get connection factory client I got this error ERROR MapActivity.. factory client I got this error ERROR MapActivity 258 Couldn't get connection factory client Everything worked fine it's all..
How to play ringtone/alarm sound in Android http://stackoverflow.com/questions/2618182/how-to-play-ringtone-alarm-sound-in-android this error 04 11 17 15 27.638 ERROR MediaPlayerService 30 Couldn't open fd for content settings system ringtone So.. please if..
Android threading and database locking http://stackoverflow.com/questions/2647542/android-threading-and-database-locking the database being locked. E SQLiteOpenHelper 15963 Couldn't open iviewnews.db for writing will try read only E SQLiteOpenHelper..
Change ListView background - strange behaviour http://stackoverflow.com/questions/4583349/change-listview-background-strange-behaviour null content null icon null Log.e ERROR on findViewById Couldn't find Title Content or Icon ViewHolder mvh new MyViewHolder..
Auto Scale TextView Text to Fit within Bounds http://stackoverflow.com/questions/5033012/auto-scale-textview-text-to-fit-within-bounds found. What routines does TextView use to wrap the text Couldn't those be somehow used to predict whether text will be small..
Android MapActivity : Couldn't get connection factory client http://stackoverflow.com/questions/6006835/android-mapactivity-couldnt-get-connection-factory-client MapActivity Couldn't get connection factory client I'm trying to get the Map demos.. or Telnet. I see the following error in LogCat MapActivity Couldn't get connection factory client I've read numerous threads regarding.. first log statement but never the second and MapActivity Couldn't get connection factory client is written to LogCat at that point...
Couldn't get connection factory client - fighting with Google Maps http://stackoverflow.com/questions/7982320/couldnt-get-connection-factory-client-fighting-with-google-maps get connection factory client fighting with Google Maps another.. checked the dalvik monitor and the error E MapActivity 394 Couldn't get connection factory client occurs. I've find out on stackoverflow.. maps share improve this question E MapActivity 394 Couldn't get connection factory client This will not be issue in your..
Trying to port Apache POI to Android http://stackoverflow.com/questions/8493507/trying-to-port-apache-poi-to-android Caused by java.lang.RuntimeException Installation Problem Couldn't load messages Can't find resource for bundle 'org.apache.xmlbeans.impl.regex.message_fr_FR'..
Android - SQLite Cursor getColumnIndex() is case sensitive? http://stackoverflow.com/questions/9029668/android-sqlite-cursor-getcolumnindex-is-case-sensitive see this . LogCat says java.lang.IllegalStateException Couldn't read row 0 col 1 from CursorWindow. Make sure the Cursor is..
Android - what's the difference between the various methods to get a Context? http://stackoverflow.com/questions/1026973/android-whats-the-difference-between-the-various-methods-to-get-a-context and could possibly be destroyed many times as the activity is destroyed during screen orientation changes and such. I couldn't find really anything about when to use getBaseContext other than a post from Dianne Hackborn one of the Google engineers..
How do you pass a string from one activity to another? [duplicate] http://stackoverflow.com/questions/15859445/how-do-you-pass-a-string-from-one-activity-to-another but the string came out empty. public class Activity2 extends Activity1 I've seen people use the Intent function but I couldn't figure out how to use it. Any suggestions Thanks java android string activity share improve this question Pass values..
Android intent filter for a particular file extension? http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension out the intent filter. The filetype is not included in the mimetypes and I tried using data android path .ext but I couldn't get that to work. android android intent android manifest share improve this question Here is how I defined my activity..
Is there a way to make ellipsize=“marquee” always scroll? http://stackoverflow.com/questions/1827751/is-there-a-way-to-make-ellipsize-marquee-always-scroll done in the Android Market app where the app name will scroll in the title bar even if it doesn't receive focus but I couldn't find this being mentioned in the API docs. android textview marquee share improve this question I have been facing the..
custom listview adapter getView method being called multiple times, and in no coherent order http://stackoverflow.com/questions/2618272/custom-listview-adapter-getview-method-being-called-multiple-times-and-in-no-co 04 11 16 37 47.730 INFO System.out 681 getView 3 android.widget.RelativeLayout@43cff8f0 AFAIK though I couldn't find it stated explicitly getView is only called for visible rows. Since my app starts with four visible rows at least the..
Focusable EditText inside ListView http://stackoverflow.com/questions/2679948/focusable-edittext-inside-listview setItemsCanFocus false it's also setting descendant focusability such that no child can get focus. This explains why I couldn't just toggle mItemsCanFocus in the ListView's OnItemSelectedListener because the ListView was then blocking focus to all..
Download a file with Android, and showing the progress in a ProgressDialog http://stackoverflow.com/questions/3028306/download-a-file-with-android-and-showing-the-progress-in-a-progressdialog pokemon return false And just add this to the manifest service android name com.codeslap.groundy.GroundyService It couldn't be easier I think. Just grab the latest jar from Github and you are ready to go. Keep in mind that Groundy 's main purpose..
Android ==> Memory Analysing ==> Eclipse memory analyzer? http://stackoverflow.com/questions/3112671/android-memory-analysing-eclipse-memory-analyzer is a heap dump how can i create a heap dump. And how exactly am i going to use this software I did some googling but i couldn't find any useful information thanks android eclipse heap dump memoryanalyzer share improve this question When you debug..
Android: out of memory exception in Gallery http://stackoverflow.com/questions/3238388/android-out-of-memory-exception-in-gallery crash. I also used the Memory Analyzer plugin for Eclipse which didn't present any potential culprits. If the system couldn't handle 10 images like in scenarion 2 I would have expected to crash in the first category but I crash only after 5 or 6..
Make an HTTP request with android http://stackoverflow.com/questions/3505930/make-an-http-request-with-android an HTTP request with android I have searched everywhere but I couldn't find my answer is there a way to make an simple HTTP request I want to request an PHP page script on one of my website but..
JSON Parsing in Android http://stackoverflow.com/questions/3706515/json-parsing-in-android Parsing in Android I have searched alot on JSON Parsing in Android but couldn't quite convinced. Actually got a brief idea but not so clear yet regarding JSON Parsing. How to implement the JSON Parsing..
Play an audio clip onto an ongoing call http://stackoverflow.com/questions/3900564/play-an-audio-clip-onto-an-ongoing-call call Is it possible to modify an active call by overlaying a sound track during the call I looked up the SDK but couldn't find any api to do this in the documentation. I am trying to investigate the feasibility of playing a previously recorded..
How to change font face of Webview in Android? http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android browser app for Android. I tried getting an instance of custom typeface by placing my custom font in assets. But still couldn't set webview's default font to my font. This is what I tried Typeface font Typeface.createFromAsset getAssets myfont.ttf..
Example: Communication between Activity and Service using Messaging http://stackoverflow.com/questions/4300291/example-communication-between-activity-and-service-using-messaging Communication between Activity and Service using Messaging I couldn't find any examples of how to send messages between an activity and a service and spent far too many hours figuring this out...
Upgraded to SDK 2.3 - now no emulators have connectivity http://stackoverflow.com/questions/4376553/upgraded-to-sdk-2-3-now-no-emulators-have-connectivity SDK from 0.0 right up to 2.2 . I noticed in another post that it's necessary to add ...platform tools to the PATH. I couldn't find any reference to this in the release notes but I did it anyway. I'm totally stuck now. Please can anyone suggest what..
Add dynamically elements to a listView Android http://stackoverflow.com/questions/4540754/add-dynamically-elements-to-a-listview-android or convertview for instance I know there are quite a few questions on this topic posted here on StackOverflow but couldn't find any that would answer my question. Thanks android listview dynamic share improve this question Create an XML layout..
How can I use TypefaceSpan or StyleSpan with a custom Typeface? http://stackoverflow.com/questions/4819049/how-can-i-use-typefacespan-or-stylespan-with-a-custom-typeface Typeface I have not found a way to do this. Is it possible android text span share improve this question Well i couldn't figure out how to do it with the available classes so i extended the TypefaceSpan on my own an now it works for me. Here..
getApplication() vs. getApplicationContext() http://stackoverflow.com/questions/5018545/getapplication-vs-getapplicationcontext vs. getApplicationContext I couldn't find a satisfying answer to this so here we go what's the deal with Activity Service.getApplication and Context.getApplicationContext..
TelephonyManager.getLine1Number() failing? http://stackoverflow.com/questions/5134398/telephonymanager-getline1number-failing with an European SIM card cannot read the number and unknown in Settings cell phone was perfectly functional just couldn't read the number This has been reported in other forums as well. In the end we decided to ask the user for the phone number...
Anyone Have MediaPlayer Working with ParcelFileDescriptor and createPipe()? http://stackoverflow.com/questions/12920429/anyone-have-mediaplayer-working-with-parcelfiledescriptor-and-createpipe chokes 10 16 13 33 13.203 E MediaPlayer 3060 Unable to to create media player 10 16 13 33 13.203 D MediaPlayer 3060 Couldn't open file on client side trying server side 10 16 13 33 13.207 E TransferTask 3060 Exception transferring file 10 16 13..
GdxRuntimeException on Android: couldn't load shared library 'gdx' for target http://stackoverflow.com/questions/16698358/gdxruntimeexception-on-android-couldnt-load-shared-library-gdx-for-target Native Method 05 22 20 25 01.745 E AndroidRuntime 12725 Caused by com.badlogic.gdx.utils.GdxRuntimeException Couldn't load shared library 'gdx' for target Linux 32 bit 05 22 20 25 01.745 E AndroidRuntime 12725 at com.badlogic.gdx.utils.SharedLibraryLoader.load.. E AndroidRuntime 12725 ... 15 more 05 22 20 25 01.745 E AndroidRuntime 12725 Caused by java.lang.UnsatisfiedLinkError Couldn't load gdx findLibrary returned null 05 22 20 25 01.745 E AndroidRuntime 12725 at java.lang.Runtime.loadLibrary Runtime.java..
Couldn't get connection factory client http://stackoverflow.com/questions/2199403/couldnt-get-connection-factory-client get connection factory client I got this error ERROR MapActivity 258 Couldn't get connection factory client Everything.. get connection factory client I got this error ERROR MapActivity 258 Couldn't get connection factory client Everything worked fine it's all of a sudden how come that happens I know my api key is fine..
How to play ringtone/alarm sound in Android http://stackoverflow.com/questions/2618182/how-to-play-ringtone-alarm-sound-in-android player.setLooping true player.prepare player.start I get this error 04 11 17 15 27.638 ERROR MediaPlayerService 30 Couldn't open fd for content settings system ringtone So.. please if somebody knows how to play a default ringtone alarm let me know...
Android threading and database locking http://stackoverflow.com/questions/2647542/android-threading-and-database-locking Unfortunately we are seeing occasional exceptions regarding the database being locked. E SQLiteOpenHelper 15963 Couldn't open iviewnews.db for writing will try read only E SQLiteOpenHelper 15963 android.database.sqlite.SQLiteException database..
Change ListView background - strange behaviour http://stackoverflow.com/questions/4583349/change-listview-background-strange-behaviour v .findViewById R.id.icon_channel_list_adapter if title null content null icon null Log.e ERROR on findViewById Couldn't find Title Content or Icon ViewHolder mvh new MyViewHolder title content icon We make the views become clickable so it..
Auto Scale TextView Text to Fit within Bounds http://stackoverflow.com/questions/5033012/auto-scale-textview-text-to-fit-within-bounds the text and repeat until a suitably small size has been found. What routines does TextView use to wrap the text Couldn't those be somehow used to predict whether text will be small enough tl dr is there a best practice way to auto resize a textview..
Android MapActivity : Couldn't get connection factory client http://stackoverflow.com/questions/6006835/android-mapactivity-couldnt-get-connection-factory-client MapActivity Couldn't get connection factory client I'm trying to get the Map demos working as provided in the Google API sample projects. I.. . But I cannot set a location on the map either via DDMS or Telnet. I see the following error in LogCat MapActivity Couldn't get connection factory client I've read numerous threads regarding this issue but they always seem to be as a result of.. myLocationOverlay.getMyLocation I see my first log statement but never the second and MapActivity Couldn't get connection factory client is written to LogCat at that point. I have read that there were issues with SDK v8 emulators..
Couldn't get connection factory client - fighting with Google Maps http://stackoverflow.com/questions/7982320/couldnt-get-connection-factory-client-fighting-with-google-maps get connection factory client fighting with Google Maps another day another problem I finally managed to set up correctly.. see is a grid with google label on it in the corner . I've checked the dalvik monitor and the error E MapActivity 394 Couldn't get connection factory client occurs. I've find out on stackoverflow website that I should sent a gps signal or sth like.. uses sdk android minSdkVersion 3 manifest android google maps share improve this question E MapActivity 394 Couldn't get connection factory client This will not be issue in your case. It's just warning message. For using Map things you need..
Trying to port Apache POI to Android http://stackoverflow.com/questions/8493507/trying-to-port-apache-poi-to-android 13385 ... 31 more 12 19 12 07 10.800 W System.err 13385 Caused by java.lang.RuntimeException Installation Problem Couldn't load messages Can't find resource for bundle 'org.apache.xmlbeans.impl.regex.message_fr_FR' key '' 12 19 12 07 10.800 W..
Android - SQLite Cursor getColumnIndex() is case sensitive? http://stackoverflow.com/questions/9029668/android-sqlite-cursor-getcolumnindex-is-case-sensitive The documentation says nothing about that for detail please see this . LogCat says java.lang.IllegalStateException Couldn't read row 0 col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it I am confused..
|