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
138 commits
Select commit Hold shift + click to select a range
e559840
Updated to a fragment based design using Action Bar Sherlock, a standard
Jan 25, 2013
098aa91
Refresh the widget previews, and list every 3 seconds.
nseidm1 Jan 26, 2013
58b20ba
Realtime updates of the statistics dialog, fixed the connection
nseidm1 Jan 27, 2013
4f7e4a4
Version, icon, and proguard config.
nseidm1 Jan 27, 2013
65582c0
Reduced the size of the screen preview. Changed the connected
Jan 29, 2013
114cfe5
Sticky Notification off by default, and spash screen off by default.
Jan 29, 2013
eea2380
Added starting service please wait toast, improved shutdown preference
Jan 29, 2013
5ba6e75
New light theming.
Jan 30, 2013
6fb480d
Layout file from previous commit.
Jan 30, 2013
20152f8
Log class to enable and disable log calls. Substantially modified Theme
Jan 30, 2013
15f5168
Fixed non backwards compatible import.
Jan 30, 2013
0520709
Fixed up affordance in new themes activity. Replaced deprecated
Jan 30, 2013
fca6813
Added holo blue gradient to main widget list divider, and red gradient
Jan 30, 2013
cd4e246
Added Noah Edition to about in settings. Added left padding to device
Jan 30, 2013
8d73548
Applied consistent code formatting project wide. Increased resolution of
Jan 30, 2013
95f45ef
Added please wait string to the Statistics dialog prior to the
Jan 30, 2013
9653b49
Remove lock on Statistics dialog, it'll just update like it did before.
Jan 30, 2013
9d96ede
Added slide in from right animation to widget list child items. Added
Jan 31, 2013
7f53629
Service button shake tweak.
Jan 31, 2013
2ba7032
Removed progress dialog during theme download in favor of action bar
Jan 31, 2013
07ce114
Switched to ActionBarSherlock 4.2.0. Animation tweaks.
Jan 31, 2013
ce121b1
Switched notification icon back to original. Fixed potential null
Jan 31, 2013
915fdc8
Changed expandable list children to fade in animation.
Jan 31, 2013
6c9f78b
Changed Protocol to a singleton for improved memory management. Removed
Feb 1, 2013
0f2bb92
Removed static references to fields in the Service in favor of the
Feb 1, 2013
7b74774
Turned Idle into a singleton, facilitation destruction in onDestroy of
Feb 1, 2013
c1187ed
Removed static modified from field in Service.
Feb 1, 2013
be5435a
Removed two prferences, "Notify Watch on Connect", and "Display Splash
Feb 1, 2013
ff0ad47
Manifest bump.
Feb 1, 2013
5ea5662
Synchronize enqueue, and null check in onStartCommand.
Feb 1, 2013
d70cabd
Possible deadlocks?
Feb 1, 2013
24368dc
Synchronized send notifyClients intent request.
Feb 2, 2013
66b4def
Incoming call contact photo causes watch to reboot on 1.3 firmware.
Feb 2, 2013
1d9bc43
Update data and tme formats automatically on watch connect.
Feb 2, 2013
0b7e6ea
No need to synchronize those methods, onStartCommand is inherently
Feb 3, 2013
7a549a0
Re-added the incoming call contact photo, and added a single thread pool
Feb 3, 2013
96e7c8a
Fixed duplicate call to endRinging. Remove call to update screen during
Feb 3, 2013
b26c627
Re-added strategic wakelock allowing the device to sleep.
Feb 3, 2013
3ed0ce0
Prevent service from starting due to receivers and observers. Would be
Feb 3, 2013
2ea9ff4
Dam, without the wakeLock things simply get out of sync when the cpu
Feb 3, 2013
4aa1470
Notification, MediaControl, and Monitors are now singletons tied to the
Feb 4, 2013
77ee251
Tie the three managers, AppManager, WidgetManager, and
Feb 4, 2013
fff31ee
Simplified the cleanup process, and further encourage loading after the
Feb 4, 2013
5a47183
The repeating runnable loves to cause the watch crash.
Feb 4, 2013
0dcf54f
Improved AccessibilityCheck Service interaction for statistics dialog.
Feb 4, 2013
43df74a
Removed 4.2 method call.
Feb 4, 2013
faa39bf
Tweaked wakelock management, and remove unnecessary async block.
Feb 5, 2013
f370a55
Increased default packet wait to 25 milliseconds.
Feb 5, 2013
6de4e64
Disabled media app menu button, investigation is needed by back doesn't
Feb 5, 2013
a57f937
Fixed idle pages getting out of sync when switching using the manager
Feb 5, 2013
d58f98d
Fixed the media app menu, now quite reliable.
Feb 5, 2013
aa7e44a
Revert "Fixed the media app menu, now quite reliable."
Feb 5, 2013
c279e16
The MediaPlayer app menu will remain disabled, the CE team will take a
Feb 5, 2013
6632b7c
Minor text fixes.
Feb 5, 2013
9214407
Updated BugSense jar.
Feb 5, 2013
33df30f
Removed manual launch of AccessibilityService to support Gingerbread and
Feb 5, 2013
dee33b0
Simplified service management toggle button. Cleanup of auto start
Feb 5, 2013
d8a353b
Binding a service to an activity makes for headaches and is typically
Feb 5, 2013
d94bbef
Improved management of the service via the start and shutdown buttons.
Feb 6, 2013
7ea2346
Further improved management of the service and the start and shutdown
Feb 6, 2013
a815307
Cleanup, and test battery weather poll technique. Everything but the new
Feb 6, 2013
c49b01d
New global theme.
Feb 6, 2013
59e9db2
Title mod for preferences and tests, and main animation tweak.
Feb 6, 2013
1826ca9
Added action bar menu to enable and disable animations.
Feb 6, 2013
ca29076
Added onClick response to the watch previews.
Feb 6, 2013
28d1f43
Added preference to show the sms message only, without the intro
Feb 6, 2013
3360342
Fixed bug with silent mode toggling. Changes some timing values.
Feb 6, 2013
edfc819
Cleanup DeviceSelection including device auto connect after device
Feb 7, 2013
9cc0b10
Added contact's name to sms notifications message display.
Feb 7, 2013
c7d449d
Updated Italian translations. Improved async refreshing of weather data.
Feb 7, 2013
fe15dac
Fixed toggle app button becoming non functional after returning from the
Feb 7, 2013
5f0730a
Fixed race condition associated with closing an activity before a thread
Feb 7, 2013
47d6e14
Fixed enable/disable wifi toggle for the Actions in both application and
Feb 7, 2013
45e255b
StickNotifications and packet delay are now fixed values.
Feb 7, 2013
55b689a
Increased haptic feedback. Fixed toggle wifi feature for both app mode
Feb 8, 2013
10dc64e
Removed entire Protocol queue in favor of consolidating the queue
Feb 8, 2013
1ad981a
Service reconnect cleanup less objects, focus on more cleanup in
Feb 8, 2013
32460a8
Ensure that the Notifications queue is cleared if the service's
Feb 8, 2013
1c6342c
New seamless reconnection pattern. Message queue, and notification queue
Feb 8, 2013
f0a1696
Removed the repeating sms test. Cleanup of Service field declarations.
Feb 9, 2013
0dee12c
Ensure that an IDLE_NEXT_PAGE button press has the system in IDLE mode.
Feb 9, 2013
eefcdd5
Revert "Ensure that an IDLE_NEXT_PAGE button press has the system in …
Feb 9, 2013
6910f8f
Fixed next page button when in app mode, yay :)
Feb 9, 2013
da23f6b
Manifest bump, previous commit fixing next page button in app mode
Feb 9, 2013
7f998b8
Null checks, service onDestroy stability.
Feb 9, 2013
a2df8df
Removed emulated bluetooth media controls, they don't work. Tested the
Feb 9, 2013
de34641
Manifest bump.
Feb 9, 2013
c762cf3
Revert "Removed emulated bluetooth media controls, they don't work. T…
Feb 9, 2013
bf010fc
Ugg, reverted the bluetooth control. I dunno. Added an Idle update call
Feb 9, 2013
2f7eed1
Service shutdown when bluetooth hardware is turned off. Restructured the
Feb 9, 2013
96d337f
Excellent cleanup of the service. Lifecycle methods at the top, static
Feb 10, 2013
37d2de3
Stability assurance catching. Replaced ScheduleExecutorService with a
Feb 10, 2013
75925d6
Fixed forced weather update to not only update Idle pages, but also App
Feb 10, 2013
7a3b363
Manifest bump.
Feb 10, 2013
13e71d1
Voice search will now show on the watch as not installed accordingly in
Feb 10, 2013
bc83cdc
Possible fix for reported clock on every page issue? Possible stability
Feb 11, 2013
25d4962
Likely fixed clock on every page issue. Also likely fixed button mapping
Feb 11, 2013
26968c0
Partial revert.
Feb 12, 2013
61293ca
Removed call to updateLcdDisplay without actually sending an image,
Feb 12, 2013
89dac53
Resolved non functioning buttons in application mode?
Feb 12, 2013
dfd23e4
Removed application tests, may causes issues and not useful for the gen
Feb 12, 2013
547c43e
Fixed next page button when in app (ie. QuickAction) non Idle mode.
Feb 12, 2013
c96ac81
Improved reconnection process, more is destroyed.
Feb 12, 2013
50dac1c
More cleanup during the reconnection process.
Feb 13, 2013
f437624
Ehh.
Feb 13, 2013
f170c93
Less cleanup when reconnecting, why destroy everything only to re-create
Feb 13, 2013
c0eda33
Manifest bump.
Feb 13, 2013
b0888f4
Modified reconnect flow.
Feb 13, 2013
ed32bb4
A little backtrack, a little sidestep, a little forward.
Feb 13, 2013
f6103de
Synchronization, Idle updating, Service lifecycle.
Feb 14, 2013
7a20b96
New graphics, inverted background.
Feb 14, 2013
0f00af8
Minor issue enabling/disabling apps and refreshing.
Feb 14, 2013
8b5cc76
Fixed app icon in About page, and changed watch preview halo to holo
Feb 14, 2013
7b63555
Stack based mode management testing.
Feb 16, 2013
08e462b
Watch state management cleanup, organization, simplification, and
Feb 17, 2013
2d29e4a
Minor cleanup and missing break bug in switch statement.
Feb 17, 2013
f5041f8
Improved, consolidated, and simplified mode management, specifically end
Feb 18, 2013
db4d319
Minor tweaks to watch mode management. Active bluetooth enabled state
Feb 18, 2013
295226a
Import cleanup.
Feb 18, 2013
acad3a1
Fixed shutdownRequested flag.
Feb 18, 2013
a753421
Auto bluetooth enable when starting the service, fix auto start on boot,
Feb 18, 2013
ea2853b
Fixed next page when in app mode handling the watch state properly.
Feb 18, 2013
b7df87b
Removed image viewer, who would want to use it anyway. Consolidated
Feb 18, 2013
c7d48b1
Re-added image viewer class, testing issues, mods in the NE make it work
Feb 18, 2013
2f115fb
On reconnection stop app mode.
Feb 18, 2013
748d3d0
Add single vibration to image viewer feature.
Feb 18, 2013
1c81edc
Navigation and idle refresh tweaks, improvement?
Feb 19, 2013
2bf7520
Improved navigation on reconnect.
Feb 19, 2013
6831cec
Fixed default notification timeout for API notifications.
nseidm1 Feb 26, 2013
c536e9d
Turning off bluetooth will no longer stop the service. I removed the
nseidm1 Mar 9, 2013
e81a04b
Fixed crash related to calls. It was attempting to retrieve a name for a
nseidm1 Apr 7, 2013
f146e36
Update Call.java
heisingrf Apr 17, 2013
c8c847c
Merge pull request #3 from heisingrf/patch-2
nseidm1 Apr 19, 2013
a6eed46
Fixed merge pull request issue.
Apr 19, 2013
13eaae7
Resolved incoming call crash condition.
Apr 22, 2013
032fa34
Fixed clock not being set on the watch
davemclaughlin Oct 3, 2013
4fd2f22
Merge pull request #4 from davemclaughlin/master
nseidm1 Oct 3, 2013
b9fb77a
Minor changes.
nseidm1 Oct 3, 2013
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
Expand Up @@ -4,8 +4,9 @@
<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="lib" path="libs/bugsense3.2.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 combineaccessrules="false" kind="src" path="/ActionBarSherlock4.2.0"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ assets/Thumbs.db
# Swap files #
##############
*.swp
/proguard
10 changes: 5 additions & 5 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.line_length=1000
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
Expand Down Expand Up @@ -276,16 +276,16 @@ org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
org.eclipse.jdt.core.formatter.lineSplit=80
org.eclipse.jdt.core.formatter.lineSplit=1000
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=tab
org.eclipse.jdt.core.formatter.tabulation.size=4
org.eclipse.jdt.core.formatter.tabulation.char=mixed
org.eclipse.jdt.core.formatter.tabulation.size=8
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=false
2 changes: 1 addition & 1 deletion .settings/org.eclipse.jdt.ui.prefs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
eclipse.preferences.version=1
formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile
formatter_profile=_My Java Conventions
formatter_settings_version=12
94 changes: 29 additions & 65 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?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">
package="org.metawatch.manager"
android:versionCode="77"
android:installLocation="internalOnly" android:versionName="1.0.0.198">

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17"/>
<supports-screens android:resizeable="true" android:normalScreens="true" android:anyDensity="true"
Expand Down Expand Up @@ -32,8 +32,9 @@
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<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="android.permission.READ_CALL_LOG"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />

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

Expand All @@ -48,55 +49,43 @@
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.wifi" android:required="false" />

<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme">
<activity android:name="org.metawatch.manager.MetaWatch"
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTask">
<application android:icon="@drawable/icon" android:label="@string/app_name" android:hardwareAccelerated="true" android:theme="@style/Theme.Styled">
<activity android:name="org.metawatch.manager.MainActivity" android:configChanges="keyboardHidden|orientation" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:label="Send to Watch"
android:name="org.metawatch.manager.ImageViewer"
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity
android:label="Send to Watch"
android:name="org.metawatch.manager.SendTextReceiver"
android:launchMode="singleTask">
<activity android:label="Send to Watch" android:name="org.metawatch.manager.SendTextReceiver" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<activity
android:label="Device Selection"
android:name="org.metawatch.manager.DeviceSelection"
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTask">
<activity android:label="Device Selection" android:name="org.metawatch.manager.DeviceSelection" android:configChanges="keyboardHidden|orientation" android:launchMode="singleTask">
</activity>
<activity
android:label="Other Apps"
android:name="org.metawatch.manager.OtherAppsList"
android:configChanges="keyboardHidden|orientation"
android:launchMode="singleTask">
</activity>
<activity android:label="Send to Watch" android:name="org.metawatch.manager.ImageViewer">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<receiver android:name="org.metawatch.manager.IntentReceiver" android:exported="true">
<intent-filter>
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
<action android:name="android.intent.action.BATTERY_LOW"/>
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
<action android:name="android.intent.action.TIME_SET"/>
Expand All @@ -116,7 +105,6 @@
<action android:name="org.metawatch.manager.UPDATE_APPSCREEN_CLOCK"/>
<action android:name="com.usk.app.notifymyandroid.NEW_NOTIFICATION" />
<action android:name="fm.last.android.metachanged" />

</intent-filter>
<intent-filter>
<action android:name="android.intent.action.EVENT_REMINDER" />
Expand Down Expand Up @@ -150,7 +138,6 @@
<action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />
<data android:mimeType="application/vnd.wap.mms-message" />
</intent-filter>

<intent-filter>
<action android:name="android.intent.action.PACKAGE_INSTALL" />
<action android:name="android.intent.action.PACKAGE_ADDED" />
Expand All @@ -164,7 +151,6 @@
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>

<receiver android:name="org.metawatch.manager.ApiIntentReceiver">
<intent-filter>
<action android:name="org.metawatch.manager.APPLICATION_UPDATE" />
Expand All @@ -179,38 +165,16 @@
</receiver>
<receiver android:name="org.metawatch.manager.AlarmReceiver"></receiver>
<service android:name="org.metawatch.manager.MetaWatchService"></service>
<service android:name="org.metawatch.manager.MetaWatchAccessibilityService"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<service android:name="org.metawatch.manager.MetaWatchAccessibilityService" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
</service>
<activity android:name="org.metawatch.manager.MetaWatchStatus"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.Settings"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.WidgetSetup"
android:configChanges="keyboardHidden|orientation"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.WidgetPicker"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.ThemeContainer"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.ThemeGallery"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.ThemePicker"
android:launchMode="standard">
</activity>
<activity android:name="org.metawatch.manager.Test"
android:launchMode="singleTask">
</activity>

<activity android:name="org.metawatch.manager.Settings" android:launchMode="standard"/>
<activity android:name="org.metawatch.manager.WidgetPicker" android:launchMode="standard"/>
<activity android:name="org.metawatch.manager.ThemeContainer" android:launchMode="standard"/>
<activity android:name="org.metawatch.manager.ThemeGallery" android:launchMode="standard"/>
<activity android:name="org.metawatch.manager.ThemePicker" android:launchMode="standard"/>
<activity android:name="org.metawatch.manager.Test" android:launchMode="singleTask"/>
</application>

</manifest>
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading