Created
July 9, 2014 09:55
-
-
Save raizal/b2cab0ac4f24fda06620 to your computer and use it in GitHub Desktop.
Android Manifest example With ZXing as library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<uses-permission android:name="android.permission.CAMERA"/> | |
<application | |
android:icon="@drawable/ic_launcher" | |
android:label="@string/app_name" > | |
<activity android:name="com.google.zxing.client.android.CaptureActivity" | |
android:screenOrientation="landscape" | |
android:configChanges="orientation|keyboardHidden" | |
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" | |
android:windowSoftInputMode="stateAlwaysHidden"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.DEFAULT"/> | |
</intent-filter> | |
<intent-filter> | |
<action android:name="com.google.zxing.client.android.SCAN"/> | |
<category android:name="android.intent.category.DEFAULT"/> | |
</intent-filter> | |
</activity> | |
<activity | |
android:label="@string/app_name" | |
android:name=".QRCodeSampleActivity" > | |
<intent-filter > | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> | |
<activity android:name=".webclass"></activity> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment