Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2011

    Cool problem in the mobile device's time

    Hi, I have developed a program which has a Canvas page and the page has 7 days of a week and each day has a radioButton near it, and if user clicks on one of the radioButtons the user can do some thing in the app for that day, I want that after the mid night, the app should understand automatically the time and the app should change the marked radioButton into the next day! I appreciate if anyone could answer my question.

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007

    Re: problem in the mobile device's time

    Hello elenora,

    could you elaborate more about this use case please?:

    -Based on the description, I reckon that if you select a specific event for a specific day on a specific time, then that means that that selection is for that specific selection only, correct?

    -For the use case, have you considered using the classes of java.util.TimeZone, java.util.Calendar and java.util.Date with their related methods for the purpose? Those can be used for acquiring the time on the devices with Java ME support (i.e. as configured via the settings of the device to display the time) and setting the calendar date and time.

    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. Replies: 0
    Last Post: 2010-08-08, 14:02
  2. time synchronization between mobile and web
    By burinutit in forum Mobile Java General
    Replies: 2
    Last Post: 2010-03-16, 08:17
  3. Having problem to retrive Local device's address..
    By liewjls in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-08-02, 15:07
  4. getting time outside my mobile?
    By cristoforo in forum Mobile Java General
    Replies: 7
    Last Post: 2006-08-29, 23:55
  5. How manage two mobile at a time
    By meele in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2004-02-26, 19: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