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