Use a Chronometer to update total time in track widget.

Use broadcast events to update track widget.
This commit is contained in:
Jimmy Shih
2012-09-17 13:45:53 -07:00
parent 451ac53551
commit 28599646cc
5 changed files with 109 additions and 161 deletions
+5
View File
@@ -236,6 +236,11 @@ limitations under the License.
<receiver android:name="com.google.android.apps.mytracks.widgets.TrackWidgetProvider" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.google.android.apps.mytracks.TRACK_PAUSED" />
<action android:name="com.google.android.apps.mytracks.TRACK_RESUMED" />
<action android:name="com.google.android.apps.mytracks.TRACK_STARTED" />
<action android:name="com.google.android.apps.mytracks.TRACK_STOPPED" />
<action android:name="com.google.android.apps.mytracks.TRACK_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"