Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
54205a5
Free of charge yahoo place finder API has been shut down
Apr 5, 2013
dc8355e
new feature: rate test added for firmware debugging
Jul 21, 2013
0b5c513
enhancement: better state handling after watch reconnects
Jul 21, 2013
ed25628
build updates
Jul 21, 2013
d60f344
bug fix: if an app was removed from the idle page list, the first pre…
Jul 22, 2013
7f194eb
improvement: more pretty day positioning if widget separator is active
Jul 31, 2013
955be2e
new feature: regular expression for extracting the short location (e.…
Jul 31, 2013
a848d5c
new feature: debug log control and download (requires grueni75's BTSt…
Jul 31, 2013
b24db53
bug fix: phone action screen was not left if phone call was over
Jul 31, 2013
9b40d11
bug fix: phone call action screen was sometimes garbled if outgoing c…
Jul 31, 2013
001e7ec
enhancement: better handling of the watch state / screen update after…
Jul 31, 2013
78c9bda
enhancement: better drawing of calendar and weather widget if separat…
Jul 31, 2013
69c37a3
version up
Jul 31, 2013
ca2f4d5
APK file added for other to download
Jul 31, 2013
583ae94
bug fix: regexp for lotus notes room descriptions
Aug 6, 2013
317a79b
new feature: rate test with random bitmap
Aug 6, 2013
2e47f25
new feature: selectable default view for calendar app
Aug 6, 2013
425d32d
new feature: location is displayed in agenda view of calendar app
Aug 6, 2013
7d36158
version up / new build
Aug 6, 2013
058fad5
new file ignroed
Aug 6, 2013
182c6fc
New feature: Use text extracted from content view if notification has…
Oct 15, 2013
7f220fc
Removed permissions only granted to system apps
Jan 9, 2014
67e4e59
bug fix: music player was not re-displayed correctly after mode timeout
Jan 24, 2014
979d7ff
bug fix: gmail notification now working with the new multiple inbox l…
Jan 26, 2014
3a93c67
bug fix: phone call actions were not dismissed correctly
Jan 26, 2014
2e63456
bug fix: state was not correctly restored after mode timeout
Jan 26, 2014
23f895c
new feature: whatsapp and hangout are notified as SMS with full messa…
Jan 26, 2014
b710595
new build
Jan 26, 2014
a74325d
misc: format changes
Jan 27, 2014
44cb15f
misc: format changes
Jan 27, 2014
3ea7c3e
new build
Jan 27, 2014
3cbf3d6
new build
Jan 27, 2014
acb9628
bug fix: if watch type was not detected yet and an notification arriv…
Jan 29, 2014
d98b9d5
enhancement: state monitor added that restores watch lcd buffer if it…
Feb 5, 2014
d2b2609
enhancement: withings widget is hidden if no data available
Feb 6, 2014
8bde949
EnvironmentSensorWidget: prev pressure value is stored in shared pref…
Feb 7, 2014
3263ce9
new feature: intent for starting metawatch service
Feb 24, 2014
edfab9b
new feature: Combining multiple regexp for extracting location from a…
May 19, 2014
0dc301e
new build
May 19, 2014
1effd9f
bug fix: if a widget row is empty, wrong seperator row was drawn
Jun 19, 2014
34b053b
bug fix: pressure tendency was not shown if pressure does not always …
Jun 19, 2014
b2b17f9
new release
Jun 19, 2014
9941342
improvement: pressure tendency already after 1 hPa change
Jun 23, 2014
7bd2d44
new build
Jun 23, 2014
cac8785
switched to kit kat
Jul 26, 2014
a36bad6
bug fix: switch to screen of app if app starts
Aug 10, 2014
5732bb3
bug fix: calendars were hidden if same calendar is visible under diff…
Aug 10, 2014
9ff0732
new build
Aug 10, 2014
31f3ebd
bug fix: call controls did not work anymore
Aug 27, 2014
ef5c2e5
new android build
Aug 27, 2014
0099c16
improvement: time to end of meeting is now shown in minutes instead o…
Aug 28, 2014
b38f5a0
New android build
Aug 28, 2014
34bc99a
bug fix: fixed crash if no location is available
Oct 1, 2014
92ea92a
new android build
Oct 1, 2014
b2192cc
bug fix: idle pages are only resetted when settings are changed
Nov 16, 2014
4a6d139
new android build
Nov 16, 2014
7bd441b
bug fix: calendar app did not reload calendar if app is running for m…
Dec 17, 2014
fb25d6f
bug fix: calendar app did not reload calendar if app is running for m…
Dec 17, 2014
6ba0be5
Revert "bug fix: calendar app did not reload calendar if app is runni…
Dec 29, 2014
1b0d250
bug fix: calendar app did not reload calendar if app is running for m…
Dec 17, 2014
7493166
Revert "bug fix: calendar app did not reload calendar if app is runni…
Dec 29, 2014
709995b
bug fix: refresh calendar app if day changes
Dec 29, 2014
bb2f86a
Merge branch 'master' of git@github.com:grueni75/MWM-for-Android.git
Dec 29, 2014
72da0b4
improvement: changed order of hangouts and whatsapp messages (latest …
Dec 30, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="lib" path="libs/bugsense3.0.6.jar"/>
<classpathentry kind="src" path="lib-src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
###################
# Compiled source #
###################
bin
bin/AndroidManifest.xml
bin/classes
bin/classes.dex
bin/dexedLibs
bin/res
bin/resources.ap_
bin/jarlist.cache
gen
assets/bugsense.txt
assets/Thumbs.db
Expand Down
23 changes: 14 additions & 9 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.metawatch.communityedition"
android:versionCode="21"
android:installLocation="internalOnly" android:versionName="1.24.0.0">
android:versionCode="23"
android:installLocation="internalOnly" android:versionName="1.26.0.0">

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17"/>
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="19"/>
<supports-screens android:resizeable="true" android:normalScreens="true" android:anyDensity="true"
android:largeScreens="true" android:smallScreens="true"/>

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCOUNT_MANAGER"/>
<uses-permission android:name="android.permission.BATTERY_STATS"/>
<uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.CALL_PRIVILEGED"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.READ_CALENDAR"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
Expand All @@ -34,7 +31,7 @@
<uses-permission android:name="android.permission.RECEIVE_MMS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

<uses-permission android:name="com.fsck.k9.permission.READ_MESSAGES"/>

<uses-permission android:name="com.google.android.gm.permission.READ_GMAIL"/>
Expand All @@ -56,6 +53,12 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:scheme="metawatch"></data>
</intent-filter>
</activity>
<activity
android:label="Send to Watch"
Expand Down Expand Up @@ -107,6 +110,7 @@
<action android:name="com.android.alarmclock.ALARM_ALERT" />
<action android:name="com.android.deskclock.ALARM_ALERT" />
<action android:name="com.android.music.metachanged" />
<action android:name="com.android.music.playstatechanged" />
<action android:name="com.htc.android.worldclock.ALARM_ALERT" />
<action android:name="com.motorola.blur.alarmclock.ALARM_ALERT" />
<action android:name="com.motorola.blur.alarmclock.COUNT_DOWN" />
Expand Down Expand Up @@ -175,7 +179,8 @@
<action android:name="org.metawatch.manager.NOTIFICATION"/>
<action android:name="org.metawatch.manager.VIBRATE"/>
<action android:name="org.metawatch.manager.SILENTMODE"/>
</intent-filter>
<action android:name="org.metawatch.manager.START_SERVICE"/>
</intent-filter>
</receiver>
<receiver android:name="org.metawatch.manager.AlarmReceiver"></receiver>
<service android:name="org.metawatch.manager.MetaWatchService"></service>
Expand All @@ -186,7 +191,7 @@
</intent-filter>
</service>
<activity android:name="org.metawatch.manager.MetaWatchStatus"
android:launchMode="standard">
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.Settings"
android:launchMode="standard">
Expand Down
Binary file added assets/idle_environment.bmp
Binary file not shown.
Binary file added assets/idle_environment_arrow_down.bmp
Binary file not shown.
Binary file added assets/idle_environment_arrow_up.bmp
Binary file not shown.
Binary file added assets/idle_weight.bmp
Binary file not shown.
Binary file added bin/MetaWatch.apk
Binary file not shown.
33 changes: 33 additions & 0 deletions lib-src/com/google/android/gm/contentprovider/GmailContract.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,46 @@ public static final class Labels {
* Label canonical names for default Gmail system labels.
*/
public static final class LabelCanonicalNames {
/**
* <p>Canonical name for the Primary inbox category</p>
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX_CATEGORY_PRIMARY = "^sq_ig_i_personal";

/**
* Canonical name for the Social inbox category
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX_CATEGORY_SOCIAL = "^sq_ig_i_social";

/**
* Canonical name for the Promotions inbox category
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX_CATEGORY_PROMOTIONS = "^sq_ig_i_promo";

/**
* Canonical name for the Updates inbox category
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX_CATEGORY_UPDATES =
"^sq_ig_i_notification";

/**
* Canonical name for the Forums inbox category
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX_CATEGORY_FORUMS = "^sq_ig_i_group";

/**
* Canonical name for the Inbox label
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_INBOX = "^i";

/**
* Canonical name for the Priority Inbox label
* <p><i>Note: This label may not exist, based on the user's inbox configuration</i></p>
*/
public static final String CANONICAL_NAME_PRIORITY_INBOX = "^iim";

Expand Down
Binary file added libs/signpost-commonshttp4-1.2.1.2.jar
Binary file not shown.
Binary file added libs/signpost-core-1.2.1.1.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-17
target=android-19
47 changes: 45 additions & 2 deletions res/layout/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
/>

</PreferenceScreen>

<PreferenceScreen
android:title="@string/settings_calendar_widgets"
>
Expand Down Expand Up @@ -523,6 +523,13 @@
android:summary="@string/settings_Display_location_in_small_calendar_widget_desc"
android:defaultValue="false"
/>
<EditTextPreference
android:title="@string/settings_Location_regexp"
android:key="LocationRegexp"
android:summary="@string/settings_Location_regexp_desc"
android:inputType="text"
android:defaultValue="Room:\\s*([0-9]+)\\s*([a-zA-Z]*)-*([a-zA-Z]*)|^([0-9]+)\\s*([a-zA-Z]*)-*([a-zA-Z]*)\\s*$|\\s*\\S*\\s*\\S*\\s*(\\S*)"
/>
<CheckBoxPreference
android:title="@string/settings_Event_date_in_calendar_widget"
android:key="EventDateInCalendarWidget"
Expand All @@ -531,7 +538,32 @@
/>
</PreferenceScreen>

</PreferenceScreen>
<PreferenceScreen
android:title="@string/settings_withings_widgets"
>

<EditTextPreference
android:title="@string/settings_Withings_API_key"
android:key="WithingsAPIKey"
android:summary="@string/settings_Withings_API_key_desc"
android:defaultValue=""
/>
<EditTextPreference
android:title="@string/settings_Withings_API_secret"
android:key="WithingsAPISecret"
android:summary="@string/settings_Withings_API_secret_desc"
android:defaultValue=""
/>
<CheckBoxPreference
android:title="@string/settings_Authenticate_withings_account"
android:key="WithingsAccountAuthenticated"
android:summary="@string/settings_Authenticate_withings_account_desc"
android:defaultValue="false"
/>

</PreferenceScreen>

</PreferenceScreen>

<PreferenceScreen
android:title="@string/settings_watch_apps"
Expand Down Expand Up @@ -567,6 +599,17 @@
android:defaultValue="false"
/>

<ListPreference
android:entries="@array/settings_calendar_view_names"
android:entryValues="@array/settings_calendar_view_values"
android:dialogTitle="@string/settings_default_calendar_view"
android:key="DefaultCalendarView"
android:title="@string/settings_default_calendar_view"
android:negativeButtonText="@string/settings_CancelButton"
android:enabled="true"
android:defaultValue="0"
/>

<PreferenceCategory
android:title="@string/settings_active_apps"
android:key="ActiveApps">
Expand Down
10 changes: 9 additions & 1 deletion res/layout/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,19 @@
<Preference android:key="discover_apps" android:title="Send App Discovery Message" />
</PreferenceCategory>

<PreferenceCategory android:title="Firmware Debugging">
<Preference android:key="rate_test" android:title="Rate Test"/>
<Preference android:key="random_idle_bitmap_rate_test" android:title="Random Idle Bitmap Rate Test"/>
<Preference android:key="enable_log" android:title="Enable Debug Log (Gen2 only)"/>
<Preference android:key="disable_log" android:title="Disable Debug Log (Gen2 only)"/>
<Preference android:key="read_log" android:title="Read Debug Log (Gen2 only)"/>
</PreferenceCategory>

<PreferenceCategory android:title="Misc">
<Preference android:key="application_start" android:title="Application Start (LCD)"/>
<Preference android:key="application_update" android:title="Application Update (LCD)"/>
<Preference android:key="application_stop" android:title="Application Stop (LCD)"/>
<Preference android:key="vibrate" android:title="Vibrate (LCD/OLED)"/>
<Preference android:key="vibrate" android:title="Vibrate (LCD/OLED)"/>
<Preference android:key="load_template" android:title="Load Template (Idle) (LCD)"/>
<Preference android:key="write_buffer" android:title="Write Buffer (Idle) (LCD)"/>
<Preference android:key="update_display" android:title="Update Display (Idle) (LCD)"/>
Expand Down
18 changes: 14 additions & 4 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@

<string name="settings_Read_calendar_during_meeting">Aktualisiere Kalender auch währed eines laufenden Meetings</string>
<string name="settings_Read_calendar_during_meeting_desc">Passe die Kalenderinformationen während eines Meetings an</string>
<string name="settings_Read_calendar_min_duration_to_meeting_end">Minimale Dauer zum Meetingende</string>
<string name="settings_Read_calendar_min_duration_to_meeting_end_desc">Minimale Dauer (in Minuten) zum Meetingende bevor Kalender gelesen wird.</string>
<string name="settings_Read_calendar_min_duration_to_meeting_end">Minimale Dauer zum Terminende</string>
<string name="settings_Read_calendar_min_duration_to_meeting_end_desc">Minimale Dauer (in Minuten) zum Terminende bevor Kalender gelesen wird.</string>
<string name="settings_Display_location_in_small_calendar_widget">Zeige Ort im kleinen Kalenderwidget</string>
<string name="settings_Display_location_in_small_calendar_widget_desc">Zeige Ort statt dem Datum im 24x32 Kalenderwidget, falls genug Platz vorhanden.</string>
<string name="settings_Location_regexp">Regulärer Ausdruck zum Extrahieren des Orts</string>
<string name="settings_Location_regexp_desc">Nutzt den regulären Ausdruck um die Ortsinformation in der Terminbeschreibung zu finden</string>
<string name="settings_Event_date_in_calendar_widget">Datum im Kalenderwidget anzeigen</string>
<string name="settings_Event_date_in_calendar_widget_desc">Zeigt das Datum (des Events) im *x32 Kalenderwidget an (statt des aktuellen Datums).</string>

Expand All @@ -83,6 +85,14 @@
<string name="settings_Overlay_weather_text">Text darf das Wetterwidget überlappen</string>
<string name="settings_Overlay_weather_text_desc">Text (Aktuelles Wetter und Ortsinformation) darf das Wetterwidget überlappen</string>

<string name="settings_withings_widgets">Withings Widget</string>
<string name="settings_Withings_API_key">Withings API Schlüssel</string>
<string name="settings_Withings_API_key_desc">Der zu benutzende Applikationsschlüssel beim Zugriff auf die "Body Metrics Service API".</string>
<string name="settings_Withings_API_secret">Withings API Geheimnis</string>
<string name="settings_Withings_API_secret_desc">Das zu benutzende Applikationsgeheimnis beim Zugriff auf die "Body Metrics Service API".</string>
<string name="settings_Authenticate_withings_account">Benutzer angemeldet</string>
<string name="settings_Authenticate_withings_account_desc">Fragt Withings um Erlaubnis, das "Body Metrics Service API" zu benutzen.</string>

<string name="settings_phoneCalls">Anrufe</string>

<string name="settings_call_actions">Aktionen während Anruf</string>
Expand Down Expand Up @@ -341,8 +351,8 @@
<string name="settings_calendars_to_show">Calendars to show</string>
<string name="settings_calendars_to_show_desc">Specify which calendars should be shown in the calendar widgets and app.</string>
<string name="settings_calendar_all">All</string>
<string name="settings_calendar_lookahead">Calendar lookahead (hours))</string>
<string name="settings_calendar_lookahead_desc">How many hours ahead the calendar widgets should search</string>
<string name="settings_calendar_lookahead">Vorwärtssuche (Stunden)</string>
<string name="settings_calendar_lookahead_desc">Anzahl Stunden, die das Kalendar Widget in der Zukunft nach Terminen suchen soll</string>

<string-array name="settings_calendar_values">
<item>#ALL#</item>
Expand Down
34 changes: 28 additions & 6 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
<string name="settings_Read_calendar_min_duration_to_meeting_end_desc">Duration in minutes to the end of an ongoing meeting before calendar read is allowed</string>
<string name="settings_Display_location_in_small_calendar_widget">Display location in small calendar widget</string>
<string name="settings_Display_location_in_small_calendar_widget_desc">Displays the location instead of the date in the 24x32 next calendar appointment widget if there is enough space</string>
<string name="settings_Location_regexp">Regular expression for extracting the location</string>
<string name="settings_Location_regexp_desc">Uses the regular expression to find the location information in the calendar location string</string>
<string name="settings_Event_date_in_calendar_widget">Event date in calendar widget</string>
<string name="settings_Event_date_in_calendar_widget_desc">Displays the event date instead of today\'s date in the *x32 calendar widgets (when showing an event)</string>

Expand All @@ -82,7 +84,15 @@

<string name="settings_Overlay_weather_text">Overlay text in weather widget</string>
<string name="settings_Overlay_weather_text_desc">Draws the text (condition and location) over the weather icon</string>


<string name="settings_withings_widgets">Withings widget</string>
<string name="settings_Withings_API_key">Withings API key</string>
<string name="settings_Withings_API_key_desc">The key to use for accessing the Body Metrics Service API.</string>
<string name="settings_Withings_API_secret">Withings API secret</string>
<string name="settings_Withings_API_secret_desc">The secret to use for accessing the Body Metrics Service API.</string>
<string name="settings_Authenticate_withings_account">User authenticated</string>
<string name="settings_Authenticate_withings_account_desc">Asks Withings to allow access to the body metrics of a user.</string>

<string name="settings_phoneCalls">Phonecalls</string>

<string name="settings_call_actions">Show actions in call</string>
Expand Down Expand Up @@ -114,6 +124,8 @@
<string name="settings_idle_app_buffer">Use App Buffer for Clock-less Widget Pages</string>
<string name="settings_idle_app_buffer_desc">Makes the clock and status icon visible when the watch connection is lost, but loses built-in button actions on affected pages.</string>

<string name="settings_default_calendar_view">Default calendar view</string>

<string name="settings_apps_show_clock">Clock on App screens</string>
<string name="settings_apps_show_clock_desc">Show a small clock on App screens, instead of the page switch widgets.</string>

Expand Down Expand Up @@ -170,18 +182,28 @@
<item>60</item>
</string-array>

<string-array name="settings_media_control_method_names">
<string-array name="settings_media_control_method_names">
<item>MusicServiceCommand messages (Stock music player)</item>
<item>Emulate headset buttons (Winamp, and other players)</item>
</string-array>
</string-array>

<string-array name="settings_media_control_method_values">
<string-array name="settings_media_control_method_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>

<string-array name="settings_weather_provider_names">
<string-array name="settings_calendar_view_names">
<item>Month overview</item>
<item>Agenda</item>
</string-array>

<string-array name="settings_calendar_view_values">
<item>0</item>
<item>1</item>
</string-array>

<string-array name="settings_weather_provider_names">
<item>Disabled</item>
<item>Weather Underground</item>
<item>Yahoo! Weather</item>
Expand Down Expand Up @@ -340,7 +362,7 @@
<string name="settings_calendars_to_show">Calendars to show</string>
<string name="settings_calendars_to_show_desc">Specify which calendars should be shown in the calendar widgets and app.</string>
<string name="settings_calendar_all">All</string>
<string name="settings_calendar_lookahead">Calendar lookahead (hours))</string>
<string name="settings_calendar_lookahead">Calendar lookahead (hours)</string>
<string name="settings_calendar_lookahead_desc">How many hours ahead the calendar widgets should search</string>

<string-array name="settings_calendar_values">
Expand Down
4 changes: 4 additions & 0 deletions src/org/metawatch/manager/ApiIntentReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ else if (action.equals("org.metawatch.manager.SILENTMODE")) {
MetaWatchService.setSilentMode(intent.getBooleanExtra("enabled", false));
}
}

else if (action.equals("org.metawatch.manager.START_SERVICE")) {
context.startService(new Intent(context, MetaWatchService.class));
}

}

Expand Down
Loading