The below code runs smoothly in the emulator from Eclipse, but there are problems when I run it on my Android phone and tablet.
public class RingerActivity e
Did you try cleaning the project ?? Newly added resources show up in the package explorer only after cleaning the project.