It is admittedly difficult to get it to work in 1.5... I have implemented it for my app on the market (AppSwipe!) but it was not easy. It might be a day or two before I have a chance to sit down and look at my code but as soon as I can, I will post something here to at least point you in the right direction.
Thanks, Justin ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Tue, May 18, 2010 at 11:58 AM, Chris Ross <cross+goo...@distal.com<cross%2bgoo...@distal.com> > wrote: > > Hi there. When searching for information about how to code up recognition > of a finger swipe across the screen, I find most references to the Gesture > API added in API level 4 (OS 1.6). However, there are still quite a few > devices (The HTC Droid Eris, for example. And the ole G1.) that are running > 1.5. > > The rest of my app is working just fine requiring only API level 3, but I > would like to add swipe recognition. The home screens on the > afore-mentioned OS 1.5 devices detect swipes to go across pages, so it must > be possible in there somewhere. It is just that it's really hard before the > API level 4 Gesture code came in, or is it really effectively not possible? > > Can anyone tell me how to detect swipes (just a directional swipe left or > right across the screen) in OS 1.5 (API level 3, or below) ? > > Thanks... > > - Chris > > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en