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.

Community
  • 1
  • 1
Drace
  • 699
  • 9
  • 23
  • 2
    https://testflightapp.com/android – Simon Jan 25 '14 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 02 '14 at 06: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 04 '14 at 11:28
  • I will try that.. how would I direct glass to visit a URL? with QR code? – Drace Feb 04 '14 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 05 '14 at 07:15
  • My clients were unable to setup ADT, even with me assisting them on Skype - they need a simple a,b,c - 1,2,3 solution. Surgeons are simply not the most tech savvy :) – Drace Feb 05 '14 at 16:56

6 Answers6

3

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.

ErstwhileIII
  • 4,829
  • 2
  • 23
  • 37
  • 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 07 '14 at 04: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 .

Jeff Tang
  • 1,804
  • 15
  • 16
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

Sheraz Ahmad Khilji
  • 8,300
  • 9
  • 52
  • 84
  • 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 '14 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 05 '14 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
Steve
  • 385
  • 1
  • 16
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?

Community
  • 1
  • 1
dljava
  • 1,825
  • 17
  • 14
-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.

Jaison Brooks
  • 5,816
  • 7
  • 43
  • 79
  • 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 04 '14 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. – Jaison Brooks Feb 05 '14 at 08:23