Android configuration (Android config)

Source: Internet
Author: User

Android Configuration

This config.xml file controls the basic settings of an app applied to each application and Cordovawebview interface. This section details the selection parameters that apply only to Android builds. The. config. file files here provide information about the global configuration options.

    • keeprunning   (Boolean, The default is   ): Determines whether the application continues to run in the background even in  , pause pause  will not exit this app when the app is in the background, in Cordova WebView just stops the execution of the code.

       <  preference  name  = "keeprunning"   = "false"  />  

       

    • LoadUrlTimeoutValue(number, default to 20000 , seconds): The time to wait before throwing a timeout error when loading a page. This example specifies 10s instead of the default 20s:

        <name= "Loadurltimeoutvalue"  value= "10000"/>

  • SplashScreen: The res/drawable extension of the file minus sign in the directory. All kinds of resources in different subdirectories must share this name.

    <name= "SplashScreen"  value= "Splash"/> 

  • SplashScreenDelay(number, defaults to 5000 ): The time the splash screen image is displayed.

    <name= "Splashscreendelay"  value= "10000"/>

  • InAppBrowserStorageEnabled(Boolean, defaults to true ): Controls whether the Inappbrowser open page can access the same localstorage and Websql storage when the page is opened in the default browser.

Please leave a message if the translation is inaccurate or incorrect.

Android configuration (Android config)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.