Im basically trying to have a list of items in listview and with that select an item then have the item stay selected as i have a button on my app on the bottom of the screen for it. I want the user to be able to see what they selected as they push the button i mean its like a list of songs and i have buttons like are like play or stop so i want the user to know which song there want to playbasically. So i read on the android article bout touch mode and how it always defocus stuff and in the article to do what im basically asking for it states. "To make things more natural for the user, the framework knows how to resurrect the selection/focus whenever the user leaves touch mode. This is why some developers are confused when they create a custom view and start receiving key events only after moving the trackball once: their application is in touch mode, and they need to use the trackball to exit touch mode and resurrect the focus." But the article shows no examples or anything way to do this just basically instructing how its down so i dont know really htat much on doing any of this but i figure the first step is exiting touch mode
On Oct 25, 12:10 pm, Mark Murphy <[email protected]> wrote: > On Mon, Oct 25, 2010 at 3:05 PM, Gabriel Huie <[email protected]> wrote: > > I was wondering is there a written code way to exit out of touch mode > > in Android i tried googling it and there wasn't and example i was able > > to find online but was wondering if anyone knew any written code to > > exit out of touch mode in Android > > The choice of whether to use the touchscreen -- and, hence, whether or > not to be in touch mode -- is up to the user. Bear in mind that some > devices only have a touchscreen, with no other pointing device. > > You may have better luck explaining what problem you are having with touch > mode. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android 2.2 Programming Books:http://commonsware.com/books -- 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

