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:
2010-09-21 23:40:56 +00:00
parent 890f1f04ff
commit c0bd9fd839
5 changed files with 26 additions and 53 deletions

View File

@@ -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"