Samsung has added the Grand, a new midrange smartphone, to its Android-running Galaxy lineup. At a glance, it strongly resembles the Galaxy S III, though Grand features a larger, though lower-resolution display—a 5-inch WVGA TFT LCD compared with the 4.8-inch HD Super AMOLED on the Galaxy S III—and will be available in a dual Subscriber… Read More »
This simple code checks whether GPS in enabled in your android device or not. If the GPS is not enabled the user is redirected to the settings page. Turn off the GPS on your device and running it will display this screen. Please test GPS on the device because emulators don’t have GPS. But anyway… Read More »
This example will test whether a service is running in android if you know it’s package name. Run this sample of code to check this.
Hello everyone, Today I will give you a simple tip on how to keep your screen on While your application is running in android. In Real devices the problem is you will loose some of the values in your variable when your device goes to sleep mode. To prevent this what we can do is… Read More »
Opening a webpage in Titanium is really simple. Look at the following sample. If you are running in iPhone then it will open safari and if it is ANDROID, it will open the default browser with the supplied URL String. Happy coding…….. Please leave your valuable comments.
Hi, If you are a game developer then you will always need a sequence of images to be animated & the best way to do it is via sprite sheet animations. But how can a sprite sheet be made? Suppose you have a sequence of images of any animations, how will you convert it into… Read More »
Following example shows how to set a Bitmap as wallpaper in ANDROID. After running this code your wallpaper on the ANDROID phone will change. Make sure that you have an image named ‘my_wallpaper’ in your drawable folder. And You have to set this permission in the Manifest.