×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    38

    Question How to get timezone from the mobile

    Hi all,

    Could someone please tell me how can I get the timezone information of the N95 nokia mobile to use in my MIDlet?
    Thank you for your advice.

    Best regards.

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

    Re: How to get timezone from the mobile

    In theory:

    Code:
    TimeZone tz = TimeZone.getDefault();
    If you're in India, this might fail on some devices, as some don't correctly handle half-hour time zones. You might get GMT+05:00 instead of GMT+05:30.

    Graham.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    38

    Re: How to get timezone from the mobile

    Thank you again, Graham.

Similar Threads

  1. [moved] Mobile Porting Solutions
    By ninnythomas in forum News and Announcements
    Replies: 3
    Last Post: 2008-11-03, 10:10
  2. please helpme?.. this is the problem when mobile stolen..
    By ganngadhar in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2007-09-21, 07:55
  3. Replies: 0
    Last Post: 2007-09-14, 12:07

Posting Permissions

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