Go Back   Android Forums > Android Development > Application Development > Alpha & Beta Testing
Alpha & Beta Testing Developers can post their .apk and ask users to recreate bugs for them, etc, for testing purposes.

New Forums: Nexus 6 | Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old March 13th, 2010, 09:28 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 20
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default Hardware Testers needed

So Hey

I just wrote a simple multi-touch app
I need to test this to see if it work with multi touch on the real hardware.
and also to test if the bitmap fonts work.




APK
MEGAUPLOAD - The leading online storage and file delivery service

Source
MEGAUPLOAD - The leading online storage and file delivery service
if you're interested in digging the source code.

The red lines indicate the 1 pointer.
the blue which you can't see on the emulator is supposed to be the second pointer



BTW
you're doing this on your own risk.

Advertisements
UltraMarine is offline  
Reply With Quote
sponsored links
Old March 13th, 2010, 10:55 AM   #2 (permalink)
Senior Member
 
ttaylor0024's Avatar
 
Join Date: Jan 2010
Location: Kansas, United States
Posts: 659
 
Device(s): Verizon Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 219 Times in 67 Posts
Default

The red crossing point (im guessing its supposed to be where your finger is) is off by about 1 square. Also the blue doesnt move. It comes up, but only the red still moves, you cant move both. I CAN see the 1.0 and 2.0 too. Motorola Droid
__________________
Hardcore Gamer
Check out my youtube and website.

Youtube Channel | Website
ttaylor0024 is offline  
Reply With Quote
The Following User Says Thank You to ttaylor0024 For This Useful Post:
UltraMarine (March 13th, 2010)
Old March 13th, 2010, 11:06 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 20
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

OH HEY THANKS.....

My Conclusion.
1. Bitmap loading works.
2. The function that takes care of the movement is in a for loop.
maybe I should remove the loop and do the whole thing one by one.

or maybe there's another way on how they do it..

But
Mucho Gracias!!
UltraMarine is offline  
Reply With Quote
Old March 13th, 2010, 11:38 AM   #4 (permalink)
Senior Member
 
ttaylor0024's Avatar
 
Join Date: Jan 2010
Location: Kansas, United States
Posts: 659
 
Device(s): Verizon Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 219 Times in 67 Posts
Default

No problem, you got farther than I did
ttaylor0024 is offline  
Reply With Quote
Old March 13th, 2010, 01:01 PM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 20
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Ok about the red lines being 1 square off?
well that's weird.

In the Emulator I see that it's a couple of pixels off when it's near the top left corner.
but when it's down bottom, I see that it's almost correct.
UltraMarine is offline  
Reply With Quote
Old March 13th, 2010, 01:21 PM   #6 (permalink)
Junior Member
 
Join Date: Feb 2010
Location: North Carolina, USA | Previously: Sydney Au.
Posts: 32
 
Device(s): Sprint HTC Hero w/ Fresh2.10b or w/e :)
Carrier: Not Provided

Thanks: 8
Thanked 2 Times in 2 Posts
Default

Keeps force closing on my Sprint HTC Hero :/
noidea` is offline  
Reply With Quote
The Following User Says Thank You to noidea` For This Useful Post:
UltraMarine (March 13th, 2010)
Old March 13th, 2010, 02:00 PM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 20
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

hmmm.
I also coded it in Android 2.1
so what version of Android do you have noidea?
UltraMarine is offline  
Reply With Quote
Old March 13th, 2010, 02:01 PM   #8 (permalink)
Senior Member
 
ttaylor0024's Avatar
 
Join Date: Jan 2010
Location: Kansas, United States
Posts: 659
 
Device(s): Verizon Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 219 Times in 67 Posts
Default

Quote:
Originally Posted by UltraMarine View Post
Ok about the red lines being 1 square off?
well that's weird.

In the Emulator I see that it's a couple of pixels off when it's near the top left corner.
but when it's down bottom, I see that it's almost correct.
Yeah, everywhere on the screen it was about 1 block off to the right. I am running 2.0.1 fyi
ttaylor0024 is offline  
Reply With Quote
Old March 13th, 2010, 03:18 PM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 20
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default



ok this is how it comes out for the emulator......



Maybe the problem lies in GL.java and in Runner
( in public boolean onTouchEvent(MotionEvent event) )
I need to formulate a proper solution for this...




After a quick look at the source code..
I have removed these codes
Quote:
// float cx = control[0].tMove[0] + control[0].tDown[0];
// float cy = control[0].tMove[1] + control[0].tDown[1];
and replace it with these
Quote:
// float cx = control[0].tDown[0];
// float cy = control[0].tDown[1];
and it seems like Y axis is a little bit off. when it's near the Top/Left corner
But X axis seems to be alright.

and yes.
same goes with event.getY() and event.getY(int);...

after all the test.
is seems like it affects with these... (don't have an idea how to test cancel..)
// MotionEvent.ACTION_DOWN
// MotionEvent.ACTION_UP
// MotionEvent.ACTION_MOVE

even in rotated state.
it seems like I have this problem with the width that's 320 pixel wide.

updates again.

http://www.megaupload.com/?d=116CXZ8S

uninstall the old one.
please test what the values are when it's on the top/left corner
I need to know what the difference are
and please test if multi touch work.


no...
http://www.megaupload.com/?d=J2AHEO4I
I found out where the bug is.
I'm using the wrong value for the height in ortho mode
UltraMarine is offline  
Last edited by UltraMarine; March 13th, 2010 at 07:10 PM. Reason: Updates...
Reply With Quote
Old May 2nd, 2010, 04:46 PM   #10 (permalink)
Member
 
ljbaumer's Avatar
 
Join Date: Mar 2010
Location: Bay Area
Gender: Male
Posts: 191
 
Device(s): Nexus 5, Samsung Galaxy S III, HTC Droid Rezound, DROID 2, HTC Droid Eris
Carrier: T-Mobile

Thanks: 56
Thanked 15 Times in 7 Posts
Send a message via Skype™ to ljbaumer ljbaumer
Default

ok for me on my droid eris running android 2.1 it works perfectly fine with just one finger but then it gets confused with 2 fingers and the blue line dosen't move at all.
ljbaumer is offline  
Reply With Quote
sponsored links
Old May 5th, 2010, 10:53 AM   #11 (permalink)
Member
 
Join Date: Oct 2009
Posts: 124
 
Device(s): HERO
Carrier: Not Provided

Thanks: 0
Thanked 9 Times in 6 Posts
Default

Using Sprint Hero, running with a 2.1 ROM, the blue crosshairs don't appear at all.
Only single touch is being registered. The touch center is precise though. I don't see any drift.



And this is most likely a hardware issue with my device, but when pressing in the lower-left area of the screen, without moving my finger, the red crosshairs are unstable and shift around slightly. In the upper-right corner, the crosshairs remain solid.

(I flipped my phone around upside down just to make sure it wasn't one hand shaking and not the other, but I saw the same result. In one corner, the touch center would shift, but not the other.
__________________
Sprint Evo +
(haven't decided which rom yet) =
---------------------------------
(most likely) Awesome
mkhopper is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development > Alpha & Beta Testing
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.