Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmedvinsky/cordova-startapp
Cordova (aka PhoneGap) plugin to start external activity (Android and iOS)
https://github.com/dmedvinsky/cordova-startapp
android cordova ios phonegap
Last synced: 3 months ago
JSON representation
Cordova (aka PhoneGap) plugin to start external activity (Android and iOS)
- Host: GitHub
- URL: https://github.com/dmedvinsky/cordova-startapp
- Owner: dmedvinsky
- License: mit
- Created: 2012-07-05T14:51:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T23:02:24.000Z (almost 7 years ago)
- Last Synced: 2024-10-25T09:23:18.901Z (3 months ago)
- Topics: android, cordova, ios, phonegap
- Language: Java
- Homepage:
- Size: 108 KB
- Stars: 28
- Watchers: 8
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StartApp plugin for Cordova
## License
MIT/X11
## Usage
See Android and iOS folders for Android and iOS usage, respectivelly.
### If you want to build for both platforms
1. Add `iOS/StartApp.m` and `iOS/StartApp.h` files to your iOS project in
`Plugins` directory.
2. Add `iOS/startapp.js` to your web application as `startapp.ios.js`.
3. AddStartApp
StartAppto your `Cordova.plist` inside `Plugins...`
4. Copy `Android/StartApp.java` to `src/com/phonegap/plugins/startapp`
directory of your Android project.
5. Add `Android/startapp.js` to your web application as `startapp.android.js`.
6. Add
to your `res/xml/config.xml` inside ``.
7. Copy corresponding JS file to `startapp.js` when building the project.
8. Include `startapp.js` on your HTML pages.
8. Usewindow.startapp.start(
{
android: 'com.mycompany.myapp/com.mycompany.myapp.MyActivity',
ios: 'myURL'
},
successCallback, failureCallback
);whenever required.