Tag Archives: openRawResource

How to read a serialized object from a file in the raw folder in android?

By | May 12, 2013

In my previous post I showed how to serialize an object and save it in sdcard in a file and retrieve it. Pull out the file from the sdcard and then create a folder named “raw” inside the “res” folder and copy it. This example shows how to retreive it when it is in theā€¦ Read More »

How to set wallpaper in ANDROID?

By | September 20, 2012

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.