Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
add permission
Browse files Browse the repository at this point in the history
  • Loading branch information
litao0621 committed May 4, 2016
1 parent 58a862f commit 7321e99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ dependencies {
```

# 如何使用
### Step 0: Permission
``` xml
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
```
### Step 1: 让你的activity 继承 `BaseGalleryActivity`
``` java
public class YourActivity extends BaseGalleryActivity{
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ dependencies {
```

#How to get started
### Step 0: Permission
``` xml
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
```


### Step 1: extends `BaseGalleryActivity`
``` java
public class YourActivity extends BaseGalleryActivity{
Expand Down

0 comments on commit 7321e99

Please sign in to comment.