“Bitmap too large to be uploaded into a texture”

I’m loading a bitmap into an ImageView, and seeing this error. I gather this limit relates to a size limit for OpenGL hardware textures (2048×2048). The image I need to load is a pinch-zoom image of about 4,000 pixels high. I’ve tried turning off hardware acceleration in the manifest, but no joy. <application android:hardwareAccelerated=”false” …. […]

Is it a good idea to use Google Guava library for Android development?

I am involved in the development of Android application which is a rather “thick” mobile client for a Web service. It heavily communicates with the server but also has a lot of inner logic too. So, I decided to use some features of Google Guava library to simplify development process. Here is a list of […]

Changing overflow icon in the action bar

Is it possible to change the overflow icon in the action bar? I have blue icons for all ActionBar items and I also want to change the overflow icon when it appears.

How to change current Theme at runtime in Android

This question already has an answer here: Implementing user choice of theme 3 answers

Android: remove notification from notification bar

I have created an application and with an event I manage to add notification in android notification bar. Now I need sample how to remove that notification from notification bar on an event ??

React-Native, Android, Genymotion: ADB server didn't ACK

I am working with React-Native, Android, and Genymotion on Mac. When I run react-native run-android I get this lines at the end of the launch operation: … 04:54:40 E/adb: error: could not install *smartsocket* listener: Address already in use 04:54:40 E/adb: ADB server didn’t ACK 04:54:40 E/ddms: ‘/Users/paulbrie/Library/Android/sdk/platform-tools/adb,start-server’ failed — run manually if necessary 04:54:40 […]

Difference between `initLoader` and `restartLoader` in `LoaderManager`

I’m completely lost regarding the differences between the initLoader and the restartLoader functions of the LoaderManager: They both have the same signature. restartLoader also creates a loader, if it does not exist (“Starts a new or restarts an existing Loader in this manager”). Is there some relation between the two methods? Does calling restartLoader always […]

What is android:ems attribute in Edit Text?

Possible Duplicate: What means Ems? (Android TextView) In EditText there is an attribute named android:ems. The description is “Makes the EditText be exactly this many ems wide” What does ems mean?

Adding a new network bearer to Android

I’d like to add new bearer(s) to Android (rooted/custom build), to be a peer with Wifi and GPRS. I have done some Android development and I am aware that (in Android 2.2) there are constants for WIFI and GPRS. Does this mean that I will need to be adding constants in all over the place, […]

How can I update my ADT in Eclipse?

I have tried to update my Eclipse. Currently I have till 2.2 Android SDK in my Eclipse. Yesterday I have updated my Eclipse like this: Eclipse -> window -> Android SDK Manager -> I have checked two check-boxes from list. Tools -> Android SDK Tools and Android SDK Platform Tools. I have posted here some […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.