Closed GoogleCodeExporter closed 8 years ago
Same problem for Samsung Galaxy S Pro / Sprit Epic 4G.
The following patch will allow ENTER to be used in addition to KEYPAD_CENTER:
===================================================================
--- src/com/kmagic/solitaire/SolitaireView.java (revision 29)
+++ src/com/kmagic/solitaire/SolitaireView.java (working copy)
@@ -518,6 +518,7 @@
public boolean onKeyDown(int keyCode, KeyEvent msg) {
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_CENTER:
+ case KeyEvent.KEYCODE_ENTER:
if (mViewMode == MODE_TEXT) {
ChangeViewMode(MODE_NORMAL);
} else if (mViewMode == MODE_NORMAL) {
Original comment by abliss
on 18 Sep 2010 at 7:20
Thanks for the patch but it still doesn't address the problem on phones that do
not have a physical keyboard or trackball. My wife's Samsung Fascinate has no
trackball, dpad or keyboard. It has only Menu, Home, Back, Search, Power and
volume rocker.
Like suggested above, showing a deck to tap would work OR perhaps a patch to
double tap the background might work.
Otherwise ** GREAT PRODUCT **
Original comment by greg.p.m...@gmail.com
on 30 Sep 2010 at 3:15
You could change KEYCODE_ENTER to KEYCODE_SEARCH and use the search button.
There's not a lot of extra room on the screen for a deck (or a deal button).
Original comment by abl...@google.com
on 30 Sep 2010 at 3:33
I updated Ken's code and recompiled it so send me an e-mail and I'll send you
the updated version. It uses the search key to deal the cards. I talked with
Ken and he was going to post the update, but I assume he is too busy. I would
post it on the Market myself, but that costs $25.00. E-mail:
rockymount1@gmail.com
Original comment by Rockymou...@gmail.com
on 21 Oct 2010 at 1:55
Or see issue 61, there is a download link for annother updated version.
Original comment by alcesalc...@googlemail.com
on 30 Oct 2010 at 8:13
User patch submitted to deal with search button.
Original comment by kma...@google.com
on 22 Dec 2010 at 10:36
Original issue reported on code.google.com by
jane.lad...@gmail.com
on 11 Sep 2010 at 9:09