Android :: Updated MultiTouchController.java For Simplifying The Development Of Multi-touch Applications On Android

Jun 9, 2010

If anybody is creating multi-touch apps for Android, you may have noticed the MotionEvent class is getting more and more complicated over time. Additionally you may have discovered your code has different quirky behavior on different devices (e.g. on Synaptics devices, touch-down / touch-up can cause sudden jumps in pointer position before the down/up event is received).

I have written a class to simplify the process of writing multi-touch applications for Android, and just updated it to Android 2.2 (and to handle 3+ touch points on true 2D multi-touch sensors, as present on the HTC Incredible and HTC EVO 4G), and moved the project to Google Code hosting:

http://code.google.com/p/android-multitouch-controller/

There are numerous advantages to using this controller over trying to reinvent the wheel yourself, including simplicity and automatic device- space / object-space coordinate conversion for pinch-zoom. This also correctly centers the zoom of a pinch operation on the center of the pinch rather than the center of the screen, and supports simultaneous pinch-and-drag for more realistic pinching.

Android :: Updated MultiTouchController.java for simplifying the development of multi-touch applications on Android


General :: Multi-Touch IR Overlay Only Allows One Touch With Android Box

Oct 25, 2013

I purchased the IR overlay from here [URL] I got it working with my mk808b by using an idc fiile, however, it only allows one touch point which means no zoom. On the computer it is multitouch.

View 7 Replies View Related

Desire : Screen Touch Calibration / Multi Touch Points The Htc Has?

Oct 21, 2010

Is there such a thing for the HTC desire? also, is there a app that lets you see how many multi touch points the htc desire has? i saw some youtube vids where that have this app and they put as many fingers as they can on the screen and scribble around.

View 2 Replies View Related

Android :: Multi-touch Not Working

Apr 8, 2010

I am getting this multi-touch events in my application for which the logs are shown below.Multitouch is not working in my application.Does it mean that there is some problem with framework or my application.

Sequence:Just two fingers pressed to the screen,dragged and then lifted both.

Inputdevice: ID[0] Down

Inputdevice: ID[0] Down

Inputdevice: ID[1] Up

Inputdevice: ID[0] Up

I think for the last event it should have been ID[1] instead of 0?? Am i right?Is it a framework problem or some problem with my application?

View 3 Replies View Related

Android :: Multi Touch - How It Works

May 11, 2010

Ok So I've gone through several tutorials on the web. I understand how the pointerCount works , I can get two points, etc, etc. My problem is I am trying to implement a game control, i.e. dpad and some buttons. The "buttons" are actually TextView objects with images. I Implement OnTouchListener Interface. my onTouch Method gets called when it should. The problem is if I have finger #1 on button a then press finger #2 on button b my OnTouch() method is called with the view of button a, not button b. Fine then I will just get the bounds of the buttons and see if they intersect with the points clicked. No luck, It seems as though the points that come in the MotionEvent are not relative to 0,0 , but to some other coordinate system. I would have thought all points were relative to upper left of screen.

Here is my code.

CODE:.................

View 3 Replies View Related

Android :: Multi-touch For A Piano

Sep 6, 2010

I would like to add multi-touch to my piano app and would like feedback on the best way to do it. I hate the idea that multi-touch is only for one view and not multiple views (ie buttons).

View 6 Replies View Related

Android :: Multi Touch Web Browser?

Mar 27, 2009

Did anyone hear about the Multi-Touch Browser? Is it true? Android Unleashed: JFv1.41, with Multi-Touch Browser! As a person brand new to G1 (got mine yesterday) i'm like WOW! How do I install it? Is it safe?

View 1 Replies View Related

Android :: Does Donut Really Support Multi-touch?

Jul 29, 2009

Does Donut really support multi-touch? If yes, where I can find this support in code?

View 12 Replies View Related

Android :: Any Dev's Working On A Multi Touch Keyboard?

Dec 22, 2009

As we've all heard countless times, the Droid supports multi touch capabilities, but does not include them in the onboard software. Are any Dev's out there working on a multi touch capable software keyboard? I'm sure the majority of the Droid-owning population would shell out $$ for one...that should be incentive enough.

View 3 Replies View Related

Android :: How To Support Multi Touch Of Cupcake?

Dec 3, 2009

Is there anyone know how to add multi-touch function in cupcake? I found that linux kernel 2.6.30 had a new multi-touch protocl, did that mean I must upgrade my kernel to be 2.6.30+?

View 3 Replies View Related

Android :: Multi Touch Support In OTA Update

Feb 27, 2009

HTC G1 is perfectly capable of multi touch support. Please guys implement that in the next OTA update if possible. I understand is something that Apple Created with their Iphone, but G1 has a lot of petential and multi touch i needed for the sucess of this product. Google works with Apple and I am sure you can implement that feature with the phone.

View 7 Replies View Related

Android :: Who Wants Multi-touch In All Phone Versions?

Nov 13, 2009

Our team developed a fairly robust multi-touch implementation for PhoneMyPC that has worked since Android 1.0. Our code still uses it on pre- 2.0 phones, but of course we use the 2.0 multi-touch API on the Droid.I've been stunned that no other apps (that I know of) have supported multi-touch (in pre- 2.0 Android), and I'm curious if the community at large might like our implementation. We've been considering publishing the technique on our website. Although pre- 2.0 Android devices will dwindle now, they still represent a vast majority of current devices. If you're curious how well it works, download PhoneMyPC to your pre- 2.0 phone and give it a try. It's usable in the *Snapshot*, *View Live*, and *Interact Live* features.

View 13 Replies View Related

Android :: How To Test Multi-touch In Emulator

Oct 7, 2010

I'm trying to use multi-touch in an Android 2.0 app. How can I simulate this with an emulator using Eclipse? I can only seem to get the mouse to do one touch at a time.

View 2 Replies View Related

Android :: Pinch Zoom Vs Multi Touch

Jan 22, 2010

Maybe it's just semantics, but I feel the need to see how others feel about this.I have always loathed the computer term "cut and paste" because you actually COPY and paste, at least that goes for 99.999% of my usage with those functions. So now the question is, do we apply the same reverse terminology to this fictional, mystical, function, that we have only seen in fuzzy Youtube videos? The reason I ask this is. the initial view of any web page that I visit, I see the whole page, and if I want to be able to read a particular column I would need to zoom into it, but here is where the terminology gets confusing, because in my experience with other devices that use such technology ie: iPod, to zoom in you actually use a stretch motion to zoom in, and a pinch motion to zoom out. I know semantics, you have to pinch to make it zoom one way or the other, but since the most commonly used zoom feature would be to zoom in, it should be called stretch-zoom instead. So how do you feel? Pinch-zoom Stretch-zoom or just plain old Multi-touch.

View 15 Replies View Related

Android :: Using Sencha Touch For Mobile Development

Nov 24, 2010

We're evaluating Sencha Touch for mobile development. Has anyone used this yet (I realize that it's still in beta), and if so, what are its strengths / weaknesses? How does it compare to alternatives?

View 3 Replies View Related

Android :: Phone Choice - Get Multi-Touch Capabilities

Jul 18, 2010

So I'm in the process of needing a new phone, I've went through three blackberries and I am honestly tired of them, the only benefit is BBM and I can live without it...

Questions :

1. If I get the X10, since it it currently running 1.6, if I root and upgrade to 2.1...

Do I get Multi-Touch capabilities? Will it run smoother and more efficently?

2. Should I just wait for Sony to release their proprietary stuff and hope they do well?

3. Is the X10 really worth it? I'm between it and an Iphone right now, not much else of an option for a full touch on the Rogers network here in Canada for the phone selection that I have. You can see all the phones I am able to get here. (By this I mean these are literally the phones I can pick from, I get them as free upgrades)

View 8 Replies View Related

Android :: Motorola Droid Multi Touch Bug And How To Reproduce?

Jan 15, 2010

Multi-touch API is bugged (at least on Motorola Droid). Here is a method to reproduce the error for analysis:

1) Create a new android project in Eclipse with the fields

2) code and paste this into the PointerLocation.java file that is automatically created

View 15 Replies View Related

Android :: How Many Devices Have Nexus One HTC Desire Multi Touch?

Nov 6, 2010

So there's the multitouch issue with the Nexus One and HTC Desire. Is there some documentation on what other devices have this hardware error and what the total market share is? If you had a game idea that needs massive multitouch gestures, would you go for it on Android or would it currently be a waste of time with only a few devices supporting it?

View 3 Replies View Related

Android :: Snesoid Multi-touch Only Reads Two Buttons At Once

May 30, 2010

I snagged SNESoid and was playing Chrono Trigger. Everything going great until One part of the game requires me to press L+R and then hit A. I can't seem to make this happen, since multi-touch only reads two buttons at once. I'm on an Incredible, any ideas?

View 5 Replies View Related

Samsung I7500 :: Multi-touch Support On Android 2.0

Oct 28, 2009

Android 2.0 supports multi-touch! now we need to wait for Samsung to implement 2.0 on the galaxy. i wonder how long that will take...

View 7 Replies View Related

Motorola :: Android Multi-touch Support Reliable?

Apr 20, 2010

I wonder if is the Android multi-touch support reliable? I've read it suffers from some problems.I also wonder, how can I define custom multi-touch gestures? Like: 3 fingers rotate or 3 fingers stay static and fourth is moving.I've come across some resources (Gestures or MotionEvent on developer.android.com) but nothing states it clearly.

View 1 Replies View Related

Android :: How Can I Test Multi-touch On Phone Emulator?

Jun 28, 2010

I don't have an Android phone now, but I really want to test Multi-touch or Shake feature. How can I do this on Emulator?

View 1 Replies View Related

Android :: Multi Touch Doesn't Work As Expected?

Mar 17, 2010

Help me in resolving the below issue. I have three image buttons on screen. All these three buttons controlled under ontouchlistner as below. My problem is, as it is under multi touch event handler like above, it does not detect when touch all three button at a time to try to produce multi touch effect, instead it detects only one imagebutton touch at a time even though i touch all three image buttons. As i am developing this project on Android 1.6 SDK, is there any problem accessing my requirement(multi touch) (or) it is a known issue? I am hoping that, when it works for single button touch, why shouldn't it work when clicking three imagebuttons at a time to produce three logs printed as per my above code? Code...

View 1 Replies View Related

Android :: Multi Touch Event Handling Is Supported In 1.6 SDK?

Mar 16, 2010

I like to know using which version of Android SDK we can develop multi touch handling. Does Android SDK 1.6 support multi touch? If yes, can i get some sample code, where i can have multiple imagebuttons placed on screen and clicking on all the imagebuttons at a time should detect multiple touch events?

View 2 Replies View Related

Android :: Make Multi-touch Support SoftKeyboard?

Oct 16, 2010

How to add multi-touch function to sample "softkeyboard"?

View 2 Replies View Related

Android :: Improving Java Development Skills

Jul 17, 2010

I just recently graduated college with a B.S. in Computer Science with a focus on software development, particularity in Java. After graduation I got hired as a Java developer for a company in my area (been there for about a little over a month now). I also starting picking up Android development late in my college career since it closely resembles Java syntax and was easy to jump into.My question is, what would be some good Java / Android projects to do and books to read for recent post-graduates in the software development field focusing on Java?

View 3 Replies View Related

How To Add PHP Development To Eclipse Setup For Android / Java

Nov 9, 2011

I've got Eclipse setup for Android/Java development and it seems to be working.

How do I add PHP development as well to the Eclipse installation?

Must I install Eclipse on a separate PC in order to do PHP dev ?

If I can add PHP to the Eclipse setup for Android/Java... where do I click to do it?

View 1 Replies View Related

Android :: SE X10 - 2.1 Update Release Date (Supports Multi Touch)

Apr 16, 2010

This might change some people minds. Sony Ericsson X10 2.1 update release date (supports multi-touch after all!) . It doesn't seem categoric, but it sure sounds exciting. I have to say that an X10 with 2.1 and multi-touch would be the best Android phone this year!

View 3 Replies View Related

Android :: One Frontend For IPhone / IPad / Multi-Touch Displays

Sep 6, 2010

I have built a multi-touch application which is based on a Java EE backend and combined with BlazeDS to a Adobe Flex frontend. The application runs on a DIY-Multi-Touch which I built. Now I want to use another solution. The Adobe Flex frontend (with a multitouch library) and the BlazeDS adapter should be replaced by a solution which covers iPhone/iPad, Android and commercial Multi-Touch displays.The problem is the iPad/iPhone, there is no Flash Player runtime (not the jail-braked ones), but the application should be runnable also on those devices. So Adobe Flex and a Java frontend (no JVM on the iPhone/iPad) is not possible anymore. At first, starting the developing of the application it was not necessary, to run it on Apples mobile devices, but this changed So, what can I do, using HTML5? So I can use it for Android and iPhone/iPad. But I also want to make it possible to use it on a commercial multi-touch-display and normal display with a mouse (I only have gestures for one finger, the 2-finger gestures are not necessary). Are there any frameworks that allow this? Because I do not want to create several frontends (App for iPhone/iPad on Objective-C and a Adobe Flex for all other devices), it would be great if I can build a frontend for all devices.

View 2 Replies View Related

General :: Android Device With External Multi-Touch Screen

Feb 27, 2012

I have a couple of tablets but my primary is my Xoom. I'd like to use the HDMI output and the USB to connect to a multitouch screen that I have. I've seen some older hacks that are resistance hardware touch screens that are more hardware. I'm wondering if this is remotely possible in the newer version of android like ICS on the Xoom.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved