Version 0.3 addresses an issue with uppercase characters.

This commit is contained in:
Erik C. Thauvin 2010-08-05 23:29:48 +00:00
parent eb568bfb14
commit 20cb36dcea
3 changed files with 3 additions and 3 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="net.thauvin.erik.android.spellit"
android:versionCode="2" android:installLocation="auto" android:versionName="0.2">
android:installLocation="auto" android:versionName="0.3" android:versionCode="3">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".SpellIt"
android:label="@string/app_name">

BIN
screenshots/market.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -396,7 +396,7 @@ public class SpellIt extends Activity
{
final char c = getEntry().charAt(getCurrentChar());
if ((c < 123) && (c > 96))
if ((c < 123) && (c > 96) || (c < 91) && (c > 64))
{
int offset = 97;
@ -406,7 +406,7 @@ public class SpellIt extends Activity
}
view.setText(String.valueOf(c).toUpperCase() + ' ' + getString(R.string.as_in_txt) + ' ' + getAlphabet(c - offset));
}
}
else if ((c < 58) && (c > 47))
{
view.setText(getAlphabet(c - 22));