Hi, I was wondering how to use the BatteryManager's constants when I find this link :
http://twisty.googlecode.com/svn-history/r26/trunk/twisty/src/com/google/twisty/Twisty.java There you can find a method called "monitorBatteryState". In this one I saw those lines : int rawlevel = intent.getIntExtra("level", -1); int scale = intent.getIntExtra("scale", -1); int status = intent.getIntExtra("status", -1); int health = intent.getIntExtra("health", -1); ... I am a newbie on Android so I read Intent and BroadcastReceiver to understand what it is and where I can find a "list" with that data ("level", "status", ...) but I didn't find anything. I think I understand that those values are "modified by the battery" and that my broadcastReceiver gets these changes. Is it correct? Also, could you give me a link where I can found all the values ("level", "status", ...) that I can use? Thanks, D. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

