Innovator, Entrepreneur, Blogger, Engineer, Craftsman, Cartoonist, Geek, Improv and 3D Printer enthusiast

Gradient backgrounds

Gradient backgrounds

We can create easily backgrounds with XML drawables. In this example, we will crea...

Saving and loading preferences

Saving and loading preferences

Save and load preferences on Android is quite easy. You can save primitive values ...

Update user interface from a thread

Update user interface from a thread

With the class Handler, you can throw a Runnable class (a intended to be executed ...

Left and right swipe (gesture events)

Left and right swipe (gesture events)

Android has some tools to receive touch events, but with this code, we will receiv...

Getting the device wallpaper

Getting the device wallpaper

We can get the background that is currently used by the device and convert it to a...

Getting application version and other package information

Getting application version and other package information

This code gets the version that you used in your ManifestFile.xml and save it in a...

Full screen activity/application

Full screen activity/application

Set your android application on fullscreen view, removing the default Android task...

On text change in EditText view

On text change in EditText view

Create a listener when an EditText changes the text inside. I have added a button ...

Send and receive information from Activities

Send and receive information from Activities

This is an easy example about how to pass information from one Activity to another...