vuongkien / solitaire-for-android

Automatically exported from code.google.com/p/solitaire-for-android
Apache License 2.0
0 stars 0 forks source link

Search button in Jelly Bean 4.1.1 #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Hitting the "Magnifying Glass" soft key to deal cards

What is the expected output? What do you see instead?
The button should deal the next cards (1 or 3 as selected in settings), but 
with Android 4.1.1, the "Magnifying Glass" soft key always functions as a 
Google Search, regardless of the app running.

What version of the product are you using? On what operating system?
Solitaire 1.12, on Android 4.1.1, Samsung Galaxy S.

Please provide any additional information below.
The Jelly Bean 4.1.1 update stated that the "Magnifying Glass" soft key will 
always search with the new OS version, so this is likely something app 
developers will need to add to their app functionality to disable while the app 
is running.

Original issue reported on code.google.com by robville...@gmail.com on 23 Jul 2012 at 9:31

GoogleCodeExporter commented 8 years ago
So this is a bit rubbish then?!
Solitaire (Spider) just won't work on my Nexus S with Jelly Bean 4.1.1.
Whose idea was that then?

Original comment by pcadwall...@googlemail.com on 25 Jul 2012 at 10:37

GoogleCodeExporter commented 8 years ago
I second that.  Have Jelly Bean on my Nexus S, can't deal cards.  Need my 
solitaire fix!!  :-)

Original comment by scott.tr...@gmail.com on 26 Jul 2012 at 2:09

GoogleCodeExporter commented 8 years ago
The modification to manage other keys to deal is easy. I made a modification to 
deal with the keys volume_up or volume_down and I add a menu item to deal.

If the owner can add me in the contributors, i can commit the change.

If you want to do it by yourself : 
after line 525 in SolitaireView.java, add this : 
    case KeyEvent.KEYCODE_VOLUME_UP:
    case KeyEvent.KEYCODE_VOLUME_DOWN:

Original comment by rodolphe...@gmail.com on 11 Aug 2012 at 8:29

GoogleCodeExporter commented 8 years ago
I got the same problem, too.

Since Jelly Bean my favorit Spider-Game becomes unplayable on my Nexus S. 
Clicking the Search-button now opens Google-Now-Search instead of dealing new 
cards. 

Please fix this ;-)

Original comment by sven.jan...@gmail.com on 13 Aug 2012 at 12:55

GoogleCodeExporter commented 8 years ago
Idem. Unable to find a workaround ;-(

Original comment by nicolas....@gmail.com on 16 Aug 2012 at 9:18

GoogleCodeExporter commented 8 years ago
You can download Solitaire NG from the market or install the .apk in attachment 
which is the same game recompiled to authorize dealing by using volume_up or 
volume_down button.

Original comment by guillaum...@gmail.com on 17 May 2013 at 2:29

Attachments:

GoogleCodeExporter commented 8 years ago
I propose a patch in the following issue, which would add a menu entry to deal 
cards.
https://code.google.com/p/solitaire-for-android/issues/detail?id=131

Original comment by urs.hunk...@gmail.com on 27 Dec 2014 at 12:37