On Mon, Oct 3, 2011 at 3:57 AM, Studio LFP <[email protected]> wrote:
> The HTC Hero is fairly old. I keep one around because it's quite slow and > if I can make something function fast on it, it will run exceptionally well > on new hardware. > As a curiosity does it have two way na vigation (just a scrollwheel and no touchscreen) for navigating up and down like on the blackberry, so that up and down sometimes also means left and right, or does it have separate left and right buttons. This makes a difference when programming the focusing of events. On a keyboard we have two degrees of freedom for navigation but with a single scrollwheel it's only one. If I program for two degrees of freedom devices with a single degree of freedom may find some buttons inaccessible if laid out horizontally. Any suggestions with this regard? Yes, it is nice to have an app also work with a keyboard attached to a tablet. Also, when I press enter on a listview item nothing happens. I thought it would generate a mousedown on the emulator but nothing happens. Do I need to modify my code to listen for some more events? Thanks, John Goche > > On the tablet you can use both a wired and a Bluetooth mouse (I've used a > wired mouse and Bluetooth keyboard simultaneously). You shouldn't have to > worry too much about the mouse as it is considered "fake touch" and just > acts like a simulated finger event. Check out the "Touchscreen" section at > this link to understand how to support it: > > > http://developer.android.com/guide/topics/manifest/uses-feature-element.html#hw-features > > What you might want to test out is a tablet or phone with a Bluetooth > keyboard with directional keys. I've run into a few apps that I wanted to > use the directional keys on my Bluetooth keyboard and it wouldn't function > properly. If you plan on doing apps that take a lot of input (like typing > information in), your users will thank you if you support navigation via the > keyboard. I'm not fond of having to constantly touch the screen to change > input boxes when I have a tab and directional keys available. > > Some of the specialty hardware, like the Sony Xperia Play, have controls > that take special consideration. I picked one up to make sure I could test > things properly on an actual piece of hardware. Some even have special SDK > add-ons available via Eclipse or from the manufacturers sites. It is one of > the things that makes Android more challenging to code for, but I personally > enjoy the challenge. It also gives us, the consumers, a lot of options and > doesn't force everyone to be the same. > > > 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 [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

