Android Emulator

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
dabir0070
Posts: 5
Joined: Sun Aug 30, 2015 9:38 pm

Android Emulator

Post by dabir0070 » Sun Aug 30, 2015 10:18 pm

I created a very simple Stack with one button. It runs in Livecode. I setup the android emulator and install it to the emulator. It installs successfully, but nothing happens. I can see the app in the emulator, and when I click on the app the emulator screen goes blank for a few seconds and comes back to the home screen. I am expecting the app to show my stack with the button. What am I doing wrong? I have tried different devices, I have tried with and without hardware keyboard, I have tried everything - but I can install on the emulator but not run. Any help greatly appreciated.

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

Re: Android Emulator

Post by Simon » Sun Aug 30, 2015 11:42 pm

Hi dabir0070,
Welcome to the forums :)

Here is a simple 1 button stack that runs in the emulator;
dabir0070.zip
livecode 7.0.6
(1.03 KiB) Downloaded 188 times
and the avd;
2015-08-30_1537.png
and standalone settings
2015-08-30_1538.png
And man that emulator is a Pig... sloooow.

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Android Emulator

Post by MaxV » Mon Aug 31, 2015 12:02 pm

It's a Android library problem.
Update livecode to the last 7 version (no 8 ).
Then read this: http://livecode.wikia.com/wiki/Android_ ... enviroment
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dabir0070
Posts: 5
Joined: Sun Aug 30, 2015 9:38 pm

Re: Android Emulator

Post by dabir0070 » Mon Aug 31, 2015 2:31 pm

Thanks, that works now, but I have not figured out why. It appears only when I select certain AVDs.
I have the latests stable version 7 of Livecode installed, and I did follow the link given above.
I am evaluating LiveCode and I do have another problem, relating to playing mp3 file and image resizing, but I guess I better post this in a new thread.

Post Reply