How to send your .apk Glass Application for your client to see?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 02:15:53

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.

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 .

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

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
dljava

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?

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!