Skip to content

Commit

Permalink
添加震动权限
Browse files Browse the repository at this point in the history
  • Loading branch information
maning committed Aug 10, 2016
1 parent 055703f commit 28c7e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<!--权限添加-->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.VIBRATE" />

1.跳转:
Intent intent = new Intent(MainActivity.this, CaptureActivity.class);
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!--权限添加-->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.VIBRATE" />

<application
android:allowBackup="true"
Expand Down

0 comments on commit 28c7e68

Please sign in to comment.