Re: starting an LC Android app takes up to 15 seconds

2014-10-07 Thread Matthias Rebbe | M-R-D
Andy,

thank you very much. That was very helpful.

Matthias

Am 07.10.2014 um 21:24 schrieb AndyP :

> Hi Matthias,
> 
> I had the same issue on my first Android build.
> My first run gave me 8-12 seconds of black screen. Using the suggestions
> below brought this down to about 1.5 secs.
> 
> I've learn't that it's very important on Android not to have too much going
> on in the PreOpenStack and OpenStack handlers. Especially do not load files,
> databases etc. It's ok to define your globals in the stack script.
> 
> Jump directlyto a card (no visual effects) from the OpenStack handler so
> that the user has something to look at or read, then put what you would
> normally put in PreOpenStack and OpenStack for loading files and databases
> in the cards script.
> 
> Hope this helps
> 
> 
> 
> 
> 
> -
> Andy Piddock 
> 
> 
> My software never has bugs. It just develops random features. 
> 
> Copy the new cloud space, get your free 15GB space now:
> Get Copy 
> 
> 
> My Tech site http://2108.co.uk  
> 
> PointandSee is a FREE simple but full featured under cursor colour picker / 
> finder.
> http://www.pointandsee.co.uk  - made with LiveCode
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/starting-an-LC-Android-app-takes-up-to-15-seconds-tp4684251p4684253.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: starting an LC Android app takes up to 15 seconds

2014-10-07 Thread AndyP
Hi Matthias,

I had the same issue on my first Android build.
My first run gave me 8-12 seconds of black screen. Using the suggestions
below brought this down to about 1.5 secs.

I've learn't that it's very important on Android not to have too much going
on in the PreOpenStack and OpenStack handlers. Especially do not load files,
databases etc. It's ok to define your globals in the stack script.

Jump directlyto a card (no visual effects) from the OpenStack handler so
that the user has something to look at or read, then put what you would
normally put in PreOpenStack and OpenStack for loading files and databases
in the cards script.

Hope this helps





-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


My Tech site http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/starting-an-LC-Android-app-takes-up-to-15-seconds-tp4684251p4684253.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


starting an LC Android app takes up to 15 seconds

2014-10-07 Thread Matthias Rebbe | M-R-D
Hi,

i have created an Android App which takes about 10 to 15 seconds to start. The 
user sees a black screen in the meantime.
Not the best user experience.

The app is about 2.5mb in size and uses a Datagrid and SpreadLib (XLSX import 
Library).

Tried it on a 10" tablet and also on 2 different Android Phones. 

What is causing this slow loading? 2.5MB app size should not be a problem with 
4gb memory and 16gb flash memory, shouldn´t it?

Is there anything i can do to speed up the start?

Any ideas?

Regards,

Matthias





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode