No splash screen for Android app

Hello, Newbie here.  I just built my first PhoneGap app build IOS/Android and with success running the build process and installed applications on an iPhone 6 (IOS) and Samsung Galaxy S7 (Android).  The apps look and work great, except...  It doesn't seem to be a startup on the Android app screen.  The IOS app works perfectly and shows my screen for about 3 seconds.  The Android app seems to go directly to my main screen, although there seems to be a flash of a white screen for a millisecond.  I searched a bit but can't find anything that seems relevant.  I started with the example phonegap application and modified the files from there.  Here's my config.xml file located at the root of the folder www.  I used the same structure of folders and filenames as the sample application.  I have to do something special to make it work in Android?

" < widget xmlns =" http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 "id =" com.ssa - corp.metalcalculator "version ="2.0.0"> "

< name > steel weight calculator Service < / name >

< description > Service steel aerospace metal mass calculator and unit converter. < / description >

" < author href = ' http://www.SSA-Corp.com "email =" [email protected] "> aeronautical steel Service < / author > " "

< src = "index.html" / content >

< name of option = "DisallowOverscroll" value = "true" / >

< name of option = "android-minSdkVersion" value = "14" / >

< plugin name = "cordova-plugin-battery-status" source = "MNP" spec="~1.1.1"/ >

< plugin name = 'cordova-plugin-camera' source = 'MNP' spec="~2.1.1"/ >

< plugin name = "cordova-plugin-media-capture" source = "MNP" spec="~1.2.0"/ >

< plugin name = "cordova-plugin-console" source = "MNP" spec="~1.0.2"/ >

< plugin name = 'cordova-plugin-contacts' source = 'MNP' spec="~2.0.1"/ >

< plugin name = 'cordova-plugin-device' source = 'MNP' spec="~1.1.1"/ >

< plugin name = 'cordova-plugin-device-motion' source = 'MNP' spec="~1.2.0"/ >

< plugin name = "cordova-plugin-device-orientation" source = "MNP" spec="~1.0.2"/ >

< plugin name = "cordova-plugin-dialogues" source = "MNP" spec="~1.2.0"/ >

< name of the plugin = source "cordova-plugin-file" = "MNP" spec="~4.1.1"/ >

< name of the plugin = 'cordova-plugin-transfer files' source = 'MNP' spec="~1.5.0"/ >

< plugin name = "cordova-plugin-Geolocation" source = "MNP" spec="~2.1.0"/ >

< plugin name = "cordova-plugin-globalization" source = "MNP" spec="~1.0.3"/ >

< plugin name = "cordova-plugin-inappbrowser" source = "MNP" spec="~1.3.0"/ >

< plugin name = 'cordova-plugin-media' source = 'MNP' spec="~2.2.0"/ >

< plugin name = 'cordova-plugin-network-information' source = 'MNP' spec="~1.2.0"/ >

< plugin name = 'cordova-plugin-splashscreen' source = 'MNP' spec="~3.2.1"/ >

< plugin name = "statusbar-plugin-cordova" source = "MNP" spec="~2.1.2"/ >

< plugin name = 'cordova-plugin-vibration' source = 'MNP' spec="~2.1.0"/ >

< plugin name = "cordova-plugin-whitelist" source = "MNP" spec="~1.2.1"/ >

< src = "icon.png" / icon >

< platform name = "android" >

"< src="res/icon/android/drawable-ldpi-icon.png icon "density ="ldpi"/ >

"< src="res/icon/android/drawable-mdpi-icon.png icon "density ="mdpi"/ >

"< src="res/icon/android/drawable-hdpi-icon.png icon "density ="hdpi"/ >

"< src="res/icon/android/drawable-xhdpi-icon.png icon "density ="xhdpi"/ >

"< src="res/icon/android/drawable-xxhdpi-icon.png icon "density ="xxhdpi"/ >

"< src="res/icon/android/drawable-xxxhdpi-icon.png icon "density ="xxxhdpi"/ >

"< splash src="res/screen/android/drawable-land-ldpi-screen.png "density ="Earth-ldpi"/ >

"< splash src="res/screen/android/drawable-land-mdpi-screen.png "density ="Earth-mdpi"/ >

"< splash src="res/screen/android/drawable-land-hdpi-screen.png "density ="Earth-hdpi"/ >

"< splash src="res/screen/android/drawable-land-xhdpi-screen.png "density ="Earth-xhdpi"/ >

"< splash src="res/screen/android/drawable-land-xxhdpi-screen.png "density ="Earth-xxhdpi"/ >

"< splash src="res/screen/android/drawable-land-xxxhdpi-screen.png "density ="Earth-xxxhdpi"/ >

"< splash src="res/screen/android/drawable-port-ldpi-screen.png "density ="port-ldpi"/ >

"< splash src="res/screen/android/drawable-port-mdpi-screen.png "density ="port-mdpi"/ >

"< splash src="res/screen/android/drawable-port-hdpi-screen.png "density ="port-hdpi"/ >

"< splash src="res/screen/android/drawable-port-xhdpi-screen.png "density ="port-xhdpi"/ >

"< splash src="res/screen/android/drawable-port-xxhdpi-screen.png "density ="port-xxhdpi"/ >

"< splash src="res/screen/android/drawable-port-xxxhdpi-screen.png "density ="port-xxxhdpi"/ >

< / platform >

< platform name = "ios" >

"< src="res/icon/ios/icon.png icon "platform ="ios"width ="57"height ="57"/ >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "114" height = "114" / >

"< src="res/icon/ios/icon-40.png icon "platform ="ios"width ="40"height ="40"/ >

< icon src = "res/icon/ios/[email protected]" platform = 'ios' width = '80' height = '80' / >

"< src="res/icon/ios/icon-50.png icon "platform ="ios"width ="50"height ="50"/ >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "100" height = "100" / >

"< src="res/icon/ios/icon-60.png icon "platform ="ios"width ="60"height ="60"/ >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "120" height = "120" / >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "180" height = "180" / >

"< src="res/icon/ios/icon-72.png icon "platform ="ios"width ="72"height ="72"/ >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "144" height = "144" / >

"< src="res/icon/ios/icon-76.png icon "platform ="ios"width ="76"height ="76"/ >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "152" height = "152" / >

"< src="res/icon/ios/icon-small.png icon "platform ="ios"width ="29"height ="29"/ >

< icon src = "res/icon/ios/[email protected]" platform = 'ios' width = "58" height = "58" / >

< icon src = "res/icon/ios/[email protected]" platform = "ios" width = "87" height = "87" / >

"< splash src="res/screen/ios/Default-568h@2x~iphone.png "platform ="ios"width ="640"height ="1136"/ >

"< splash src="res/screen/ios/Default-667h.png "platform ="ios"width ="750"height ="1334"/ >

"< splash src="res/screen/ios/Default-736h.png "platform ="ios"width ="1242"height ="2208"/ >

"< splash src="res/screen/ios/Default-Landscape-736h.png "platform ="ios"width ="2208"height ="1242"/ >

"< splash src="res/screen/ios/Default-Landscape@2x~ipad.png "platform ="ios"width ="2048"height ="1536"/ >

"< splash src="res/screen/ios/Default-Landscape~ipad.png "platform ="ios"width ="1024"height ="768"/ >

"< splash src="res/screen/ios/Default-Portrait@2x~ipad.png "platform ="ios"width ="1536"height ="2048"/ >

"< splash src="res/screen/ios/Default-Portrait~ipad.png "platform ="ios"width ="768"height ="1024"/ >

"< splash src="res/screen/ios/Default@2x~iphone.png "platform ="ios"width ="640"height ="960"/ >

"< splash src="res/screen/ios/Default~iphone.png "platform ="ios"width ="320"height ="480"/ >

< / platform >

< access origin = "*" / >

" < allow intention href = ' http://*/* "/>

" < allow intention href = ' https://*/* "/>

< allow intention href = "Tel: *" / >

< allow intention href = "sms: *" / >

< allow intention href = "mailto:*" / >

< allow intention href = "geo: *" / >

< platform name = "android" >

< allow intention href = "market: *" / >

< / platform >

< platform name = "ios" >

< allow intention href = "itms: *" / >

< allow intention href = "itms-apps: *" / >

< / platform >

< / widget >

Ron

OK, I figured it out!

I've added the following preferences after my current preferences:

And I copied one of my screens starting at the root of the www folder and named splash.png

Now both Android and IOS the same behavior.

Ron

Tags: PhoneGap

Similar Questions

  • Splash screen for Android with Flash CS5.5

    How can I make a SplashScreen with Flash CS5.5 or simply with AIR/AS3 code. I need during the application/game is loading...

    I know it's possible with Flex 4.5 as:

    <? XML version ="1.0" encoding ="utf - 8"? "» >
    < s:ViewNavigatorApplication xmlns:fx ="""http://ns.adobe.com/mxml/2009"" "
    xmlns:s ='"library://ns.adobe.com/flex/spark" '
    firstView ='views. HomeView'
    splashScreenImage ="@Embed('splashscreen.png')" / >

    ...


    http://workflowflash.com/98437/air-for-Android-splash-screen-with-Flex-4-5.php

    But I want to do without Flex. If I can?

    Thank you

    Android does not officially support splash screens, you make the inside of your flash with the preloader file.

  • App for the splash screen for windows 8.1?

    Y at - it application for the splash screen for windows 8.1? I'm new on this but I tried to download it from the app store, but it appears only as a regular program instead of an application.

    OK, if it's Acrobat Pro, the choice is easy. There is no version of Acrobat Pro modern app. Business applications are not, in general, being converted to the modern, Microsoft position 'legacy' as the choice for applications of serious company despite its name suggesting 'old-fashioned, obsolete.

  • How do I create a simple editing with AppBuilder for Android App?

    Hello

    I am creating a single edition app for Android (like I did for iPad), but I don't see this option in the context menu when I tried to create the application in AB.

    Unique Edition is supported for Android apps?

    If this is not the case, how can we do something equivalent to the applications submitted to the Google game store?

    Thanks in advance.

    Mark

    Unique Edition is iPad only. You will need a pro or business account

    create Android applications.

  • BB10: Splash screen for landscape only app appears

    I can't seem to get my startup screen in my landscape only BB10 game.

    I tried

    Portrait.PNG:landscape.PNG

    that works fine in my other app (portrait and landscape) - (I just did a version of the portrait of my splash so to fit the syntax).

    Then I tried

    : landscape.png

    and

    Landscape.PNG

    Then I tried the format suggested in this article

    http://devblog.blackberry.com/2012/11/porting-air-playbook-apps-to-blackberry-10/ :

       
        
        
             splash-768x1280.png
             splash-1280x768.png
        
    

    (and Yes, I change the names of my files accordingly - even if I don't know who is supposed to be the portrait and landscape one and I also tried commenting on one or the other of the two files)

    I checked the files in the .bar file, and the manifesto still shows something like that, that looks all right:

    Entry-Point-Splash-Screen: (1280 x 768) air/splash - 1280 x 768-.png

    or when I use two files

    Entry-Point-Splash-Screen: {1280x768}air/splash-1280x768.png:{1280x768}air/splash-768x1280.png

    But no splash screen never appears unless I put

    true
    -app.xml file...

    Can anyone think of anything anyone else I can try?

    Anna

    My app: Get set - get up!   Get ready for the revolution snooze.

    have you tried to set the aspectRatio? I use this for all my apps in landscape

       false
        landscape
        false
        true
    

    and in your bardsescriptor / blackberry - just tablet.xml

    splash.png
    
  • Image of Splash Screen 9 Android patch

    Hello

    I was wondering if there is a way to use the 9 images of png fix like splash screens in the MAF?

    I tried to add 9 patch images via. the properties of application / deployment / android options / images of the application, but the images changed to normal .png files those deployed (checked inside the .apk file).

    Kind regards

    Ognjen

    Hello

    I wanted to just answering this question, as support for the 9-patch images has been added to the MAF 2.2.0 but was not part of the release notes.

    Kind regards

    Ognejn

  • Change of management devices for Android App

    Hello

    We have created two applications for iOS and Android. Our application is expected to be a Tablet app. In the options of iOS app, there is a drop down menu that says "Supported devices" and it has the ability to choose the tablet or phone or both. But on the Android app, this option does not appear. The app is now online and in the store of GooglePlay and it comes as being available to download for phones and do not work properly, it crashes.

    I know that the DPS should evolve correctly on the screen, but if we want a Tablet only, what should we do? We looked in the androidmanifest.xml inside the package Assembly with instructions .apk suggested using Google play Dev (distribution to specific screens |) Android developers). The file will appear garbled, with weird characters, and it does not open correctly. It is the right way or is there any workaround solution that we could do?

    Thank you

    Cindy

    Hi Cindy,.

    There is no way to limit the Android application for a specific class of device. In fact the developer documentation Android you accessed to actively discouraged from attempting to do.

    Neil

  • Air for Android App Playbook

    I tried to use the APK for BAR converter on the blackberry site.  I used an app, I've done in the Air Flash CS5.5 for Android.  When it has been sent for approval, I was sent that the app was rejected as she asked the user install Adobe Air.

    Now, I look and see that I need a Flash Builder project?  How can I use my CS5 flash project?  Command line tools keep telling me that I don't have an application descriptor file.  I have the MyName - app.xml and bar - descriptor.xml.

    Thank you.

    You must add all your assets to the .bar file explicitly. Using graph, on the first 'build air' tab on the bottom, there is the 'additional files' try add your Active Directory it.

  • Flash CS6 exports "Air for Android ' apps only with icons in small sizes: (36 x 36, 48 x 48, 72 x 72)... How to fix this?

    Hello

    I'm using Adobe Flash CS6 (15 AirSDK) for android applications. I have always noticed that the process of publication in flash is only 3 sizes of icons-app: 36 x 36, 48 x 48 and 72 x 72. In the descriptor xml that looks like this:

    <icon>
      <image36x36>assets/icon36.png</image36x36>
      <image48x48>assets/icon48.png</image48x48>
      <image72x72>assets/icon72.png</image72x72>
    </icon>

    In previous versions of AirSDK (3.4 and 3.5) this is less of a problem, since the app icons where at least somehow always put on the scale to fit the size of the icon of the application to the android device. With newer AirSDKs however they stay as they are, which is incredibly small on new devices and who looks just ridiculous! Since flash itself does not an option to add larger icons, I tried to write them in the descriptor myself, as:

    <icon>
      <image36x36>assets/icon36.png</image36x36>
      <image48x48>assets/icon48.png</image48x48>
      <image72x72>assets/icon72.png</image72x72>

      <image96x96>assets/icon96.png</image96x96>

      <image144x144>assets/icon144.png</image144x144>
    < / icon >

    But when I do that, flash that rewritten or, when I write of the descriptor protection, gives an error:

    "application descriptor file cannot be parsed.

    I need to get this fixed! :-S ...  I guess by either the reactivation of this scale-to-fit thingie in the SDK itself somehow (since it did and still does not work with for example AirSDK 3.4) or be able to add more icons. Is there someone who has to be treated, or knows how to get around this problem? Cause right now I'm stuck, since always, I compiled my AirForAndroidApps this way, and I need the latest version of the SDK to my milkmanANEs to work.

    Any help would be appreciated!

    Thanks in advance, ANB_Seth

    Very well. I found an answer:

    Yes, you can and must add these icons via the descriptor file, since the flash usually allow you to. But until you do that, go into the settings 'Air release' in flash. Here, right on page 1, there is the section "include files". Add your png icon there. Click OK and exit the settings. Now open the descriptor with a Publisher outside the Flash and write to the files I posted above. Close. Record. Do write protected. No go to flash and publish.

  • Touch not available for Android Apps tabs. Long live Apple

    So I buy the Samsung Galaxy Tab 7.0 more, use the official Samsung Android 4.0.4 and Photoshop Touch update is STILL not available for my device? Adobe pathetic, just sad. You want to tell me EXACTLY what that your application runs?

    Wait, I know that I learned by your customer representative, "if I was a professional photographer I would use Apple hardware."

    Adobe cloud is just sad. Can't wait until next May when can I cancel my subscription.

    Does anyone know of a soft that will work with layers?

    For the race on a device Android Apps Touch Adobe require an Android 8.9 inch display.

    Page http://www.adobe.com/products/touchapps.html Adobe Touch Apps, you can reach the tecniques for each of the tactile applications:

    iPad 2 or later is required for the iPad.

  • Open a PDF from an Air for Android app

    Hi all,

    I'm developing an AIR app for Android devices.

    In the app, there is a button that should open a PDF with the default pdf reader (multitasking), but does not work!

    I have an Android (2.2) emulator.

    This is the code

    protected function openClickHandler (): void
    {
    f.openWithDefaultApplication ();
    }

    f is a file object that points to the pdf format in the storage folder.

    All suggest! Help!

    Thank you.

    F.

    openWithDefaultApplication() is not currently supported by AIR Android. If you have a compelling use case involving this api, please send it to ideas.adobe.com

  • Flash cs6 - local store for android app

    How can I local store something (like a record) with my android app? (written with flash cs6)?

    SharedObjects does not really...

    Try:

    var sharedObject:SharedObject;

    sharedObject = SharedObject.getLocal ('trtrtrtrtrtr');

    {if (SharedObject.Data.UserName)}

    display data in a textfield to confirm your working so.

    } else {}

    sharedObject.data.userName = "msmsmsmsmsmsmsm";

    sharedObject.data.age = 24;

    sharedObject.flush ();

    }

  • Flash for Android App, is it possible?

    Hey guys, first of all Merry Christmas!

    I have developed a Flash game using as3 and it turned out great.  Is it possible to take it and convert it into an Android app?

    http://unitedmindset.com/jonbcampos/2010/07/19/Android-mobile-development/

  • Spectrum of HP x 360-13-4165nr: problem with pin on the splash screen for HP spectrum x 360-13-4165nr

    I'm completely locked out of my computer. When I put the pin code 4 digit, the display shows "the system has been locked for security reasons. Connect to the power supply for at least two hours then restart to try again. "The password is coming as incorrect as well. Please help, thanks.

    If you use a local account, then reset a Microsoft account will not do anything.

    I don't know what happened in this situation to happen.

    But you have two options at this point.

    You can reinstall Windows 10 or you can contact the HP Support (assuming you are still under warranty).

    Contact HP worldwide | HP® official site

    Did you create the Factory Reset Media you had when you bought the computer first?

    Who will be the best way to reset the computer.

    If you do not, click the link below to see the other options to perform a factory reset for your model.

    HP computers - perform a recovery of the system (Windows 10) HP | HP® customer support

    You may need to go to the bottom of the page and read about recovering when Windows does not start successfully.

    NOTE: You will need to reinstall all of the third-party programs that you have installed previously and you will lose data that never are currently on record, unless you saved it.

    Let me know if you have any other questions.

  • Satellite P300: - 0701 usb over current error on the splash screen for the hc port

    Hey there,

    Yesterday I woke up and I started my laptop, and it gave me this error at startup:
    0701 usb over current on hc port
    0701 usb over current on hc port
    I had the possibility to press f1 to continue and f12 to get into the bios.

    When I press f1, that my laptop will not start, it brings me to the BIOS anyway. Then when I restart, the screen turns black and does nothing.
    Now I does not solve the screen doing nothing problem by removing the battery and replacing the battery, but I still have these USB errors.

    I also noticed that before that there is this problem, my laptop does not recognize a storage device, not even my blackberry. He acknowledged, however, my mouse and keyboard (since they are not storage devices).

    Can someone help me? Thank you!

    What model of laptop do you have exactly?
    When you start your notebook F8 press to display the advanced startup options.
    It work? You can start a computer laptop in safe mode?

Maybe you are looking for

  • Satellite A500-11U - bars on the screen

    I have a problem with my Satellite A500 11U display. All of a sudden it has stopped working, displaying bars on the screen. Can someone tell me what is the problem, I need to replace? I thought that I need to replace the video cable lcd, I don't thin

  • Scheduled task does not run on Windows Server 2008 r2

    Hi all Hope it's right, Sir I am using windows server 2008 r2. in what I use schedule a task to run a windows application that needs to run in 04:00 every morning.but this time he's not running as a last result, I get this error 0xE0434F4D code why I

  • What is the driver installation order correct vpcse290x after fresh windows 7 install?

    I searched and found different answers for similar to the model # but really appreciate a list specifically for vpcse290x, or at the very least a general guide that allows me to use the fn keys and switchable graphics. Why sony is so difficult, it is

  • Windows mail "not responding".

    Since last week, when I click on the icon of Windows Mail, the program is very slow to load (30 seconds) and then mode "Windows Mail does not ' for another 25-30 seconds, until finally he connects to the server and get my mail and runs correctly. Doe

  • How to hide the DRIVE TOOLS HP

    This TOOLS HP drive was hidden for some time. He has not appeared on MY COMPUTER of the day, I bought my computer. My laptop is just 20 days. Now after using this for a long time the laptop DRIVE HP TOOLS comes out of nowhere. It keeps me irritated t