Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajivnarayana/cordovafragments
An android cordova plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview.
https://github.com/rajivnarayana/cordovafragments
Last synced: about 1 month ago
JSON representation
An android cordova plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview.
- Host: GitHub
- URL: https://github.com/rajivnarayana/cordovafragments
- Owner: rajivnarayana
- Created: 2016-02-25T16:44:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T17:19:05.000Z (almost 9 years ago)
- Last Synced: 2024-11-16T16:29:24.574Z (2 months ago)
- Language: Java
- Size: 6.84 KB
- Stars: 12
- Watchers: 3
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
## Installation
```
cordova plugin add cordova-android-fragments
```## Usage
Replace MainActivity in AndroidManifest.xml to "com.webileapps.fragments.MainActivity" and launch your application.
## How it works
This plugin comes bundled with a CordovaFragment (which is a Fragment similar to CordovaActivity) and a MainActivity that extends AppCompatActivity and adds CordovaFragment using FragmentTransactions.
## TODO
Create a hook that replaces activity name in AndroidManifesh.xml to launch MainActivity.java in our source directory