AFAIK, u need some or the other event to trigger the execution on the UI.
now, wat u cud do is in a function, u cud have the requestFocus function so
that the component u want to execute comes to focus. before this, u shud
have the setOnFocusListener() defined for the component.

so wen the requestFocus is called, the procedures defined in
setOnFocusListener(), is executed...

hope this helps,

cheers!

On Mon, Jul 20, 2009 at 12:28 PM, Morris <[email protected]> wrote:

>
> Hi All:
>
> If I want to execute the focused item on the view, I need to select
> focused item and press enter.
> Now I want to find another way to execute it without using click
> action.
> Does everyone know the other way?
> Thank you very much.
>
> Sincerely yours,
> Morris
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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