ACTION_TIME_TICK for every Second required.

by Ravi » Fri, 26 Jun 2009 18:47:12 GMT


Sponsored Links
 ACTION_TIME_TICK occurs every minute. I need an action which will
occur every second because I'm trying to display the 'Seconds' needle
in AppWidget.

Do help me even if it means modifying the framework source code.

ACTION_TIME doesn't occurs & it's docs are not clear.
--~--~---------~--~----~------------~-------~--~----~



ACTION_TIME_TICK for every Second required.

by Peli » Fri, 26 Jun 2009 19:19:31 GMT


 why don't you simply write a service and send your own broadcast
intent as often as you want?

Peli
www.openintents.org



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


ACTION_TIME_TICK for every Second required.

by Jeff Sharkey » Mon, 29 Jun 2009 13:56:32 GMT


 Implementing a clock widget with seconds as an AppWidget would be
/extremely/ inefficient.  The update code would be creating a new
RemoteViews object, and marshaling it across two IPC boundaries every
second.

The best way to write something like this would be to integrate it
directly into a custom home screen, so you could bypass the IPC costs
and only invalidate when the home activity is actively being shown.

j






-- 
Jeff Sharkey
jshar...@android.com

--~--~---------~--~----~------------~-------~--~----~



ACTION_TIME_TICK for every Second required.

by Ravi » Mon, 29 Jun 2009 21:21:02 GMT


 HTC Hero phone is able to display Analog Clock with Seconds Hand. Is
it done thro flash player or by changing Android Source code?




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Map API Demo

Hi,
   Can someone provide me some link or text for Map API Demo ?

Regards
Rahul Garg

-- 

2. Running a thttpd server on android

Hi ,

There is a requirement to run a thttpd server on android, so as to run
a web-service on the android device .
 I need suggestions how to start of with . Any help is appreciated.

Regards
Sambit.

-- 

3. DNS problems in our app

4. detect that you are on the emulator and not on real device

5. RTSP Video packet loss ratio, jitter and delay

6. Array adapter - ListView [databasing?]

7. Tables