9

I'm jumping head first into Android for Google Glass development and I'd like to know how I can let my client see the .apk that I'm working on.

My client owns a pair of Google Glass too but lives far away.

So far, the only way I have been able to upload to Glass is using ADT, Run As -> Android Application when my Glass is connected by USB.

How can I put the Glassware (apk) up online so he can "load it up" into his glass remotely? Or deploy it to his glass?

I read Send the .apk file to client for review but it's more related to Android devices, whereas my client uses Google Glass and doesn't have debug mode on (I can ask him to turn it on though) and won't root his device.

6
  • 2
    testflightapp.com/android
    – Simon
    Jan 25, 2014 at 19:17
  • I signed up to testflight app and have my client signed up too. Can you explain how I can get my apk onto his Glass please?
    – Drace
    Feb 2, 2014 at 6:00
  • Hey can you try one thing.. Upload your APK to some server and send that URL to your clients Google Acount configured in Glass.
    – Steve
    Feb 4, 2014 at 11:28
  • I will try that.. how would I direct glass to visit a URL? with QR code?
    – Drace
    Feb 4, 2014 at 17:36
  • Yes I have tried that through QR code but its browser unable to download the APK. AFAIK the only option is what posted in answer.
    – Steve
    Feb 5, 2014 at 7:15

6 Answers 6

3
+50

You might want to have your customer use ChromeADB -- you can see it here: https://chrome.google.com/webstore/detail/chromeadb/fhdoijgfljahinnpbolfdimpcfoicmnm/reviews?utm_source=chrome-ntp-launcher

From the comments it looks like other people are using this for similar situations.

1
  • Thank you! this is the kind of easy answer I can get them to do.. tested the ChromeADB and it worked like a charm!
    – Drace
    Feb 7, 2014 at 4:51
0

I suppose your client owns source code so they may be glad to download the SDK at http://developer.android.com/sdk/index.html and install ADT then use the Android SDK Manager to install the SDK Platform, so they can either get your updated source and install it to Glass from ADT, or run adt-bundle-mac-x86_64-20131030/sdk/platform-tools/adb install .

1
  • No, he's got nothing setup.
    – Drace
    Jan 27, 2014 at 0:12
0

Well my client has the Android SDK installed on his system and he just turns on the usb debugging mode on on his glass. Then he installs the apk using the adb install app.apk command

2
  • That's the way I sideload apk's but my clients aren't comfortable with this approach unless I guide them to do it. I would rather a simple solution, like the gmail one (below) , I'm just waiting on my clients to confirm/deny that it worked.
    – Drace
    Jan 31, 2014 at 15:41
  • 1
    I can confirm that there's no easier way than this right now. Your client will need to sideload the apk using adb.
    – mimming
    Feb 5, 2014 at 17:02
0

So far there is no other option available than this.

For Installation and testing on client side one need to follow below mentioned steps.

  1. Download this android-tools.zip to Windows PC and extract it using any unzip tool
  2. Copy the desired APK file (Say testapp.apk) to the extracted folder i.e in android-tools
  3. Now open command prompt Win -> Run -> cmd -> ok
  4. Run this command adb install testapp.apk
0

adb is open sourced, it shouldn't be difficult to wrap it up in a standalone application or you can rebuild adb and dependencies (due to binary license you can't simply redistribute you need to build the AOSP based code which is distributable - but IANAL)

If wrapping up commands (easier route) you can refer to these command line scripts to uninstall and run by simply passing the apk file name:

How to start an application using android ADB tools?

-2

Hopefully this helps...

But you could use BlueStacks and have the client install the APK into the program. BlueStacks will setup a preference for ".apk" files to open up in the program itself, So no command line ADB is required. I dont know how well Glass APK's will run, however the BlueStacks emulator has come along way and work well with most general applications. So if your client has either Mac / Windows, they can easily setup an the Android emulator and can run your APK's. They could always just setup the Android SDK and use the standard emulator, It still will wont resemble a Glass device, however this could help the client understand what you are doing in the app. Its worth a try at least.

2
  • Thanks for the info, but my clients are surgeons and they want to see it on their Google Glass in the operating room.
    – Drace
    Feb 4, 2014 at 17:38
  • @Loudparts I see... Well since they have Glass, then i would suggest Wireless or USB adb debugging, i mean once they have your latest APK they can run just a few ADB commands and simply install by adb install folder/file.apk in the command prompt and its installed. Its then locally stored on Glass for them to use until your next release. Feb 5, 2014 at 8:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.