If you google "textwatcher android example"

http://stackoverflow.com/questions/8543449/how-to-use-textwatcher-in-android



On Thu, Feb 14, 2013 at 3:38 PM, Dan Uff <[email protected]> wrote:
> Thanks for the reply.
>
> Can you post a code example on how this would be done?
>
> Thanks,
> Dan
>
>
> On Thursday, February 14, 2013 11:38:56 AM UTC-5, Nobu Games wrote:
>>
>> Set a TextWatcher on your EditText. When your watcher gets notified about
>> changed text you can immediately pass that input on to your WebView. In
>> order to avoid repeated calls to your WebView with incomplete user input you
>> could rewrite your TextWatcher to start a timer when text has changed. The
>> timer waits for one or two seconds until it updates the WebView. It gets
>> cancelled / reset by your TextWatcher as soon as the text changed again.
>>
>> On Thursday, February 14, 2013 10:14:45 AM UTC-6, Dan Uff wrote:
>>>
>>> Hi all:
>>>
>>> This may sound like a basic question, but here goes....
>>>
>>> I am accepting input from a user from an EditText field.  When he/she
>>> types in a route number (example: 101) I need to call a webView based on
>>> that number - showing a schedule for that route number.  I don't have any
>>> example code yet, because I have no idea how to set this up in Android (I am
>>> coming from iOS experience).
>>>
>>> I am using Eclipse as the programming environment.
>>>
>>> Thanks,
>>> Dan Uff
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to