Test vs. Load From Menu...

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Test vs. Load From Menu...

Post by paulsr » Sun Mar 02, 2014 10:53 am

Greetings:

I'm still trying to get my brain around the problems in porting from iOS to Android. I'm seeing something strange, and I can't figure whether or not it should concern me.

Working with a real Android device - when I click Test in LC, the app is transferred to the device, and the app loads and runs. So far so good.

The app is also stored on the device. If I tap the app's icon (i.e. the app I've just transferred using Test) the app loads, but the display is - well - a total mess. Some fields are misplaced, and some are not visible.

But; if I turn off the phone, then turn it on, and then tap the app's icon, it loads and displays just fine. And it reloads just fine every time I tap the icon.

The app only looks a mess if I tap the icon after loading the app with Test. Is this something I need to worry about???

Thanks...

--paul

LC 6.6 (dp1) on Mac & Moto G

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Test vs. Load From Menu...

Post by Mark » Tue Mar 04, 2014 12:02 am

Hi Paul,

I have never seen something like this. When testing an app on Android, I install the app through Dropbox or by writing it directly on the memory card. I don't use the Test menu item. Because I have never seen the problem you describe, I don't think your customers are going to have it either. However, you may want to do a new test with a completely fresh install of your complete app rather than the Test menu item. If the problem doesn't occur with a fresh install, you won't have to worry.

There is also a possibility that the mess only appears when the app starts for the first time and that it has nothing to do with how the app is installed. In that case, your customers may see this problem too. Probably, a resizeStack command or perhaps a revUpdateGeometry command will solve it. If you're using MobGUI or another third-party tool, you may have to use some command or function from that tool.

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

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: Test vs. Load From Menu...

Post by paulsr » Tue Mar 04, 2014 7:38 am

Many thanks Mark ... a resizeStack seems to have fixed the problem.

--paul

Post Reply