Please, try adding this little patch at line 23

if (mLastTapped == arg0)  return;

This should be enough

2011/10/7 Studio LFP <[email protected]>

> Exactly.  When I try to touch to move the cursor in an already focused box,
> the keyboard dismisses on everything but the HTC Hero on 2.1-update 1. The
> Xperia Play goes into some kind of select text mode the others don't.
>
> You may have to check if the view that is clicked on is the one the user is
> currently editing and prevent this behavior.
>
> I can post screen shots in a bit if you need them.
>
>
> Steven
> Studio LFP
> http://www.studio-lfp.com
>
>
> On Friday, October 7, 2011 4:22:06 PM UTC-5, Raffaele Sgarro wrote:
>
>> Oh my god, it's a mess!!! But still I don't understand exactly what
>> happens. I think you do something like
>>
>>    1. Long tap on a view: this shows the soft keyboard and you can type
>>    anything
>>    2. Click on the same view: this triggers the mess
>>
>> Is this right? Is the problem when you click in the current focused
>> EditText? Otherwise it goes well
>>
>> 2011/10/7 Studio LFP <[email protected]>
>>
>>> I tested it on the following:
>>>
>>> Xperia Play - Android 2.3.2
>>> Samsung Galaxy Tab (7 in) - Android 2.2
>>> Motorola Droid (Original) - Android 2.2.2
>>> Droid Bionic - Android 2.3.4
>>> HTC Hero - Androi 2.1-update 1
>>>
>>> My Xoom is out for the LTE upgrade so I can't test it on that at the
>>> moment.
>>>
>>> It only worked correctly on the HTC Hero. All others the keyboard poofs
>>> when you move the cursor by touch somewhere else in the EditText. The Xperia
>>> Play acted a bit more weird than the others and allowed me to select text,
>>> but not be able to cancel the select and place the cursor where I wanted it.
>>>
>>>
>>> Steven
>>> Studio LFP
>>> http://www.studio-lfp.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>>
>>> To unsubscribe from this group, send email to
>>> android-develop...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to