Socket
Socket
Sign inDemoInstall

org.apache.cordova.home

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    org.apache.cordova.home

Cordova Home Plugin


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
5.13 kB
Created
Weekly downloads
 

Readme

Source

#cordova-plugin-android-home Send App in background to Minimize the application and it's still running for android.

Base on http://stackoverflow.com/questions/17826122/send-application-to-background-mode-when-back-button-is-pressed-in-phonegap. #Installation cordova plugin add https://github.com/ZhichengChen/cordova-plugin-android-home

#Usage

navigator.home.home(succesCallback, errorCallback)
  • succesCallback: Callback to invoke when home is success. (Function)
  • errorCallback: Callback to invoke when error occor. (Function)

#Example

navigator.home.home(function(){
    console.info("Successfully launched home intent");
}, function(){
    console.error("Error launching home intent");
});

#Support Platforms

  • Android

Keywords

FAQs

Last updated on 16 Dec 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc