×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    37

    Thumbs down how to get battery properties using j2me

    i want get battery properties such as current battery level, voltage, battery temperature, battery health, charging status, battery type in j2me.

    how to know which particular device application is using % battery?
    Mayur Dharukiya
    WWW.MAYURDHARUKIYA.COM
    J2ME Team Lead at eTechnolabs.com
    Symbian S60 Ambassador
    Nokia Pilot

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: how to get battery properties using j2me

    There is no standard way to achieve this and, on many devices, no way at all.

    Series 60 3rd Edition FP2 and later supports:

    Code:
    String batterPercentage = System.getProperty("com.nokia.mid.batterylevel");
    No other information is available.

    Graham.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    33

    Re: how to get battery properties using j2me

    There are some APIs and notification using symbian C++ apis.Perhaps you can write a c++ component providing this information to the midlet by means of some sort of inter process communication.

    -Pradeep

Similar Threads

  1. j2me system properties
    By jaazz in forum Mobile Java General
    Replies: 6
    Last Post: 2012-02-14, 07:43
  2. Acessing voice channel using J2ME
    By diegomello in forum VoIP
    Replies: 1
    Last Post: 2008-10-21, 15:57
  3. System Properties Over J2ME
    By ypele in forum Mobile Java General
    Replies: 2
    Last Post: 2008-10-07, 16:16
  4. Porting BlackBerry: Carbide & J2ME Comparison.
    By skynetchris in forum Symbian
    Replies: 0
    Last Post: 2008-05-22, 07:09
  5. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×