Reputation: 14152
Is there an efficient way to distribute beta apps for Google Glass? Our current method is to email around apk files and then guide the tester through the shell commands... very painful. (Adb Chrome plugin helps a bit)
I've searched and don't see anywhere that the Play Developer console supports Glass apps, let alone distribution of beta apps.
I've reached out to 'Beta by Crashlytics' and am awaiting their reply. UPDATE 9/5/2014: They do not have Glass version at this time.
I've reached out to the 'Glass at Work' program and am awaiting their reply. UPDATE 9/5/2014: Not integrated with Google Play. Need to Submit Glassware to set up specific Whitelist. Google Group integration possible.
Any other options people have had success with? Something like...
Any examples or ideas welcome. Thanks!
Upvotes: 2
Views: 192
Reputation: 14152
The easiest way to do this if your app is not ready for submission is the following. (Dropbox used, Google Drive would be similar)
1) Add a gradle target to your build.gradle
// copy the apk file to shared dropbox
task pushBeta << {
println "Beta copy starting..."
copy {
from("${buildDir}/outputs/apk") {
println "Copying ${project.name}-debug.apk"
include "${project.name}-debug.apk"
}
into("${System.properties['user.home']}/Dropbox/apk")
}
println "Beta copy complete"
}
2) Share the dropbox folder with your testers (install the dropbox sync app on yours/their local machines)
3) Add a script to dropbox folder for install:
Windows (install.bat)
adb install -r myapp-debug.apk
sleep 5
Mac (install.command) - First time, hold control key, click, and select "open". Subsequent double-clicks should then work
set -x
cd `dirname $0`
adb install -r myapp-debug.apk
sleep 5
4) Have your tester plug in Glass via USB. Double-click script. (They have to have adb installed and debug enabled, of course)
5) push new beta versions using gradle pushBeta
or add a run config to Android Studio to do the same.
Upvotes: 0
Reputation: 50701
If you intend for this app to be distributed through MyGlass, your best bet is to do the following:
This isn't quite the same as the beta channel through the Play Store, but it has some similarities.
Upvotes: 1