App runs slow on phones, fast on tablets

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulcolq
Posts: 5
Joined: Sat Apr 04, 2015 7:38 am

App runs slow on phones, fast on tablets

Post by paulcolq » Fri May 15, 2015 12:33 pm

I have an app currently in the Google Play store. It runs full speed on the Acer Iconia tablet I use for development, but is painfully slow on my Sony Xperia phone, and has been reported as slow on a Galaxy S4 as well.

By slow, I mean I can see the individual steps when a set of fields is resized and moved, with seconds between each step.

Any suggestions as to what sort of things I should be looking for?

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

Re: App runs slow on phones, fast on tablets

Post by MaxV » Wed May 20, 2015 10:53 am

Instead of
  • On OpenCard
  • On OpenStack
use
  • On PreOpenCard
  • On PreOpenStack
moreover use lock screen and unlock screen. This should speed up image processing.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

paulcolq
Posts: 5
Joined: Sat Apr 04, 2015 7:38 am

Re: App runs slow on phones, fast on tablets

Post by paulcolq » Mon May 25, 2015 10:20 pm

Fixed.

The problem was apparently memory usage. I had a large stack background image (1826x1826), and changing to a small (265x256) image seems to have fixed the problem.

Post Reply