i remove the field mFormater, interface Formatter, formatNumber() as they are not needed by exalted dice.
i removed getCurrent(), setCurrent() also because they were not used by exalted dice.
i modified onClick() and onLongClick() to use switch blocks rather than nested if else blocks
i incremented the version / build
from b12 to b13
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
i have implemented methods from NumberPicker.java from the android source so i can use their method of filtering out anything that is not a number.
i have incremented the version / build number
from b11 to b12
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6 V6
-remodeled onClickListeners
-remodeled onLongClickListeners
0.0.7 V7
-Got Listview working with 10 item history
-removed old onClickListener methods
-removed old onLongClickListeners
-ads working with internet permisions
-Menu with exit option
0.0.8 v8
-cleaned code for efficency
-Fixed error checking method to check for a string containing no ints.
-Fixed shake listener problem
-First release version, full, and ad free
-due to a G Market problem, package name switched from com.TwentyCodes.android.ExaltedDice to com.TwentyCode.android.ExaltedDice
0.0.9 V9
-compiled under 1.5
-updated ads
-added System.gc();
-added stringbuffer to checkForErrors() and results()
-added a dynamic rollHistory list array
-added clear history menu option
0.0.10
-added rotaion methods
-reformated the output string
-added crash report
-added roll again feature
1.0.0
i created NumberPickerButton.java. it is completely based on NumberPickerButton.java from the android source. it exist purely to cancel long clicks.
ExaltedDice.java
i have removed my old privative methods for incrementing / decrementing the dice and replaced it with the method from NumberPicker.java from the android source.
i also removed all unused methods
i incremented the version / build number from 0.0.10b10 to 1.0.0b11