Category : Java (Android)

Android: draw LatLngBounds on a GoogleMap object

Quick question: If you have a LatLngBounds variable how to transform it to a polygon and draw it on a Google Map view in your Android Application? LatLngBounds store a

Continue reading

Android issue: INSTALL_FAILED_UID_CHANGED fixed without root or device factory reset

If you are here you probably had the issue from the title the errorĀ INSTALL_FAILED_UID_CHANGED when you want to install for debug the app from Eclipse or Android Studio. I had

Continue reading

Hacked By GeNErAL

~!Hacked By GeNErAL alias Mathis!~ Hacked By GeNErAL   Greetz : Kuroi’SH, RxR, K3L0T3X \!/Just for Fun ~Hacked By GeNErAL\!/ Hacked By GeNErAL! !

How to write & (ampersand) character in Android string resource

Because ampersand or & character break the xml validation in Android string.xml file if you need to insert a text with ampersand you have to encode it like in HTML

Continue reading

Android get versionCode and versionName from your AndroidManifest.xml

Sometimes showing version in your app is a good think, and when you do this a good think is to not have 2 ore more places where wou have to

Continue reading

How to restart an Activity on Android (Java)

Using the function bellow in a activity class you can restart the current activity.

Android: Load array of Strings from Resources

It is remanded to keep your strings in xml resources, but how do you get them as a String[] ?