ExaltedDice.java
in the methods onClick(), onLongClick(), and rollDice() i added the following:
try {
mCurrent = Integer.parseInt(dice.getText().toString());
} catch (NumberFormatException e) {
e.printStackTrace();
}
this finished the updated user input methods, based on the Android source code. the new input methods will only except numbers for entry. also the long press function
now increments / decrements the amount of dice every 300 ms.
i incremented the version / build number
from 1.0.0b12 to 1.0.1b13
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.TwentyCode.android.ExaltedDice"
|
||||
android:versionName="1.0.0" android:versionCode="12">
|
||||
android:versionCode="12" android:versionName="1.0.1">
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||
<activity android:name=".ExaltedDice"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user