How can I speed up loading time on Android?

Hello!
I'm creating an AIR app for Android and I've run into an issue with the loading time: when the user first clicks on the icon, there's 10 seconds of black screen before the first screen of my app appears. At least this happens on older Android devices. The delay is only a second or two on newer devices. I know this question has been asked before:
http://forums.adobe.com/thread/764981
http://forums.adobe.com/message/4035208#4035208
http://zehfernando.com/2011/a-mobile-air-application-post-mortem/
But I haven't been able to find an answer that's worked for me. I've tried a a preloader and I've found that even loading the tiniest app takes around 10 seconds. This is how long it took me to load an app that was just a single frame with a simple rectangle image in it. From what I've read, the issue is that the Android device is loading the AIR runtime, and this takes time - no matter how small the actual app is. I should add that I'm using captive runtime.
I'm OK with the performance on new Android devices but, as far as I can tell, Android is so fragmented that many people are still running older devices and OS versions. So, I'd like to provide a good user experience on older devices. I think a ten second wait is just too long and will kill the entire experience for many people.
Is there any update on this? Does anyone have a solution?
If I can't improve the loading time, I think I'll try to only make the app available for newer devices.
I've heard people taking about creating 'native wrapper' and somehow embedding their swf file in native code that has a loading screen. Has anyone got something like this work? I'm currently reading up on Android splash screens in native code. They seem relatively simple to create. I hope I can somehow embed my swf in a native program with a splash screen. Any help is appreciated!
Thanks!
Damian

Hi Anton,
Yes, I tried launching an empty project with just one frame and a simple rectange image embedded in it. This also took 10 seconds to load. Yes, I'm using AIR 4.0 as well. As far as I can tell, the issue is AIR itself is taking time to load onto the device - and this is independent of what I put in my program. I think I have three options:
1. learn to live with the delay
2. decide it's too long and not support older Android devices with my app
3. figure out if I can embed my swf in a "native wrapper" as suggested in one of my original three links.
I'm hoping to do 3, but I don't know if it's possible.
Damian

Similar Messages

  • How can i reduce applet loading time?

    I have recently begun converting a gui application to an applet. The problem i have is the loading time of the applet which can be several minutes.
    The gui has a progress bar which tracks the loading of the classes, images and sounds etc, once this is up and running the loading time is fairly short, however it takes forever for the gui to actually begin to display.
    The code for the classes is only about 150K altogether, there seems to a period of long modem inactivity once the applet is initialized before the gui is displayed.
    How can i reduce the time it takes for the applet to initialize before the gui is displayed, otherwise users will thing nothing is happening and not bother loading it.
    the applet is currently at http://www.winnieinternet.com/games/startrade2095/applet/startrade2095.htm
    if you need a demo of the problem, although the applet is still work in progress.
    Many thanks in advance for any help
    W.Coleman
    www.winnieinternet.com

    Some suggestions could be:
    1. Bundle all classes and resource files in a jar file.
    2. Try to preload the heavier files (e.g. sound files) in a background thread, instead of init() method. See an example for this in Sun's Java tutorial, under the trail 'Sound'.

  • How can I speed up the time it takes to deliver mail to lists I build in Workgroup Manager?

    My research group uses Workplace Manger to create mailing lists that we use to email each other. The lists work correctly, but take a long time - when an email is sent from any computer to the mailing address we create (like [email protected]), it takes anywhere from 10 minutes to hours for that email to actually be sent to the people on the list. We currently have about 20 people on the list. The server is a group computer with permanent internet access. Are there any settings I could change or update to make this delivery faster?

    Nothing you can do. Presently the Apple servers are overloaded because of iOS 6.

  • How can I speed up loading of video clips in Elements 9.0?

    Hi,
    I upgraded from 7.0 to 8.0 and was unhappy with the product, so upgraded again to 9.0 (Elements and Premiere). Right now the problem is that it takes 20-25 seconds to load a short video clip, i.e. to play it.
    I am running with an Intel Core 2 Duo CPU 2.20 Ghz/2.20+GHz with 3 GB of ram.
    Any ideas?
    Thanks!

    As a practical example it originally took 3 min to load a 1 hour 29 minute wedding & reception I shot in ACVHD 1080x1900. This was using one disk for all PE9 functions.
    I defraged my drives and arranged the program and pagefile on one disk (C:), the project on another and recaptured the media onto the third drive
    The same project then  took 1 minute to load or if I do it seperately, 20 seconds loading the program and 40 seconds the media
    I can move up and down the full length of the long timeline quite quickly.
    I have 2.4g core duo and 2mb ram
    This is discussed to in many posts in this forum
    So you know what to do!

  • Since the update to Yosemite the MacBook has slowed down appreciably. Safari for example takes upwards of 30 seconds to load. How can I speed things up?

    Since the update to Yosemite the MacBook has slowed down appreciably. Safari for example takes upwards of 30 seconds to load. How can I speed things up?

    Hi ..
    Not enough free storage space can slow your Mac down.
    Click your Apple menu icon top left in your screen. From the drop down menu click About This Mac > More Info > Storage. Make sure there's at least 15% free disk space.
    Freeing space on your Mac OS X startup disk
    OS X Tips Where did my Disk Space go?
    Check to see if the startup disk needs repairing.
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk (not Verify Disk Permissions)
    If Disk Utility reports errors, restart your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities in OS X Recovery to repair the startup disk.
    Make sure to back up all important data first before using OS X Recovery.
    Anti virus software, as well as third party Mac cleaning utilities such as MacKeeper  and CleanMyMac can also slow your Mac down.
    For Safari.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Relaunch Safari to test. if that doesn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • How can I accelecate the load of the public homepage?

    Hi all,
    we have implemented several portal projects. But all the time we
    not able to solve one problem. How can I speed up the initial
    load of the public homepage.
    We have implemented distributed environment (e.g. app server and
    database on different machines). We have applied all the
    patches. We are working with mutiple cpus and a huge amount of
    main memory. We have read the manuals about apache tuning.
    But we have still a performance problem with the public homepage
    of a portal installation. A workaround is a static html page at
    first. But we don't like it.
    Any ideas are very appreciated.
    Thanks,
    Ingo

    Hi all,
    we have implemented several portal projects. But all the time we
    not able to solve one problem. How can I speed up the initial
    load of the public homepage.
    We have implemented distributed environment (e.g. app server and
    database on different machines). We have applied all the
    patches. We are working with mutiple cpus and a huge amount of
    main memory. We have read the manuals about apache tuning.
    But we have still a performance problem with the public homepage
    of a portal installation. A workaround is a static html page at
    first. But we don't like it.
    Any ideas are very appreciated.
    Thanks,
    Ingo

  • How can I speed up slow Maverick on MacBook Pro?

    question or problem: How can I speed up slow Maverick on MacBook Pro?
    answer or solution:  Per Apple Genius in Palo Alto,  CA
    Maverick consumes almost my entire 4 GB of ram memory shown in Activity Monitor.
    Found under Applications-->Utilities-->Activity Monitor
    Will purchase two 4 GB banks and install myself using inexpensive tools.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?

    I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?  Thanks in advance for all of your help!

    Hi
    Time needed can depend on several things.
    • less than 5 GB free space on Start-up (Mac OS) hard disk = Redicolous long times AND a DVD that most probably will not work OK
    Medicine - I never go under 25GB free space
    • Use of strange file formats into iDVD - can force it to de-code first then re-encode - this can take long long times
    I use
    Video - StreamingDV as from miniDV tape Cameras - or QuickTime Movies Converted to StreamingDV
    Audio - .aiff 16-bit 48 kHz - (no .mp3, .wma etc)
    • Use of old Mac - My G4 600MHz took about 24 hour per hour movie. my dG5 - about 2 hours per hour (I use Pro Quality encoding)
    • Pro Quality encoding - takes about x2 to process a movie
    Yours Bengt W

  • Leopard install says it will take 24+ hours... how can I speed things up?

    I encountered some issues with my previous installation of Leopard, so I decided to format, and re-install it.
    I start the installation using "Erase and Install" and after the disk verifies, I start the installation. Only problem is, the installation's giving me an estimated time remaining of 26 hours.
    How can I speed things up?

    monkeyhihi1 wrote:
    I encountered some issues with my previous installation of Leopard, so I decided to format, and re-install it.
    I start the installation using "Erase and Install" and after the disk verifies, I start the installation. Only problem is, the installation's giving me an estimated time remaining of 26 hours.
    Welcome to Apple Discussions:
    That first estimate can be very erroneous. It should quickly settle down to a more reasonable number.

  • How can we speed up delta Process?

    Hi All,
    As per control parameter settings we have max. no processes as 6 and 10 data packages for one Info doc and its the same for that particular infosource settings.
    but when we schedule the delta info package( R/3 - BW ODS) it is using only one process and one (data package per Idoc.
    But when the data is being updated from ODS to cube its using 6 processes ( in SM66) and  almost 6-10 data packages( details tab in scheduler page).
    How can we speed up the delta load from R/3 to ODS, and make it use upto 6 processes.
    Where can I check these settings?
    Thanks in advance.
    Robyn.

    hi
    one of the method to improove the performance in loading to ODS.
    Go for PSA partintioning through RSCUSTV6
    and u can partition the ODS object also RACUSTA2
    then whole data set will split in to the several data packets in PSA and in ODS.
    hope it helps
    bhaskar.

  • How can I speed up PDF generation?

    I am working on 2 manuals in Frame 10, unstructured. I have installed all the latest FM patches. The smaller manual is 270 pages with 200 graphics inserted by reference. It takes 2.5 hours to "Save as PDF." The larger manual is 500 pages, 250 graphics and takes 3 hours to "Save as PDF".
    I have converted graphics to smaller .jpg files. I have freed up as much space on my PC as possible - it has 4GB memory and 300 GB hard drive space available, dual processor with i3 chip. I delete Temp files and reboot before creating PDF.
    If I turn off graphics (Esc+v+v), the PDF is created in just a few minutes.
    What else can I do to produce a complete PDF with graphics in a reasonable amount of time?

    I am a lone writer working on a single PC. No network drives. I open all files in the book before creating PDF.
    Many of the graphics are product photos - how to assemble, etc. I was provided with .psd and .jpg versions. Originally inserted the .psd ones, but then consultant advised us to use the .jpg instead. PDF generation is extremely long either way. Also had numerous huge .tif files that I saved to much smaller .jpg.
    Manuals will be localized and printed. What type of graphics are advised in this case - for good print quality and efficient PDF generation?  
    doolie
    Date: Thu, 26 Jan 2012 11:33:15 -0700
    From: [email protected]
    To: [email protected]
    Subject: How can I speed up PDF generation?
        Re: How can I speed up PDF generation?
        created by Error7103 in FrameMaker General Discussion - View the full discussion
    Are the Frame files and/or the imported objects coming from network servers? If so, you might get a speed up by saving to manual to the local machine prior to printing, and printing to PostScript, where the .ps file is on the local machine. Then Distill separately (if you have the full Acrobat product). Distilling separately* at least frees up Frame for that part of the rendering. I have converted graphics to smaller .jpg files. From what? And I wouldn't have bet that using JPEG would help. The files may be smaller, but they still need to be filtered for export to Ps or PDF, and if they are raster, they may be subject to further processing during PDF generation based on the subsampling specified. You might try sending the objects as EPS (which requires minimal processing into Ps), and you might try making sure that raster images are already at the desired dpi, and require no further downsampling in the rendering flow.

  • I have just bought a movie and it says its going to take 170 mites to load. Can i make the loading time shorter?

    I have just bought a movie and it says its going to take 170 mites to load. Can i make the loading time shorter?

    Either by decreasing playback quality from HD to SD or HD 1080p to 720p.
    Sounds as though your internet (like mine( is not fast enough for instant playback.
    AppleTV need to buffer the video if internet speeds are below:
    8 Mbps for 1080p
    6 Mbps for 720p
    2.5 Mbps for SD

  • Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up?

    Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up? can somebody help me thanks

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • How can I stop the loading of "Getting Started with Mozilla Firefox?", which has greatly slowed down the startup of Firefox.

    Firefox used to start up fairly quickly, but now it loads an additional more complicated tab, which has greatly slowed down the start up process. How can I eliminate the loading of this time waster?

    See these articles for some suggestions:
    *https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved
    Use this to go to the Firefox Profile Folder
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How can I speed up my MacBook Pro 5,1

    I have a late 2008 MacBook Pro 5, 1
    Processor:   Intel Core 2 Duo
    Processor Speed:   2.4GHz
    Number of Processors:  1
    Total Number of Cores:  2
    Memory 4 GB
    SAT 320 Hard Drive
    How can I speed this up.   I've updated to Maverick
    I've read about adding an SSD - will this work?    Can a novice install???
    Thanks,  Linda

    A model 5.1 MBP, late 15" 2008 can accommodate 8 GB RAM.  That will help since you are using Mavericks.  The best sources for Mac compatible RAM are OWC and Crucial. 
    linda66 wrote:
    I've updated to Maverick
    Snow Leopard is still the most efficient OSX from Apple.  I use it on my 2010 MBP.
    I've read about adding an SSD - will this work?    Can a novice install???
    A SSD will enhance performance significantly in boot, shutdown and resource intensive applications.  In all other aspects, performance will remain the same (such as e-mail, text edit, Internet browsing).
    Installation is easy.  Look at this video from OWC:
    http://eshop.macsales.com/installvideos/macbookpro_15_unibody_hd/
    Understand that SSDs are still expensive.  Consider a hybrid drive, which I use.  For a small premium in price compared to a conventional HDD you do get faster boot and shutoff times.  The same in all other respects.
    Ciao.

Maybe you are looking for

  • Laserjet 200 color m251 won't print in office picture manager

    Windows 7 pro, service pack 1. HP laserjet 200 color m251 pcl6 will not print in office picture manager or photo viewer. will print using quick time. any suggestions?

  • 2 dropdownboxs, filtering second off the the value in first

    Hello, This seem logically simple to me, I had 1 dropdownbox that filters the results of the other dropdownbox Was using the model filter but was unable to get it working with how I have my dropdownboxs setup, then I tried using a formatter but again

  • How do i modify a pdf already downloaded

    how do i modify a pdf

  • No robohelp html x5.0.2 cli

    I just finished installing this on our build machine only to discover that there is, apparently, no command line interface that I can use in my build scripts to automatically convert robohelp input files to html files. I've searched and searched and

  • Conflicting functions AS 2.0

    Is there a way to make the onMouseDown function also work within the MovieClips area in this code example?  It seems like the two functions are conflicting. attachMovie("nutrition","nutrition",4,{_x:715, _y:370}); nutrition.gotoAndPlay(); nutrition.o