iOS externals prevent testing on Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
iOS externals prevent testing on Android
Hi,
i'm working on my first multiplatform mobile app. The app uses two great externals by Monte (mergPop and mergSocial). I kwow that they don't work on Android but I discover that if I leave them on the Copy Files list (on standalone Application Settings) the standalone refuse to work when I try Android testing.
So I have to delete them from the list before to test on Android, this causes problems testing an Android-iOS standalone. Maybe I missed something?
i'm working on my first multiplatform mobile app. The app uses two great externals by Monte (mergPop and mergSocial). I kwow that they don't work on Android but I discover that if I leave them on the Copy Files list (on standalone Application Settings) the standalone refuse to work when I try Android testing.
So I have to delete them from the list before to test on Android, this causes problems testing an Android-iOS standalone. Maybe I missed something?
Re: iOS externals prevent testing on Android
Hi,
What problems do you encounter while testing an Android-iOS standalone?
Kind regards,
Mark
What problems do you encounter while testing an Android-iOS standalone?
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
Hi Mark,
the app installs and launches but I get a black screen.
the app installs and launches but I get a black screen.
Re: iOS externals prevent testing on Android
Hi,
That's very little information. Can't you say anything else, e.g. does the app crash or does it appear to continue running? If you make a completely empty, new stack, does the same black screen appear? What do you have in your startUp, preOpenStack and preOpenCard handlers? Did you remove all scripts using those externals? Do you hear a beep if you put the beep command into the first line of the preOpenCard script?
Best regards,
Mark
That's very little information. Can't you say anything else, e.g. does the app crash or does it appear to continue running? If you make a completely empty, new stack, does the same black screen appear? What do you have in your startUp, preOpenStack and preOpenCard handlers? Did you remove all scripts using those externals? Do you hear a beep if you put the beep command into the first line of the preOpenCard script?
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
Thank you for your replay Mark, your post let me the hope that all should work correctly on Android also with those externals listed in copy files... so OK I will do some more tests to learn if the problem is related with something in the code and to learnr at what point the stack freezes.
PS
And not, I don't use any external feature when the standalone runs on Android.
PS
And not, I don't use any external feature when the standalone runs on Android.
Last edited by Mag on Mon May 20, 2013 3:24 am, edited 1 time in total.
Re: iOS externals prevent testing on Android
Ok, done some testing.
I created a new mainstack
Added a button
Put an answer statement in the button
Run in Android device
All worked great
Then I add "mergPop.lcext" in the Copy Files list
Run in Android device
The app launces but before to show anything closes
I created a new mainstack
Added a button
Put an answer statement in the button
Run in Android device
All worked great
Then I add "mergPop.lcext" in the Copy Files list
Run in Android device
The app launces but before to show anything closes
Re: iOS externals prevent testing on Android
Hi,
You mean, the app crashed if you include a file that shouldn't be included in the first place and not including the file solves the problem. Was this a question, or did you just want to warn people not to include iOS externals on Android?
Kind regards,
Mark
You mean, the app crashed if you include a file that shouldn't be included in the first place and not including the file solves the problem. Was this a question, or did you just want to warn people not to include iOS externals on Android?
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
Hi Mag,
I don't think the externals should be included if they serve no use on Android, but do you check "the platform" before getting to the externals so it does not even try to run them?
Simon
I don't think the externals should be included if they serve no use on Android, but do you check "the platform" before getting to the externals so it does not even try to run them?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: iOS externals prevent testing on Android
Simon,
He says he doesn't use the externals on Android. I'd assume it means he removes or otherwise disables any scripts that use those externals. It is why I asked if he removed the scripts.
Best,
Mark
He says he doesn't use the externals on Android. I'd assume it means he removes or otherwise disables any scripts that use those externals. It is why I asked if he removed the scripts.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
I opened the topic to learn if I it's mandatary to remove the iOS external before to test on Android. So, after this useful discussion, I leant that the replay is: yes, you have to remove the iOS externals every time you have to run a test on Android because if you leave them, on Android the app crashes, no matter if the externals are caller or not in the code, it's enough their presence.Mark wrote:Hi,
You mean, the app crashed if you include a file that shouldn't be included in the first place and not including the file solves the problem. Was this a question, or did you just want to warn people not to include iOS externals on Android?
Kind regards,
Mark
Last edited by Mag on Mon May 20, 2013 1:52 pm, edited 2 times in total.
Re: iOS externals prevent testing on Android
I will try to uncheck iOS in the standalone settings before to run test in Android, thanks.Simon wrote:Hi Mag,
I don't think the externals should be included if they serve no use on Android, but do you check "the platform" before getting to the externals so it does not even try to run them?
Simon
Thank you Mark and Simon for the posts and help.
Re: iOS externals prevent testing on Android
Hi,
But I really would like to know if you' disabled all calls to the externals, because if you didn't, the app probably encounters an execution error, which may stop it from starting properly.
Kind regards,
Mark
But I really would like to know if you' disabled all calls to the externals, because if you didn't, the app probably encounters an execution error, which may stop it from starting properly.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
Hi Mark,Mark wrote:Hi,
But I really would like to know if you' disabled all calls to the externals, because if you didn't, the app probably encounters an execution error, which may stop it from starting properly.
Kind regards,
Mark
yes, this is the test I done:
_____________________
I launched LC
I created a new mainstack
I added a button
I put an answer statement in the button
I run in Android device
All worked great
Then
I add "mergPop.lcext" in the Copy Files list
Run again in Android device
The app launces but before to show anything closes
_____________________
The only code in the stack is:
on mouseUp
answer "Ciao"
end mouseUp
Re: iOS externals prevent testing on Android
Hi,
I see what you did now. That's useful to know. Yes, I realise you posted this before, but it didn't get to me because of the earlier context. Thanks for making it clear.
Kind regards,
Mark
I see what you did now. That's useful to know. Yes, I realise you posted this before, but it didn't get to me because of the earlier context. Thanks for making it clear.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: iOS externals prevent testing on Android
Thanks Mark
To be sure I did another test making sure that the checkbox iOS is unchecked on Standalone Application Settings. No change, the app crashes on startup on Android.
To be sure I did another test making sure that the checkbox iOS is unchecked on Standalone Application Settings. No change, the app crashes on startup on Android.