Posts by Catalin Prata

Share image Intent

Snippets, Solutions
Whenever you need to share an image from the external storage you can use the startActivity method and an Intent to do that. Doing so, the user will be able to…

Android Gradle & Manifest merge

Snippets, Solutions
[Deprecated] This post is now deprecated, the Manifest Merger has changed since my first post. You can find more about this on the android developers site. Manifest file & Gradle…

Clear Fragment back stack

Snippets
To clear the Fragments back stack of a FragmentManager, you could iterate through all back stack items and call popBackStack() but there is also a more elegant solution. Please see…

How to get user location

Solutions, Tutorial
Nowadays, knowing the location is very important for applications. Even if you want to develop a simple application that returns the coordinates, or you develop different kind of apps that…

Android State list generator

Tools
Inspired by a post from stackoverflow, I made a simple XML State List generator :), you simply need to fill the inputs with your corresponding drawable names and then press Generate button.…
keyboard_arrow_up