I have to create an android world clock widget. It should show the selected country's time as an analog clock widget.
But I don't know how to update the time in the widget view.
I tried using the widget configuration activity. But it was not successful. Please give me some ideas for doing it
My widget.xml file contains the following:-
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/Widget"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="8dip"
android:background="@drawable/myshape" >
<AnalogClock android:id="@+id/AnalogClock"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:dial="@drawable/widgetdial"
android:hand_hour="@drawable/widgethour"
android:hand_minute="@drawable/widgetminute"/>
</LinearLayout>