This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeff Brateman
committed
Feb 23, 2015
1 parent
c760acd
commit 9c61c41
Showing
8 changed files
with
124 additions
and
112 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.my.scanExample" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<uses-sdk android:minSdkVersion="8" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.VIBRATE" /> | ||
package="org.my.scanExample" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<uses-sdk android:minSdkVersion="8"/> | ||
<uses-permission android:name="android.permission.CAMERA"/> | ||
<uses-permission android:name="android.permission.VIBRATE"/> | ||
|
||
<uses-feature android:name="android.hardware.camera" android:required="false" /> | ||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> | ||
|
||
<application android:label="card.io example" > | ||
<uses-feature android:name="android.hardware.camera" android:required="false"/> | ||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> | ||
|
||
<application android:label="card.io example" | ||
android:theme="@style/MyTheme"> | ||
<activity android:name="MyScanActivity" | ||
android:label="card.io example"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity android:name="io.card.payment.CardIOActivity" android:configChanges="keyboardHidden|orientation" android:hardwareAccelerated="true"/> | ||
<activity android:name="io.card.payment.DataEntryActivity" android:screenOrientation="portrait"/> | ||
|
||
|
||
<activity android:name="io.card.payment.CardIOActivity" android:configChanges="keyboardHidden|orientation" | ||
android:hardwareAccelerated="true"/> | ||
<activity android:name="io.card.payment.DataEntryActivity" android:screenOrientation="portrait"/> | ||
|
||
</application> | ||
</manifest> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:padding="10dp" > | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:padding="10dp"> | ||
|
||
<Button | ||
android:id="@+id/scanButton" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="Scan a credit card with card.io" | ||
android:onClick="onScanPress" /> | ||
android:id="@+id/scanButton" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="Scan a credit card with card.io" | ||
android:onClick="onScanPress"/> | ||
|
||
<TextView | ||
android:id="@+id/resultTextView" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="0.95" | ||
android:text="" /> | ||
android:id="@+id/resultTextView" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="0.95" | ||
android:text=""/> | ||
|
||
</LinearLayout> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="MyTheme" parent="android:Theme.Holo.Light"> | ||
<item name="android:windowActionBar">false</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> |
Binary file not shown.
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