Set custom time to analog clock component

Quickly share your Android Code Snippets here...

Set custom time to analog clock component

Postby gupt009 » Thu Nov 25, 2010 9:43 pm


i was trying to write an analog world clock app. i wanted to use the analog clock component

Code: Select all
<AnalogClock android:id="@+id/MyAnalogClock" />

This shows the system time. But how do we set a different time(say, a second clock showing time for a different country) to the analog clock component?
Once Poster
Once Poster
Posts: 1
Joined: Thu Nov 25, 2010 8:34 pm


Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 2 guests