Using Launch Command on Android

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: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Gage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm

Using Launch Command on Android

Post by Gage » Wed Jan 29, 2014 10:59 pm

Hello, I am building a mobile app that will need to be able to launch other apps as part of a demonstration.

I have been trying to figure out how to get the launch command to do this on Android (smartphone and tablet), but have not had any luck yet.

I saw this thread and was concerned it may not be possible:
http://forums.runrev.com/viewtopic.php? ... oid#p93316

Here is the button script I am using:
launch "HealthSpirit"

...very simple. HealthSpirit is the name of another app installed on my phone. I have not indicated a folder path, mostly because I do not know one to specify.

Any suggestions?

Thanks!
Phil E.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Using Launch Command on Android

Post by Simon » Wed Jan 29, 2014 11:17 pm

Hey Phil,
The dictionary says only "launch url" works on mobile.
I have seen ppl using Google docs for reading stuff but that is not for launching local apps.

I think Nakia has a method of launching an app based on a registered extension e.g. HealthSpirit.myliveCodeappExtention but again that is if it's a link from an email or website and you built the app.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Gage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 224
Joined: Tue Mar 26, 2013 8:59 pm

Re: Using Launch Command on Android

Post by Gage » Wed Jan 29, 2014 11:27 pm

Strange, OK.

The HealthSpirit app was not developed in LiveCode, so I don't think that would work anyway.

I would think that would be somewhat of a standard mobile API call, and therefore be built into LiveCode! Guess not. I'll have to find another way.

Thanks for your help, Simon!

Best,
Phil E.

Post Reply