synchronization with time code
Android
1
Posts
1
Posters
5
Views
1
Watching
-
hi..i have one problem..i want to do like this..in android. user enter his determined time..and i want to at that time profile would be changed ..synchronization with avd's time in every two second...and profile changed ..but one problem is there... for(i=0;i<100;i++) { while (System.currentTimeMillis() < endTime) { synchronized (this) { try { wait(endTime - System.currentTimeMillis()); } catch (Exception e) { } } } } please give right coding..thanks in advance.