Android :: Multitouch Support In Android 2.0
Oct 27, 2009i saw that multi-touch is now supported:
View 1 Repliesi saw that multi-touch is now supported:
View 1 RepliesHow we can find whether Multitouch support is available or not in various device?
I tried like this:
CODE:............
How we can use that.
I had assumed that the Motorola Droid supports the new multitouch APIs in Android 2.0, but the reviews of the device I've seen so far say that it isn't used, at least in the built-in apps like the browser (e.g: http://www.engadget.com/2009/10/30/motorola-droid-review/ ). Apparently though, it is supported on the upcoming GSM version of the same handset [url], so perhaps it is just an issue of whether the driver is included on the Droid version of the software. Can anyone with access to a Droid confirm whether the multitouch API works on it?
View 2 Replies View RelatedAdobe Upgrades Air and Flash: Mobile and Multi-Touch Support Added - PC World
Both AIR 2 and Flash Player 10.1 support multitouch and gesture-based applications on touch screen devices. The beta releases are available as free downloads from Adobe Labs. Flash Player 10.1 runs on Windows, Macintosh, and Linux desktop platforms and x86-based netbooks. Devices supported include Android, Windows Mobile, Palm webOS, and Symbian S60.
Most Motorola handsets will have multitouch from here on out.
In an interview with Laptop Magazine, Motorola CEO Sanjay Jha had this to say:"I think you will see us deliver multitouch in the majority of our devices going forward. There�s a complex set of factors, not all of them technical. But I think you�ll see us being proactive on multitouch because the user feedback on multitouch is very good."
I'm developing an application that must handle multitouch. Basically I want single touch for rotating ( this is no problem ). And multitouch for scrolling.
I have the basic code in, but I'm having problems when the shift from single to multitouch, and vice verca, occur. Basically the movement will jolt because the median position of the multitouch ( two fingers ) and the absolute position of the single finger are at a distance. So if I have two fingers on the screen, they make up a median position, and then lift one finger, it would be like a quick movement from that median position to the absolute single finger position. This will be the movement that I don't want.
This is my code:
CODE:........
The onTouchDown function of the camera just sets the first value of the touch move. That's why I also use it in the up movement to set a new begin value for the single touch movement when coming from a multitouch.
it should not zoom in too much (x < minZoomLevel etc) or zoom out too much (only one size - width or height - can get smaller than the display size)
View 2 Replies View RelatedI'm trying to do is draw circles around two points that are being touched, and as the fingers drag along on the screen, have these circles follow each finger.
However, I'm getting some weird behavior that I can't figure out. So when I place two fingers on the screen I get my circles no problem. When I drag around with the two fingers everything works like I want it. However, if I lift the first finger, everything stops redrawing, and the second finger that is still on the screen stops being tracked. If I place the first finger back on, everything behaves good again. I figure I must be handling the two fingers poorly.
Also, if I have two fingers on the screen, and I lift and touch the second finger, everything behaves well. It's only in the case where I have two fingers and I lift the first one do I see a problem.
CODE:........................
I know that there are browsers like dolphin or xscope that allow multitouch zoom, but I was wondering about something else. I actually happen to like the default browser better than those two, I really just want multitouch. I'm no developer, but I was wondering how possible it would be to take the default browser, and add nothing to it but the multitouch zoom.
View 1 Replies View RelatedI'm seeing a bug with overlays on MapView with the Nexus One. Pinch and zoom multitouch gestures don't scale my overlays until the user releases the gesture, at which point the overlay redraws itself. In contrast, the My Location overlay in Google Maps WILL scale during the gesture. Is there a way to fix this in my app, or is this a MapView bug?
View 2 Replies View RelatedI have a user complaining about a FC on my app and they were kind enough to post the stacktrace. It's a class that I cannot find anywhere and it sounds like it is related to multi-touch. I don't specifically call this class, MapView does so I don't have any control over it. It kind of looks like his Google API maps package is trying to use an unknown gesture library. Any ideas? I figure other devs using the MapView class might run into the same issue with their users. The user is using a Droid.
02-06 01:08:37.326: ERROR/AndroidRuntime(4231): Caused by: java.lang.reflect.InvocationTargetException 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:238) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at java.lang.reflect.Constructor.constructNative(Native Method) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at java.lang.reflect.Constructor.newInstance(Constructor.java:446) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at android.view.LayoutInflater.createView(LayoutInflater.java:500) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): ... 22 more 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): Caused by: java.lang.NoClassDefFoundError: android.view.ScaleGestureDetector 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.setup(MapView.java:368) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapActivity.setupMapView(MapActivity.java:187) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:280) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): at com.google.android.maps.MapView.<init>(MapView.java:255) 02-06 01:08:37.326: ERROR/AndroidRuntime(4231): ... 26 more......
Is multitouch available to Android app developers? I've heard its on the new 2.0 version but only seen it accomplished on the Internet browser.
View 2 Replies View RelatedI need to zoom-in/zoom-out for my app. Multitouch would be the most obvious way to go about this *sigh*. I would prefer not to use the zoom-in/out widget. I have been trying a number of other techniques but am not satisfied with the feel. Looking for suggestions from the community on alternative approaches. A one fingered zoom?
View 17 Replies View RelatedI recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should be multiple pointers provided.
Unfortunately, I only have a G1 to test on and it's running Android 1.5 and not 2.0.
Is there any way to test multitouch without a 2.0 device? In the iPhone simulator, you can hold down option and shift option to perform two fingered pinch and two fingered drag, respectively. Is there any similar functionality in the Android emulator? Is it something I should expect to see in the future, or should I just suck it up and buy a new test phone?
I am attempting to write an application which will require the user to press, at maximum, four "buttons" (ie regions of the screen) at any one time. I have been looking at the multitouch capabilities of the SDK versions > 5, the MotionEvent.getPointerCount() appears to return the number of presses detected on the screen. *What is the maximum number of presses this function will ever return?*
I went digging through the android source code for the MotionEvent class, and couldn't deduce anything from that, I am wondering if the maximum number of presses is heavily hardware dependent? I modified the MultiTouchVis code by Robert Green (from Battery Powered Games) to report the number of presses reported by MotionEvent.getPointerCount() each frame and on my Milestone it consistently reports a maximum of 2 presses. Is this a hardware thing, or does the sdk limit it to 2 presses?
Is there any way to register more than 2 presses at a time? I'm making a musical application and would like the user, for example, to be able to play chords by pressing multiple keys at any one time.
I'm displaying an image on full screen now i want to zoom it in or out.
Any one guide on how I can implement multitouch image zooming?
I am using the 2.1 sdk version.
via Slashdot ..
http://yro.slashdot.org/article.pl?sid=09%2F01%2F27%2F024242&from=rss
Does this really put the kabosh on multitouch on Android for the next 18 years? Anyone out there have any thoughts on this?
www.smileproject.com
Are there any multitouch code examples that Google provides for SDK levels 2.0 or higher? I do searches on here and on google and come up empty.
View 8 Replies View RelatedWith the Droid's 2.1 update, it will be getting multitouch in the browser. So I'm assuming that stock Android browsers will be getting multitouch from 2.1 on forward. I've always been under the impression that the purpose of the Sense browser was to incorporate multitouch that was previously missing in older versions of Android.
With 2.1 coming to our Heros, do you think the new Hero's will just use stock browser? If not, will there be any way to GET the stock browser on the Hero? I honestly think I would like the stock browser better, because I hate the "text autoflow" on the Sense browser. Everytime I zoom, it text-autoflows, and throws me onto some random place on the screen! Plus it makes the browser slower.
So what I want to know is what is being done about this? Is there a bug file and if so is it.
View 1 Replies View RelatedSpent 2 weeks poking around Android SDKs and sacrificed last two weekends and finally managed to get a relatively stable version today. Named 'xScope', I did put a $2.99 price tag tough if you please excuse me. I need to buy a bird for this thanksgiving and wife kept bashing my development effort for not doing any housework in the past weeks. The browser is not full blown but works great for simple surfing.
View 49 Replies View RelatedCan multitouch events be tested on Android Emulator ? Or is there any way to test this without actual device ? I am using 2.0 sdk and want to test zoom-in zoom-out on by two fingers.
Is there a way out ?
I need simple multitouch example . I have two button controls. How to make the both to be clickable(pressed) at the same time ?
View 1 Replies View RelatedI have been racking my brain to try to figure out what is going wrong here. I wanted to experiment with multi-touch, so I decided to add the controls for LunarLander to the touchscreen.
Instead of adding buttons, I defined regions on the screen that when touched, would act like the buttons on the keyboard (for example, the gas fires as long as you press the screen in the area defined for the gas button, and stops firing when you release.)
To do this, I added the onTouchEvent override to the LunarView class as follows:
CODE:.....................
I'm trying to build a app that uses the SmsMessage class but there are two versions depending on the API level of the device:
android.telephony.gsm.SmsMessage (deprecated for 1.6 and above)
android.telephony.SmsMessage (the new class for 1.6 and up)
I want to target 1.5 and yet have the newer class (android.telephony.SmsMessage) run on devices with 1.6 or higher. How do I do this?
I have already tired this: http://devtcg.blogspot.com/2009/12/gracefully-supporting-multiple-android.html but I couldn't get it to work (the author doesn't mention how he/she handles the different imports, the exact api level settings etc.)
CODE:....................
So is there a way for a webview control to detect a swipe while capable of doing multitouch zoom and having build-in zoom controls?
View 1 Replies View RelatedI'm trying to use the Droid X Multitouch keyboard in CM6 but I can't get it to work. I go to the .apk and open App Manager and only get an uninstall option. Uninstall is only always unsuccessful? Anyone know how to get this working properly? Download reference page is here. : (Updated 7/22/2010!)Droid X multitouch keyboard 2.1 addition -
View 4 Replies View RelatedIs very nice... has anyone else used it yet? This might actually be my daily keyboard now.
View 44 Replies View RelatedI see there is another thread deicated to this - however I am not getting anywhere with the link provided - seems like all it is ad-ware. I dl'ed the File Manager as asked to do so - is there a clean link to dl the .apk for this keyboard..?
Also - I would like some more feedback on those who have this Droid X Keyboard on their Evo.
Just listened to the Engadget podcast and they said that this device has no multi touch functionality period out of the box. Even the software keyboard does not have it according to them. I need to know if this is real or not it is really bothering me right now. The main reason it is bothering me is because if you go on the VZW Droid Does website in all the features right between turn by turn nav and GTAlk you will see that multitouch is advertised right there. Why would they advertise it if the device does not support it?
View 25 Replies View Related