collision detection

by bob » Sat, 26 Mar 2011 08:36:39 GMT

Sponsored Links
 Does android have any libraries to help with collision detection?



Re: collision detection

by Hari Edo » Sat, 26 Mar 2011 09:34:05 GMT


Not going to give us much to go on, right?  What do you mean?
Phone-hits-pavement, finger-thumps-phone, finger-taps-widget,
circle-intersects-with-circle, rectangle-intersects-with-line,
sphere-intersects-with-ray, mesh-intersects-with-mesh, what?

Actually, I guess the answer is simpler than the question.
In all but one of those cases, the answer is generally "no."


Sponsored Links

Other Threads

1. help with my installation ADT and SDK in eclipse

Have you tried: right click on the project and select Android Tools >
Fix Project Properties.?
I don't know if it works, but you can have a try.

Yuxing LI


2. Touchscreen Driver Issues on PXA platform

I am porting Android to a PXA development platform. I am using a
UCB1400 touchscreen. I have built the kernel and I can get Android to
boot however the touchscreen is not working. The touch screen is
assigned to event0 and there is no event1. Inside dev/input I only
have event0 and mice. I have enabled the PXA keypad support yet it
still only sets up the touchscreen on event0. I ran getevent and
touched the screen and here is what i got:

# getevent
add device 1: /dev/input/event0
  name:     "UCB1400 touchscreen interface"
could not get driver version for /dev/input/mice, Not a typewriter

/dev/input/event0: 0003 0000 0000018c
/dev/input/event0: 0003 0001 00000128
/dev/input/event0: 0003 0018 0000020f
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0000 00000180
/dev/input/event0: 0003 0001 0000011c
/dev/input/event0: 0003 0018 0000025e
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0000 0000017e
/dev/input/event0: 0003 0001 00000124
/dev/input/event0: 0003 0018 0000028e
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0018 00000000
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0000 00000152
/dev/input/event0: 0003 0001 0000011a
/dev/input/event0: 0003 0018 0000026a
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0000 0000015c
/dev/input/event0: 0003 0001 0000012e
/dev/input/event0: 0003 0018 0000023a
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0003 0018 00000000
/dev/input/event0: 0000 0000 00000000

Here is what I have in my dev/input and proc/bus/input/{devices,
# ls dev/input
# cat proc/bus/input/devices
I: Bus=0000 Vendor=5053 Product=4304 Version=0000
N: Name="UCB1400 touchscreen interface"
P: Phys=
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=event0
B: EV=9
B: ABS=1000003

# cat proc/bus/input/handlers
N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
N: Number=2 Name=evdev Minor=64

My question is, how do I get Android to assign my touchscreen to
event1 and PXA keypad to event0? Am I missing a step? Any help would
be greatly appreciated.


3. Why a static variay variable can not be released when executing finish() method to exit my application?

4. set proxy on android web browser with required username and password

5. Conditionally Show View?

6. Error when I try to running Android application into Netbeans 6.5

7. Driving Directions using Google Map APIs