質問

RIM APIにリスナーがあると、ユーザーが自分のBlackBerryデバイスの日付/時刻設定を変更できることを検出できますか?私はこのイベントを捕まえる必要がありますこの方法はどうやってこれを行うことができますか?

役に立ちましたか?

解決

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."

他のヒント

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
  }
}
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top