How to get .APK on to hardware?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
PaulMaguire
Posts: 44
Joined: Wed Feb 13, 2013 3:38 pm
Contact:

How to get .APK on to hardware?

Post by PaulMaguire » Tue May 07, 2013 11:17 am

Hi Androids.

I have an LC app which I have developed for iOS. I now need to port it to and tweak it for Android. I have successfully installed the Android development environment and can test there. Now I need to get it on some hardware for proper testing. So I write out the .APK file. How do I get it on the hardware?!? Where do put it?!? Sorry for the lameness - can see how to do this anywhere!

I'm on Mac OSX BTW. Any wisdom appreciated.

Kind regards, Paul.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: How to get .APK on to hardware?

Post by jacque » Tue May 07, 2013 7:04 pm

Compared to Apple, moving an apk to an Android device is a piece of cake. You can do it any way that allows you to access the device:
  • Put the apk in Dropbox on your Mac, open Dropbox on the device, tap the apk and it will install. You can use any cloud storage that has an Android client (Box, SugarSync, Google Drive, etc.)

    Plug the device into the Mac via USB and drag the apk into one of the folders. On the device, navigate to the folder using any file manager and tap the apk.

    Mail the apk to yourself as an attachment. Open the mail on the device. Tap the apk.

    Use an Android utility that mounts the device on the Mac. My current favorite is the (free) DoidNAS. It mounts your device via Bonjour, and the device shows up in the Finder sidebar. Drag the apk to the device to copy it and proceed as in #2 above.

    Use ES File Explorer (also free) on the device to connect to your Mac via FTP or LAN, copy the apk to the device. This used to work flawlessly, but if you are running OS X Lion or Mt Lion, SMB broke and it no longer works. But the FTP will work if you've set up FTP services on the Mac.
I think there are other ways too but those are the ones that come to mind. I'm really fond of DroidNAS lately, it's very slick. Otherwise I generally do the Dropbox transfer which doesn't require you to use a file manager on the device.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Contact:

Re: How to get .APK on to hardware?

Post by dave_probertGA6e24 » Tue May 07, 2013 9:21 pm

Thanks Jacque,

That info on DroidNAS was very useful - I just tried it and it's much better than plugging in SD cards / Cables / etc. A Major increase in test phase productivity - much more efficient.

Thanks again.

Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

PaulMaguire
Posts: 44
Joined: Wed Feb 13, 2013 3:38 pm
Contact:

Re: How to get .APK on to hardware?

Post by PaulMaguire » Wed May 08, 2013 10:56 am

Thank you very much indeed Jaqueline! Excellent help.

Kind regards, Paul.

Post Reply