Android – Get free space on device

Use this to test if there is enough space on your device.

Read More

Android – Copy message to clipboard

Do you want to copy some string to clipboard? Use this.

Read More

Transport Urban – Android Application

This is the new and improved version of Best Route. Plan your routes in seconds, share them with your friends or save them for later viewing.

Read More

Best Route – Android Application

This application is aimed at providing the users of the Romanian municipal transportation systems with a tool that can identify the best route between two given points. As for now, only Bucharest subway system is implemented and more are to be added later on.

Read More

Android – Accelerometer Basic Usage

Do you want to access the accelerometer (or some other sensor) in your device and use its data in your application? Here is a way of doing that. Let’s see the basic form of an application that monitors changes to the accelerometer sensor

Read More

Android – Handling Screen Orientation

Do you want your application to run only in Portrait mode, or maybe in Landscape only? Or maybe you want to force a change of orientation during execution despite of the real orientation of the device? Or maybe you want the orientation not to change when the mini-keyboard is opened? Here’s what you can do

Read More

Android – Using Intents to Open Files

Do you want to open from your code some mp3 or image file with the default media player/image viewing application? Use this

Read More

Android – Request User Decision when Back Button is Pressed

Did you want to display a Dialog to the user asking him “Do you really want to quit?” when he presses the back button thus ending your current Activity? Here’s how to do it

Read More

Android – Screen Touch Handling – MotionEvent Attributes

Do you need info about user touch on the screen? It is quite simple, in your Activity class you must override the method public boolean onTouchEvent(MotionEvent event) and manage there the Event. You are probably interested in MotionEvent.ACTION_DOWN, MotionEvent.ACTION_UP or MotionEvent.ACTION_MOVE.

Read More

Android – Screen Size, Orientation and Pixel Density

Do you need the width, height or orientation of the screen in your Android application? Try this

Read More