Skip to content
This repository has been archived by the owner on Aug 18, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (11 loc) · 774 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 774 Bytes

Phonegap-BackHome-Plugin

What's this?

It's a cordova/phonegap plugin to send your app to background by starting Home activity. Tested on cordova 4.1.2 .

Installation

cordova plugin add https://github.com/darkgeek/Phonegap-BackHome-Plugin.git

Usage

This plugin provides one method called goHome(successCallback, errorCallback) to start Home activity.

window.BackHome.goHome(successCallback, errorCallback);

History

Originally developed by Dpa99c in stackoverflow, and updated by me to make it work with cordova 4.0 and later.