How to add a splash screen in a DwCS6 PhoneGap for Android build?

So I have the new Dw CS6 and want to see what great things DW can do in building Android Apps. So I follow the California Trails demo on Lynda.com. Build it in DreamWeaver, package it with Phonegap and it runs. However, there are some things I'm noticing that happen with this Phonegap that do not happen when I take the SAME files and place them in my Eclipse SDK and build the application under Eclipes.
1) There is a 5 to 9 second delay where a black screen is displayed after the app is launched and when it actually displays the index.html. How do I stop this from happening?
2) How do you add a splach screen? In Eclipes I would add the image to the drawables folders and modify my Activity.java file but we don't have these in DW.
3) How do I get an external URL to display within my Phonegap App? In Eclipes I make the call to the URL while in a WebView but there isn't anything like that in Dw or Phonegap.
4) How do I attach or reference my KeyStore file in these PhoneGap builds so I can put them on Google Play?
Maybe I'm asking too much of Dw and PhoneGap? It this release not intended to create a fully functional app or is it just suppose create a Pseudo App that in reality is a HTML5 webpage made to look like an app? I'm not judging or being critical just trying to find out how or if this Dw feature can be interated in to my workflow.

I assume that you want to show the splash page after every session is initiated after an authentication.
Try this:
Protect the app pages (/app1, /app2 etc) with the following authen scheme:
Level:1
Form:/login.html
Action:/dummy1
Passthrough:no
In the authentication success of this one, have an action:
Authentication success URL: /some_dummy_page.html
Now, protect this url /some_dummy_page.html with the following:
Level:2
Form:/splash_page.html
Action:/dummy2
Passthrough:no
When you access /app1 or /app2, then the first scheme will be invoked, login.html page will come. give your login and password, on successful authen, it will (try to) go to /some_dummy_page.html. but since this one is protected, it will show the splash_page.html. Click on ok, and it will POST to the /dummy2. Because the action in both the schemes are different, the obformlogin cookie will persist.
You will need to have the action in the splash page to point to /dummy2.
Hope this helps. Let us know.

Similar Messages

  • How do I add a splash screen?

    Hi,
    I'm developing for the iPhone and I wish to know how to put a splash screen on my app. I think it would look better than the normal black loading screen.
    Thanx for the help!

    You need a file called Default.png, probably exactly the right size. And you also need an entry in a plist somewhere. the easiest thing to do is capture a screen in organizer, then click "Make Default Image" or whatever. Then you can edit that image.

  • How to create custom splash screen that shows loading %?

    I'd like to add a splash screen to my app. that shows the loading as a percentage.  I have flashbuilder 4.6.  How can I do this?

    You might need to consider adding your child elements in application manually. Displatch a new event back to the application when the child is created (from creationComplete) and update progress bar.

  • Disable Essbase add-in splash screen

    Hello,<BR><BR>Does anyone know how to disable or suppress the Essbase add-in splash screen in Excel?<BR><BR>Thanks

    There's no way to disable the splash screen if you want to use the addin. However, when the splash screen pops up, if you put your mouse over the splash screen and single left click, it will close the splash screen. Still a pain, but you pick up approx 2 seconds <img src="i/expressions/face-icon-small-smile.gif" border="0"><BR>If you don't want to use the Essbase addin, then you can go with brentchoi's suggestion of making the addin inactive.<BR><BR>HTH.

  • How can i create splash screen using netbean?

    how can i create splash screen using netbean?

    Welcome to the Sun forums.
    gabbyndu wrote:
    how can i create splash screen..Java 6 offers a splashscreen functionality. See [New Splash-Screen Functionality in Java SE 6|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/] *(<- link)* for details.
    [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] has offered splash screens to applications since Java 1.2. See [How can I provide my own splash screen?|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206] in the JWS FAQ for more details.
    .. using netbean?We don't support Netbeans here. Ask that on a [Netbeans forum|http://forums.netbeans.org/].

  • How to make a splash screen

    Hello everyone,
    I am trying to make a kind of splash screen.
    I use JWindow for this and it works well.
    My problem is, that I need to make the background of the screen "non-opaque". So only the image I add will be shown, without the background rectangle.
    I search for something like setOpaque(false) method in class JButton.
    But there is no such method for this class.
    I would be very happy if you could help me.

    I tried this,
    but it does not help. The background is being shown.
    import javax.swing.*;
    import java.awt.*;
    public class SSB extends JWindow
         public static void main(String[] args)
              new SSB();
         public SSB()
              super();
              this.setBounds(20,20,300,300);
              MyContainer c = new MyContainer();
              c.setOpaque(false);
              this.setContentPane(c);
              this.show();
         class MyContainer extends JComponent
              MyContainer()
                   super();
    [\code]

  • How to create a splash screen?

    I was wondering how to create the splash screen that shows up when you just load the program. My program takes a bit to load, because it sets to change the look and feel to system dependent.
    So, I want to have a splash screen like the one that eclipse uses to begin the program. How would I do it?
    Thanks

    Did you search the forum using "splash screen" to find the other hundred threads that have asked this question before?

  • How to add new tab screen in transaction BP

    Hi,
       Please let me know How to add new tab screen in transaction ukm_BP. Is there any SPRO configuration needed for this?
    Thanks,
    Debi.

    Hi,
    You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
    REPORT  zrmexitfinder                               .
    TABLES: modsap, modact, tstc.
    PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
                input2 LIKE modsap-typ DEFAULT ' '.
    DATA: search1(6),
          search2(3),
          search3 LIKE modsap-member.
    DATA : first_row VALUE 'Y'.
    CONCATENATE: '%' input1 '%' INTO search1,
    '%' input2 INTO search2.
    SELECT * FROM tstc WHERE tcode LIKE search1.
      first_row = 'Y'.
      CHECK tstc-pgmna NE space.
      CONCATENATE '%' tstc-pgmna '%' INTO search3.
      SELECT * FROM modsap WHERE typ LIKE search2
      AND member LIKE search3.
        SELECT SINGLE * FROM modact WHERE member = modsap-name.
        IF first_row EQ 'Y'.
          WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
                 45 modsap-member, 70 modact-name.
          first_row = 'N'.
        ELSE.
          WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
        ENDIF.
        CLEAR : modsap, modact.
      ENDSELECT.
      IF sy-subrc NE 0.
        WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
      ENDIF.
      CLEAR tstc.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: search1, search2, search3.
    Regards,
    Renjith Michael.

  • How do I set a "normal" home-page in Firefox for Android? (instead of the "awesome screen")

    How do I set a "normal" home-page in Firefox for Android? I don't want the homepage to be the "awesome screen" (which I personally don't find to be very awesome - way too much going on in one page for a small smartphone screen).
    I just want a regular home page that I can set myself. For example, in Firefox for my personal laptop, I've set my homepage Google.com. In Firefox on my work computer, I've set my homepage to our company intranet login. I really prefer and need this flexibility in setting my home page.
    In Firefox for Android, if I go into Settings/Customize/Homepage , the only options I see for changing the home page is to de-select certain items on the "awesome screen". There's no option to set a URL address for a normal homepage. If I de-select/hide all the items on the awesome screen, I simply get a blank home page (no web page, just a prompt telling me to enter a URL address).
    The other major browsers for Android allow me to set a "normal" home page. Firefox is my favorite browser for my laptop. I wish I could get it to work normally for Android. :( :( :(

    hello betsy, at the moment such a feature is not implemented in firefox, but as a workaround you can add a bookmark to a site to the homescreen of your phone, which should have the same effect: [[Use bookmarks on Firefox for Android to keep track of your favorite websites]]

  • How to add a default value in a site column for every item in a document library

    HI
    i created a content type with some site columns ,
    and included in a Document library.
    Process ( content type)
    -ProcessNo
    -ProcessName
    after that i uploaded 100 Documents but not  added value in a site column process name.
    now  how i add a default value in a site column for every document in a document library 
    adil

    HI
    i get below error when i change the script 
    PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
    Cannot index into a null array.
    At C:\Scripts\updatedefaultvalue.ps1:8 char:7
    + IF($i[ <<<< "Title"] -eq $null)
        + CategoryInfo          : InvalidOperation: (Title:String) [], RuntimeExce
       ption
        + FullyQualifiedErrorId : NullArray
    $web = Get-SPWeb http://tspmcwfe:89/
    $list = $web.Lists["test"]
    $item = $list.Items | Where { $_["Name"] -eq "Emc" }
    foreach($i in $items)
    IF($i["Title"] -eq $null)
             $i["Title"] = "test"
           $i.Update()
    adil
    Why are you piping a where in the items? Do you only want to add the "test" to ones matching
    a name?
    If you have ISE installed on your server I recommend you put your code in there and debug it. 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • HOW TO add a videos or movies to IPOD TOUCH for first time...

    HOW TO add a videos or movies to IPOD TOUCH for first time...
    pls send step by step detail wise.. if you have a video for this ..pls mail me...
    my email :  [email protected]
    thanks to all

    See:
    iOS and iPod: Syncing photos using iTunes
    iOS: Syncing with iTunes
    iTunes: Frequently asked questions about viewing and syncing videos
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod

  • How do I turn off pop-up blocker in Firefox for android

    How do I turn off pop-up blocker in Firefox for android?

    Please don't provide this type of links...

  • How to close a splash screen?

    How do you close a splash screen that is fullsize, after a
    button is clicked and an application is launched? (Flash 8)
    Thanks for any help.

    There is a good example in Lab-Useful:
    http://www.hamiltondesign-consulting.com/labuseful.html#anchor59995
    Regards;
    Enrique
    www.vartortech.com

  • How to display different Splash Screen depending on the Locale?

    Hi,
    I have a splash screen which is working fine.
    I want to display different spalsh screen depending on the locale the user has.
    Is this possible.
    I can display different Title,Description and the text of the short-cut icon on desktop and startup Menu based on the locale by mentioning it in the JNLP and altering my browser settings. I am not able to use the icon and splash screen corresponding to the specified locale. How to do this?
    EX:
    <information>
    <title> In english</title>
    <description> In english</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in English language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_english.gif"/>
    <icon kind="splash" href="images/splash_english.jpg"/>*
    <!-- locale="nl-NL" specifies dutch -->
    </information>
    <information locale="nl-NL">
    <title> In Dutch</title>
    <description>In Dutch</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in Dutch language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_dutch.gif"/>
    <icon kind="splash" href="images/splash_dutch.jpg"/>*
    </information>
    *Now here i am not getting the splash_dutch screen for the locale "nl-NL"(Dutch) and i am getting splash_english screen.
    Can we acheive this?*

    Hi anjali...
    I have problem with splash screen..
    here is my jnlp file
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/MyProject">
         <information>
              <title>MyProject1.0</title>
              <vendor>none</vendor>
              <description>Application Launcher For MyProject1.0</description>
              <description kind="short"></description>
              <offline-allowed />
              <icon kind="splash" href="images/Splash_MyProject.jpg" width="560" height="300"/>
         </information>
         <resources>
              <jar href="SwingApplication/mysql-connector-java-5.0.6-bin.jar" />
              <jar href="SwingApplication/MyProject1.0.jar" main="true"/>
              <jar href="SwingApplication/liquidlnf.jar" />
              <j2se version="1.6+" java-vm-args="-Xms32M -Xmx256M " />
         </resources>
         <security>
              <all-permissions/>
         </security>
         <application-desc main-class="com.mobius.ui.MainWindow">
              <argument>production%0%3#com.mysql.jdbc.Driver#MyProject4%jdbc:mysql://10.100.1.89:3306/MyProject4%MyProject%info123#MyProject2%jdbc:mysql://10.100.1.89:3306/MyProject2%MyProject%info123</argument>
         </application-desc>
    </jnlp>my post is in
    http://forum.java.sun.com/thread.jspa?threadID=5298381
    http://forum.java.sun.com/thread.jspa?threadID=5298466
    I am in big problem Help me...
    Edited by: arunnprakash on May 22, 2008 1:28 PM
    Edited by: arunnprakash on May 22, 2008 1:28 PM

  • How to add sign in screen at the beginning of training presentation

    Hello Captivate users
    Does anyone know how to add log in or a screen that captures the name of person doing the training so you can see who has done the training?
    Kind Regards
    Nat

    Hello,
    Welcome to Adobe Forums.
    You can use Text Entry Box and Text Caption to create a login screen.
    Once you add a Text Entry Box, a variable will be assigned with it (for ex : Text_Entry_Box_1), you can use that variable to capture the name of the person who views the project's published output.
    Thanks,
    Vikram

Maybe you are looking for

  • How to create a custom report and include multiple extended CRM database?

    I have created a number of CRM databas extensions and applied all there fields to my contacts and cases. I might have for example: - Additional address details - Business information - Quote Details - Trade Referees I know how to run a custom report

  • BATTERY DRAINS SINCE AFTER THE UPGRADE TO OS 10.2.1.3442 ON Q10

    It's been over three weeks now since I upgraded my os to 10.2.1.3442 and ever since then my battery drains like mad.I constantly use device monitor to manage runing applications and even when most apps are idle and PIM is as low as 0.5%,my battery @9

  • Media Importing with Ver 9 Pro Extended

    I just made a PDF with an imported mov. file in Acrobat Pro Extended, can someone tell me if the trail version (this is what I have currently installed) lets you view the imported movie on an other machines. I've tried it on my Mac Leopard and Tiger

  • NetworkManager applet broken after upgrading from 0.8.1-2 to 0.8.2-2

    After upgrading both networkmanager and network-manager-applet, i am unable to connect to any wifi networks. [2010-12-15 23:22] upgraded networkmanager (0.8.1-1 -> 0.8.3-0.20101130) [2010-12-15 23:23] upgraded network-manager-applet (0.8.1-2 -> 0.8.2

  • Pages, numbers, keynote

    I have an iPad air.  I have Pages, numbers, keynote installed. Each has reloaded on their own when I never deleted the app. Is this happening to anyone else.