8000 Update README.md · CJavaScala/android-pluginmgr@9c42e81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c42e81

Browse files
committed
Update README.md
1 parent 229b131 commit 9c42e81

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
## Android PluginManager ##
22
**dynamic load uninstalled apk**
3-
### Introduction ###
3+
## Introduction ##
44
PluginManager is used to manage android applications like [eclipse](http://eclipse.org/) plugins.
55
you can start an activity from an uninstalled apk placed in sdcard,just like it has installed or registed in the application's `AndroidManifest.xml`.
6-
### Support Features ###
6+
### Support Features
77
- a **normal** apk is regard as **plug-in**
88
- start **activity** from plug-in
99
- start other activiy from plug activity
1010
- plug activity with **theme**
1111
- plug with custom `Application`
12-
- plug with **.so**
12+
- plug with **.so**
1313
- support android2.x
1414

1515
it's easy to use:
16-
### Steps:###
16+
### Steps:
1717

1818
- declare permission in your `AndroidManifest.xml`:
1919

@@ -32,11 +32,12 @@ you can start an activity from an uninstalled apk placed in sdcard,just like it
3232
PlugInfo plug = pluginMgr.loadPlugin(myPlug).iterator().next();
3333
```
3434
- start activity:
35-
```java
35+
`
3636
pluginMgr.startMainActivity(context, plug.getPackageName());
37-
```
38-
### License###
37+
`
3938

39+
## License
40+
```java
4041
/*
4142
* Copyright (C) 2015 HouKx <hkx.aidream@gmail.com>
4243
*
@@ -52,7 +53,8 @@ you can start an activity from an uninstalled apk placed in sdcard,just like it
5253
* See the License for the specific language governing permissions and
5354
* limitations under the License.
5455
*/
55-
## About ###
56+
```
57+
## About
5658
[author's blog](http://blog.csdn.net/hkxxx/article/details/42194387)
5759

5860
author's email:[address1](mailto:1084940623@qq.com)

0 commit comments

Comments
 (0)
0