Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump version to "2.0" for new release!

  • Loading branch information...
commit 7e17a2e31135d2adea1f1f5f1b26ee23fa224158 1 parent 1eda6af
@codebutler codebutler authored
View
13 AndroidManifest.xml
@@ -24,8 +24,8 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.codebutler.farebot"
- android:versionCode="9"
- android:versionName="0.5.4">
+ android:versionCode="10"
+ android:versionName="2.0">
<uses-sdk android:minSdkVersion="14" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@@ -39,7 +39,8 @@
<uses-library android:name="com.google.android.maps" />
<activity
android:name=".activities.MainActivity"
- android:configChanges="keyboardHidden|orientation">
+ android:configChanges="keyboardHidden|orientation"
+ android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
@@ -55,6 +56,7 @@
<activity
android:name=".activities.ReadingTagActivity"
android:configChanges="keyboardHidden|orientation"
+ android:screenOrientation="portrait"
android:noHistory="true"
android:launchMode="singleTop">
<intent-filter>
@@ -87,7 +89,10 @@
<activity
android:name=".activities.TripMapActivity"
android:configChanges="keyboardHidden|orientation"/>
- <activity android:name=".activities.SupportedCardsActivity" android:label="Supported Cards"/>
+ <activity
+ android:name=".activities.SupportedCardsActivity"
+ android:label="@string/supported_cards"
+ android:screenOrientation="portrait" />
<provider
android:name="com.codebutler.farebot.provider.CardProvider"
android:authorities="com.codebutler.farebot.cardprovider" />
View
28 res/layout/activity_main.xml
@@ -38,20 +38,20 @@
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:drawableTop="@drawable/logo"
- android:text="@string/directions"
- android:textSize="45dp"
- android:gravity="center" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:layout_gravity="center"
- android:text="Supported Cards"
- android:onClick="onSupportedCardsClick" />
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:drawableTop="@drawable/logo"
+ android:text="@string/directions"
+ android:textSize="45dp"
+ android:gravity="center" />
+ <Button
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:layout_gravity="center"
+ android:text="Supported Cards"
+ android:onClick="onSupportedCardsClick" />
</LinearLayout>
</RelativeLayout>
<ListView
View
2  res/layout/activity_trip_map.xml
@@ -33,5 +33,5 @@
android:layout_height="match_parent"
android:clickable="true"
android:enabled="true"
- android:apiKey="00QbXq3nuMZY8l7NaU_rZ95MV61SLwcqrBteSUw" />
+ android:apiKey="00QbXq3nuMZZUy8LRQMoQr1hg5U94pgV8oOi33g" />
</LinearLayout>
View
9 src/com/codebutler/farebot/FareBotApplication.java
@@ -23,7 +23,6 @@
package com.codebutler.farebot;
import android.app.Application;
-import android.os.StrictMode;
import com.codebutler.farebot.felica.DBUtil;
public class FareBotApplication extends Application {
@@ -49,9 +48,9 @@ public DBUtil getSuicaDBUtil() {
public void onCreate() {
super.onCreate();
- StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
- .detectAll()
- .penaltyLog()
- .build());
+// StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
+// .detectAll()
+// .penaltyLog()
+// .build());
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.