LiveCode program on mobile

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Mon Jun 10, 2013 1:32 pm

Re: LiveCode program on mobile

Post by Lagi Pittas » Thu Jul 14, 2016 3:29 pm

Hi

I don't even bother with clicking on test on the menu bar.

You can get the app on an Android device in 2 main ways (actually 3 main ways - no one expects the Spanish Inquisition)

Our chief weapon is surprise...surprise and email ... and the file explorer ...

1. Email it to the device and click on the attachment and it will install
2. Double click on the device when you see it on your machine (usually the name of the device - as a media player). You will then see" phone storage", click that and you will see many folders. Alarms, Ringtones ,Download, DCIM etc. I copy the apk file into DCIM (where the camera pictures go ) then run the Android file explorer you will see the same "phone storage" click on that and go to DCIM folder where you can double click on the apk and install it.
3. Same as 2 but I have dual Usb Sticks with a Standard USB connector on 1 side and a micro/Samsung USB connector on the other (I also have a triple one that has the Lightening connector for Iphones -just brilliant!!). Anyway just go to the same DCIM folder as before and install after installing your memory stick.
4. Install using Aqueducts and a comfy pillow - 4 ways **

Even the email method is faster than loading the simulator.

There is a faster simulator available but it doesn't beat the real thing
https://www.genymotion.com/

Regards Lagi

** With apologies to those who don't appreciate Monty Python humour.

https://people.csail.mit.edu/paulfitz/s ... cript.html
https://www.youtube.com/watch?v=Nf_Y4MbUCLY

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: LiveCode program on mobile

Post by MaxV » Fri Jul 15, 2016 1:49 pm

To install on real device I usually:
  1. Create the app, the APK file
  2. connect the phone to the PC
  3. copy the apk on SD of the mobile phone
  4. disconnect the phone from the PC
  5. use the file browser to install the APK
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5155
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode program on mobile

Post by jacque » Fri Jul 15, 2016 3:59 pm

The fastest way for me is via Dropbox. Drag the apk there, open dropbox on the phone, and tap the file. No cable needed. This should work with any cloud service that has an Android client.

If I'm doing a lot of testing I do cable the phone to the computer. Clicking the test button is faster than any other method, as long as you are using a real device and not the emulator.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Mon Jun 10, 2013 1:32 pm

Re: LiveCode program on mobile

Post by Lagi Pittas » Fri Jul 15, 2016 4:45 pm

Hi Jacque,

I believe I used the Dropbox method (5 ways now including the comfy pillow) from one of your recommendations ages ago then forgot about it - and I use dropbox everyday for the realtime sourcecode backup and to keep my PC laptop and Mac all in sync - what a timesaver.

But you've now reminded me and I have just purchased your Airlauch for IOS - will be using it in a month or 2.
My projects run on windows and Android at the moment but the Bosses have Iphones so I will be working on IOS real soon.

For $49 dollars if only save an hour I've made my money - but i'm sure it will save much more than that as it's not as straightforward as Android.

Regards Lagi

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7024
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode program on mobile

Post by FourthWorld » Fri Jul 15, 2016 4:46 pm

I do something similar to Jacque, but instead of Dropbox I use one of my web servers.

Lately, at least during early-stage development, I've taken it a step further: I don't even build standalones.

I built one standalone with all features/permissions enabled, and installed that on my test devices by downloading it from my server.

The standalone contains only a very simple script to download a sort of menu stack from my server, which has a button for each project I'm working on.

In that stack I click a button, and it downloads that app's stack file from my server so I can test.

To upload my app stacks I wrote a plugin that saves the stack and calls SCP through LC's shell function.

So whenever I want to test I just click a button in the IDE, pick up my phone, and by the time I've opened by launcher stack the app stack is already finished uploading so I just click the button for that in my menu stack and it downloads it in just a second or so and I'm ready to test.

This workflow took less than an hour to set up, and has saved me at least a hundred hours waiting for standalone building and then transferring the much larger APK.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5155
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode program on mobile

Post by jacque » Fri Jul 15, 2016 5:02 pm

I actually do the same thing as Richard but I didn't want to type out all the details. But instead of buttons I have the launcher app read a text file from Dropbox and put the list into a list field. Then I select the stack I want from the list and click a button that opens it.

In this way I don't need to update the launcher app, I only need to edit the text file when adding new stacks.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”