I monitor my logcat from outside Android Studio (logcat-color open beside my emulator on another screen/workspace) and would like to stop the Android DDMS view from opening within Android Studio automatically. It takes up screen real estate that I’d prefer to keep for my code. I know that I can remove the view entirely but […]
This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers
What is UID on Android? Is it ID of a particular user or of a particular application?
How can I check if a Bitmap object is completely blank, i.e. all its pixels are transparent, without a x-y loop on every pixel?
Can Android’s addHeaderView() be used to add multiple headers throughout a single ListView? Can someone give an example of how to do this? I was able to accomplish what I wanted by manipulating the IconicAdapter Class… is there any reason why I should not do it this way? I feel this could be modified for […]
How do I get the temperature of the battery in android?
I wish to customize the actionBar of my android application. I am using Actionbar Sherlock. My min target sdk is 14, target sdk 17. I have a theme that changes the background colour and main title text however i cannot change the subtitle text colour my style is shown here <style name=”MyTheme” parent=”@android:style/Theme.Holo.Light”> <item name=”android:actionBarStyle”>@style/MyTheme.ActionBarStyle</item> […]
I am getting [OBJ] displayed on the screen when I try to set a ImageSpan on a text View..it shows a /uFFFC unicode character instead of the image on the screen,i.e. a dotted box with OBJ written inside it.
In Android’s settings, in the “Manage Applications” activity when clicking on an app, the data is broken down into Application, Data, and cache. There is also a button to clear the cache. My app caches audio files and I would like the user to be able to clear the cache using this button. How do […]
I have a LinearLayout that contains three TextViews. I want to highlight a TextView or the whole Layout when user clicks on the TextView. Is they any way to make it happen? Thanks.