×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    4

    Exclamation mobile app. start-up is very SLOW

    hi guys, i have this mobile application with around 14,000 .amr audio files within its .src folder, is there a way that i could make this mobile app's start-up FASTER? coz it takes around 25-30 secs to load the first screen, i actually tried to put a splash screen also , but then, it also takes that same amount of time to load the splash screen, any solutions?

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: mobile app. start-up is very SLOW

    First, if you're loading these files in the MIDlet's constructor or in startApp(), then don't. I recommend you remove all code from the contructor, and keep startApp() as short as possible. Methods like startApp() that respond to events sent from the device itself must return as quickly as possible, If you need to do something time consuming, then you need to start a thread to do it. This won't make the loading faster, but it will enable the application to display things and remain responsive to input while it loads.

    Do you need to load everything during start up? This will not only be time consuming, but will take a lot of memory, and restrict the range of devices on which your application will work. Is it possible to load them as you need them? Or load certain groups as required?

    Graham.

Similar Threads

  1. SetExposureL - is very slow
    By squamata in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2007-11-12, 07:47
  2. getResponseCode is very slow!
    By but0092 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2007-09-18, 12:01
  3. getSnapshot is very slow?
    By diluo in forum Mobile Java General
    Replies: 0
    Last Post: 2005-10-28, 11:28
  4. Midlet start very slow
    By mengqb in forum Mobile Java General
    Replies: 6
    Last Post: 2004-09-14, 16:52
  5. BC++ Mobile Edition is very slow?
    By sumn79 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-12-05, 02:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×