Page 3 of 3

Re: LiveCode program on mobile

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

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

Regards Lagi

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

Re: LiveCode program on mobile

Posted: Fri Jul 15, 2016 1:49 pm
by MaxV
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

Re: LiveCode program on mobile

Posted: Fri Jul 15, 2016 3:59 pm
by jacque
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.

Re: LiveCode program on mobile

Posted: Fri Jul 15, 2016 4:45 pm
by Lagi Pittas
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

Re: LiveCode program on mobile

Posted: Fri Jul 15, 2016 4:46 pm
by FourthWorld
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.

Re: LiveCode program on mobile

Posted: Fri Jul 15, 2016 5:02 pm
by jacque
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.