[ 
https://issues.apache.org/jira/browse/CB-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Naguin updated CB-4853:
--------------------------------

    Description: 
Add the ability of automatically show the spashScreen when the app is loading 
as Android does, for example.


---

I think that with this code on "MainPage.xaml.cs" is done:

{code}
private void showSplashScreen()
{
    var plugin = 
WPCordovaClassLib.Cordova.CommandFactory.CreateByServiceName("SplashScreen");
    
    if (plugin != null){
                plugin.InvokeMethodNamed("show", new object[] { String.Empty });
    }
}

public MainPage(){
    ...
    this.showSplashScreen();
}
{code}

  was:
Add the ability of automatically show the spashScreen when the app is loading 
as Android does, for example.


---

I think that with this code on "MainPage.xaml.cs" is done:

{code}
private void showSplashScreen()
{
    var plugin = 
WPCordovaClassLib.Cordova.CommandFactory.CreateByServiceName("SplashScreen");
    
    if (plugin != null){
                plugin.InvokeMethodNamed("show", new object[] { String.Empty });
    }
}
{code}

    
> Auto show splashScreen
> ----------------------
>
>                 Key: CB-4853
>                 URL: https://issues.apache.org/jira/browse/CB-4853
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: WP8
>    Affects Versions: 3.0.0
>         Environment: Any
>            Reporter: Jonathan Naguin
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>              Labels: splashscreen, wp8
>
> Add the ability of automatically show the spashScreen when the app is loading 
> as Android does, for example.
> ---
> I think that with this code on "MainPage.xaml.cs" is done:
> {code}
> private void showSplashScreen()
> {
>     var plugin = 
> WPCordovaClassLib.Cordova.CommandFactory.CreateByServiceName("SplashScreen");
>     
>     if (plugin != null){
>               plugin.InvokeMethodNamed("show", new object[] { String.Empty });
>     }
> }
> public MainPage(){
>     ...
>     this.showSplashScreen();
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to