fasiy / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't target anything < 2.0 #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Try to compile it targeting any platform under 2.0

What version of Rokon are you using?
Trunk r342

On which version of Android are you experiencing this?
Anything under 2.0

Please provide any additional information below.
I'm getting errors in MotionEventWrapper5 and MotionEventWrapper8.

protected int getPointerCount(MotionEvent motionEvent) {
    return motionEvent.getPointerCount(); <<<<<<<<<<<<< Here
}

protected int getPointerId(MotionEvent motionEvent, int index) {
    return motionEvent.getPointerId(index); <<<<<<<<<<<<< Here
}

protected float getX(MotionEvent motionEvent, int index) {
    return motionEvent.getX(index); <<<<<<<<<<<<< Here
}

protected float getY(MotionEvent motionEvent, int index) {
    return motionEvent.getY(index); <<<<<<<<<<<<< And here
}

I'm guessing that's because it's trying to use multi touch, but since that 
didn't exist until 2.0, you get an error.

Original issue reported on code.google.com by anton.he...@gmail.com on 3 Jul 2010 at 8:20

GoogleCodeExporter commented 8 years ago
You need to compile with 2.2, but you can target anything 1.5 or above

This isn't a bug :)

Original comment by rtaylor205@gmail.com on 4 Jul 2010 at 11:47

GoogleCodeExporter commented 8 years ago
Oh :P

Original comment by anton.he...@gmail.com on 5 Jul 2010 at 12:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the same problem on my Archos 5 IT (Android 1.6), even if I build with 
2.2.
I tried these Manifest:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8" />
or
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
And the Eclipse project is set for API 8.

Original comment by Murphy2...@gmail.com on 7 Jul 2010 at 3:25