AndroidManifest.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="me.yoqi.flashlight"
  4. android:versionCode="1"
  5. android:versionName="1.0" >
  6. <uses-sdk
  7. android:minSdkVersion="8"
  8. android:targetSdkVersion="21" />
  9. <uses-permission android:name="android.permission.INTERNET" />
  10. <uses-permission android:name="android.permission.CAMERA" />
  11. <uses-permission android:name="android.permission.FLASHLIGHT" />
  12. <uses-feature android:name="android.hardware.camera" />
  13. <uses-feature android:name="android.hardware.camera.autofocus" />
  14. <uses-feature android:name="android.hardware.camera.flash" />
  15. <application
  16. android:name=".MyApplication"
  17. android:allowBackup="true"
  18. android:icon="@drawable/ic_launcher"
  19. android:label="@string/app_name"
  20. android:theme="@style/AppNoTitleTheme" >
  21. <activity
  22. android:name=".MainActivity"
  23. android:exported="true"
  24. android:label="@string/app_name" >
  25. <intent-filter>
  26. <action android:name="android.intent.action.MAIN" />
  27. <category android:name="android.intent.category.LAUNCHER" />
  28. </intent-filter>
  29. </activity>
  30. <receiver
  31. android:name=".FlashlightWidgetProvider"
  32. android:icon="@drawable/ic_launcher"
  33. android:label="Flashlight by Joe" >
  34. <intent-filter>
  35. <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
  36. </intent-filter>
  37. <meta-data
  38. android:name="android.appwidget.provider"
  39. android:resource="@xml/widget_info" />
  40. </receiver>
  41. <receiver android:name=".FlashlightWidgetReceiver" >
  42. <intent-filter>
  43. <action android:name="COM_FLASHLIGHT" >
  44. </action>
  45. </intent-filter>
  46. </receiver>
  47. </application>
  48. </manifest>