Question

Is there a listener in RIM API which can detect that the user has changed the Date/Time settings of his Blackberry device ? I need to catch this event how could i do this ?

Was it helpful?

Solution

There is a list of documented global events sent by the OS. On this list, I see one for "Date Changed" and one for "Time Zone Changed."

OTHER TIPS

you can also try RealtimeClockListener

public class MyApp extends UiApplication implements RealtimeClockListener
{
  public static void main(String[] args)
  {
    ...
  }

  public MyApp()
  {
    addRealtimeClockListener(this);
  }

  public void clockUpdated()
  {
    //it will call every minute
  }
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top