hellomikedg
hellomikedg
Wear am I?
11 posts
Initial foray into Android wear development
Don't wanna be here? Send us removal request.
hellomikedg · 11 years ago
Text
Pretty awesome that the sync API auto syncs once the wear app gets installed. So no need to wait for the wear app to install before trying to sync.
0 notes
hellomikedg · 11 years ago
Photo
Tumblr media
Watch faces are possible with no API
0 notes
hellomikedg · 11 years ago
Text
Deploying a Wear app to the play store?
When packahging your Wear app inside another APK, make sure to 
Turn off Asset Compression
Many build tools automatically compress any files added to the assets/ directory of an Android app. Because the wearable APK is already zipped, these tools re-compress the wearable APK and the wearable app installer can no longer read the wearable app.
When this happens, the installation fails. On the handheld app, the PackageUpdateService logs the following error: "this file cannot be opened as a file descriptor; it is probably compressed."
To prevent this error in Android Studio, update your handheld app's build.gradle file with the following declaration:
android {   aaptOptions {     noCompress "apk"   } }
http://developer.android.com/training/wearables/apps/packaging.html
0 notes
hellomikedg · 11 years ago
Text
Looks like the ambient watch faces are Dreams.
07-01 16:10:24.321      459-492/? I/PowerManagerService﹕ Going to sleep by user request...
07-01 16:10:24.331      459-489/? I/PowerManagerService﹕ Dozing...
07-01 16:10:24.331      459-479/? I/DreamController﹕ Starting dream: name=ComponentInfo{com.google.android.wearable.app/com.google.android.clockwork.home.AmbientMode}, isTest=false, canDoze=true, userId=0
0 notes
hellomikedg · 11 years ago
Photo
Tumblr media
Ripples
0 notes
hellomikedg · 11 years ago
Photo
Tumblr media
Universal icon set for all platforms coming this summer
0 notes
hellomikedg · 11 years ago
Photo
Tumblr media
Let your app icon guide your primary and accent colors
0 notes
hellomikedg · 11 years ago
Text
So much too short
I’ve been seeing about 12 hour battery life. Battery life is too short.
I can’t leave my phone in the living room and go up stairs without losing connectivity. BT range is too short.
0 notes
hellomikedg · 11 years ago
Text
You are now a developer!
How do we enable developer mode on Android Wear devices? It's pretty much identical to how we do it on phones.
Say "Ok Google, Settings" to get to the settings screen. 
Scroll to the About option and select it.
Scroll to Build number, then tap on it about a dozen times and it will show a Toast saying that "You are now a developer"
Back out of this screen and you should see "Developer options" below "About"
0 notes
hellomikedg · 11 years ago
Text
Bluetooth debugging is awful
It seems really slow to deploy, which is making it near useless. 
0 notes
hellomikedg · 11 years ago
Text
Setting up a G-Watch on windows
As usual new devices are a pain in the ass to use via ADB on Windows. OSx and Linux have it easy.
Turn off driver signature enforcement.
Go into the USB driver extras directory on your Android SDK. Something like C:\Users\Michael\AppData\Local\Android\android-studio\sdk\extras\google\usb_driver
Copy that entire folder somewhere safe.
Open android_winusb.inf in a text editor
Toss the next two lines under [Google.NTx86] and [Google.NTamd64] ;Wear GWatch %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D002 %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D002&MI_01
The above lines basically say to use this driver for your GWatch.
Now go into device manager, you should see a GWatch with a yellow sign next to it complaining about the drivers. 
Double click that and select update driver.
Point if to the directory you just copied and modified.
It should complain about the driver signature being incorrect, that's fine though.
Once that's installed, your device should be usable via ADB
0 notes