Jump to content

Multitouch possible in theory?


Guest lemmyc

Recommended Posts

Guest david_dawkins

It sounds like you're saying we can just drop that driver code in as it is and rebuild the pulse kernel.

I think I have both kernels on my machine now after last weekend's efforts, so I'll give it a try. Did you or someone else try this approach already though?

Link to post
Share on other sites
Guest BigBearMDC

I think somebody tried to define ENABLE_GESTURE=y or something like that.

Don't drop in the code. I think its easier to edit the makefile to compile the synaptics_i2c_rmi_tm1167.c. instead of synaptics_i2c_rmi_tm1319.c :D

Edit:

I think we also have to compile the cypress_byd_i2c_ts.c instead of the cypress_cpt_i2c_ts.c :D

Greetings,

BigBear

Edited by BigBearMDC
Link to post
Share on other sites
Guest BigBearMDC

Okay, it boots up, but restarts then :D

I tried adb logcat, but - and I don't know why - it just keeps telling me waiting for device...

Even the backlight turns on - so i guess the kernel is working, but android isn't :D

Link to post
Share on other sites
Guest david_dawkins
Okay, it boots up, but restarts then :D

I tried adb logcat, but - and I don't know why - it just keeps telling me waiting for device...

Even the backlight turns on - so i guess the kernel is working, but android isn't :D

Bah!

So if you build and boot with the unchanged original kernel, it's OK? This the baseline check. If this doesn't work then it's not necessarily the work you just did.

And if you diff the unchanged with the multitouch, the only differences you can see are the multitouch drivers?

Link to post
Share on other sites
Guest BigBearMDC
Bah!

So if you build and boot with the unchanged original kernel, it's OK? This the baseline check. If this doesn't work then it's not necessarily the work you just did.

And if you diff the unchanged with the multitouch, the only differences you can see are the multitouch drivers?

It boots fine with the normal kernel, yes.

I havent compiled the standard Pulse kernel yet, but the two kernel images are different (i checked them with a HEX editor :D )

Should i try it with the stock android 1.5?

Greetings,

BigBear

Link to post
Share on other sites
Guest BigBearMDC

Here's my logcat output:

W/PackageParser( 1116): Unknown element under <intent-filter>: uses-permission
W/PackageParser( 1116): Intent filter for activity ActivityIntentInfo{44b35cb0 a
lbr.callerwidgetdva.Contacts} defines no actions
W/PackageParser( 1116): Problem in package /data/app-private/albr.callerwidgetdv
a.apk:
W/PackageParser( 1116): Unknown element under <intent-filter>: uses-permission
W/PackageParser( 1116): Intent filter for activity ActivityIntentInfo{44b36530 a
lbr.callerwidgetdva.choose} defines no actions
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/albr.callerwidgetdva.apk destCodeFile = /data/app-private/albr.ca
llerwidgetdva.apk destResourceFile = /data/app-private/albr.callerwidgetdva.ap
k pkg...... parseFlags = 4 scanMode = 25
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/com.droidheaven.hero.watchclock.apk destCodeFile = /data/app-priv
ate/com.droidheaven.hero.watchclock.apk destResourceFile = /data/app-private/c
om.droidheaven.hero.watchclock.apk pkg...... parseFlags = 4 scanMode = 25
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/com.omnigsoft.volcanoisland.apk destCodeFile = /data/app-private/
com.omnigsoft.volcanoisland.apk destResourceFile = /data/app-private/com.omnig
soft.volcanoisland.apk pkg...... parseFlags = 4 scanMode = 25
E/PackageManager( 1116): Package com.omnigsoft.volcanoisland has mismatched uid:
10086 on disk, 10083 in settings
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/game.fps.shooter.lite.apk destCodeFile = /data/app-private/game.f
ps.shooter.lite.apk destResourceFile = /data/app-private/game.fps.shooter.lite
.apk pkg...... parseFlags = 4 scanMode = 25
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/com.dedrisproject.tetrisforandroid.apk destCodeFile = /data/app-p
rivate/com.dedrisproject.tetrisforandroid.apk destResourceFile = /data/app-pri
vate/com.dedrisproject.tetrisforandroid.apk pkg...... parseFlags = 4 scanMod
e = 25
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/com.digitalchocolate.pictoplaydemo.apk destCodeFile = /data/app-p
rivate/com.digitalchocolate.pictoplaydemo.apk destResourceFile = /data/app-pri
vate/com.digitalchocolate.pictoplaydemo.apk pkg...... parseFlags = 4 scanMod
e = 25
I/PackageManager( 1116): PackageManagerService.scanPackageLI() scanFile = /dat
a/app-private/com.swampy.sexpos.apk destCodeFile = /data/app-private/com.swampy
.sexpos.apk destResourceFile = /data/app-private/com.swampy.sexpos.apk pkg...
... parseFlags = 4 scanMode = 25
I/PackageManager( 1116): Time to scan packages: 12.685 seconds
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.androidapps.widget.weather
W/PackageManager( 1116): Unknown permission android.permission.ACCESS_DOWNLOAD_D
ATA in package com.esmertec.android.jbed
W/PackageManager( 1116): Unknown permission android.permission.ACCESS_LGDRM in p
ackage com.esmertec.android.jbed
W/PackageManager( 1116): Unknown permission android.permission.READ_SETTINGS in
package com.huawei.android.phonebook
W/PackageManager( 1116): Unknown permission android.permission.DELETE_PHONE_STAT
E in package com.huawei.android.phonebook
W/PackageManager( 1116): Unknown permission android.permission.RECEIVE_EMAILARRI
VE in package com.huawei.android.phonebook
W/PackageManager( 1116): Unknown permission android.permission.RECEIVE_EMAILSEND
in package com.huawei.android.phonebook
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.androidemu.gbalite
W/PackageManager( 1116): Not granting permission android.permission.INTERNAL_SYS
TEM_WINDOW to package com.huawei.android.SecurityResult (protectionLevel=2 flags
=0x45)
W/PackageManager( 1116): Not granting permission android.permission.ADD_SYSTEM_S
ERVICE to package com.huawei.android.SecurityResult (protectionLevel=2 flags=0x4
5)
W/PackageManager( 1116): Not granting permission android.permission.DEVICE_POWER
to package com.huawei.android.SecurityResult (protectionLevel=2 flags=0x45)
W/PackageManager( 1116): Not granting permission android.permission.BROADCAST_SM
S to package com.huawei.android.SecurityResult (protectionLevel=2 flags=0x45)
W/PackageManager( 1116): Not granting permission android.permission.BROADCAST_WA
P_PUSH to package com.huawei.android.SecurityResult (protectionLevel=2 flags=0x4
5)
W/PackageManager( 1116): Not granting permission android.permission.CLEAR_APP_US
ER_DATA to package com.omnigsoft.volcanoisland (protectionLevel=2 flags=0x44)
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.google.tts
W/PackageManager( 1116): Not granting permission com.google.android.googleapps.p
ermission.GOOGLE_AUTH.ALL_SERVICES to package com.larvalabs.slidescreen (protect
ionLevel=2 flags=0x46)
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.larvalabs.slidescreen
W/PackageManager( 1116): Not granting permission android.permission.INSTALL_PACK
AGES to package BandB.Tool.QuickUninstaller.Uninstaller (protectionLevel=3 flags
=0x44)
W/PackageManager( 1116): Not granting permission android.permission.DELETE_PACKA
GES to package BandB.Tool.QuickUninstaller.Uninstaller (protectionLevel=3 flags=
0x44)
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package BandB.Tool.QuickUninstaller.Uninstaller
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.fsck.k9
W/PackageManager( 1116): Unknown permission android.permission.MODE_WORLD_WRITEA
BLE in package com.weather.Weather
W/PackageManager( 1116): Not granting permission android.permission.HARDWARE_TES
T to package com.bwx.bequick (protectionLevel=2 flags=0x44)
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.dataviz.stargate
W/PackageManager( 1116): Not granting permission android.permission.STATUS_BAR t
o package com.adobe.psmobile (protectionLevel=3 flags=0x44)
W/PackageManager( 1116): Unknown permission android.permission.CHANGE_WIFI_MULTI
CAST_STATE in package com.polarbit.waveblazerlite
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.polarbit.waveblazerlite
W/PackageManager( 1116): Unknown permission android.permission.CHANGE_WIFI_MULTI
CAST_STATE in package com.polarbit.rthunderlite
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.polarbit.rthunderlite
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.dataviz.docstogo
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.appspot.swisscodemonkeys.steam
W/PackageManager( 1116): Not granting permission android.permission.INJECT_EVENT
S to package com.accuweather.android (protectionLevel=2 flags=0x44)
W/PackageManager( 1116): Not granting permission android.permission.WRITE_SECURE
_SETTINGS to package fr.wewe.android.oneClickWidget (protectionLevel=3 flags=0x4
4)
W/PackageManager( 1116): Not granting permission android.permission.ACCESS_SURFA
CE_FLINGER to package kr.mobilesoft.yxflash (protectionLevel=2 flags=0x66)
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package kr.mobilesoft.yxflash
W/PackageManager( 1116): Unknown permission android.permission.READ_EXTERNAL_STO
RAGE in package kr.mobilesoft.yxflash
W/PackageManager( 1116): Unknown permission android.permission.WRITE_EXTERNAL_ST
ORAGE in package com.handcent.nextsms
W/PackageManager( 1116): Unknown permission android.permission.INSTALL_DRM in pa
ckage com.handcent.nextsms
I/SystemServer( 1116): Starting Content Manager.
W/Database( 1116): cannot read configuration file for seachable databases
W/Database( 1116): cannot read configuration file for seachable databases
W/Database( 1116): cannot read configuration file for seachable databases
W/Database( 1116): cannot read configuration file for seachable databases
E/Database( 1116): Error inserting value=true name=sync_provider_gmail-ls
E/Database( 1116): android.database.sqlite.SQLiteConstraintException: error code
19: constraint failed
E/Database( 1116): at android.database.sqlite.SQLiteStatement.native_execut
e(Native Method)
E/Database( 1116): at android.database.sqlite.SQLiteStatement.execute(SQLit
eStatement.java:66)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insertWithOnCo
nflict(SQLiteDatabase.java:1631)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insert(SQLiteD
atabase.java:1479)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.load
SyncSettings(SyncStorageEngine.java:247)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.onOp
en(SyncStorageEngine.java:233)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getWritableD
atabase(SQLiteOpenHelper.java:117)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getReadableD
atabase(SQLiteOpenHelper.java:158)
E/Database( 1116): at android.content.SyncStorageEngine.getPendingSyncsCurs
or(SyncStorageEngine.java:575)
E/Database( 1116): at android.content.SyncManager$SyncQueue.<init>(SyncMana
ger.java:1949)
E/Database( 1116): at android.content.SyncManager.<init>(SyncManager.java:2
49)
E/Database( 1116): at android.content.ContentService.getSyncManager(Content
Service.java:49)
E/Database( 1116): at android.content.ContentService.<init>(ContentService.
java:79)
E/Database( 1116): at android.content.ContentService.main(ContentService.ja
va:208)
E/Database( 1116): at com.android.server.ServerThread.run(SystemServer.java
:137)
E/AndroidRuntime( 1116): Crash logging skipped, no checkin service
W/Database( 1116): cannot read configuration file for seachable databases
E/Database( 1116): Error inserting value=true name=sync_provider_calendar
E/Database( 1116): android.database.sqlite.SQLiteConstraintException: error code
19: constraint failed
E/Database( 1116): at android.database.sqlite.SQLiteStatement.native_execut
e(Native Method)
E/Database( 1116): at android.database.sqlite.SQLiteStatement.execute(SQLit
eStatement.java:66)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insertWithOnCo
nflict(SQLiteDatabase.java:1631)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insert(SQLiteD
atabase.java:1479)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.load
SyncSettings(SyncStorageEngine.java:247)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.onOp
en(SyncStorageEngine.java:234)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getWritableD
atabase(SQLiteOpenHelper.java:117)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getReadableD
atabase(SQLiteOpenHelper.java:158)
E/Database( 1116): at android.content.SyncStorageEngine.getPendingSyncsCurs
or(SyncStorageEngine.java:575)
E/Database( 1116): at android.content.SyncManager$SyncQueue.<init>(SyncMana
ger.java:1949)
E/Database( 1116): at android.content.SyncManager.<init>(SyncManager.java:2
49)
E/Database( 1116): at android.content.ContentService.getSyncManager(Content
Service.java:49)
E/Database( 1116): at android.content.ContentService.<init>(ContentService.
java:79)
E/Database( 1116): at android.content.ContentService.main(ContentService.ja
va:208)
E/Database( 1116): at com.android.server.ServerThread.run(SystemServer.java
:137)
E/AndroidRuntime( 1116): Crash logging skipped, no checkin service
W/Database( 1116): cannot read configuration file for seachable databases
E/Database( 1116): Error inserting value=true name=sync_provider_contacts
E/Database( 1116): android.database.sqlite.SQLiteConstraintException: error code
19: constraint failed
E/Database( 1116): at android.database.sqlite.SQLiteStatement.native_execut
e(Native Method)
E/Database( 1116): at android.database.sqlite.SQLiteStatement.execute(SQLit
eStatement.java:66)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insertWithOnCo
nflict(SQLiteDatabase.java:1631)
E/Database( 1116): at android.database.sqlite.SQLiteDatabase.insert(SQLiteD
atabase.java:1479)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.load
SyncSettings(SyncStorageEngine.java:247)
E/Database( 1116): at android.content.SyncStorageEngine$DatabaseHelper.onOp
en(SyncStorageEngine.java:235)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getWritableD
atabase(SQLiteOpenHelper.java:117)
E/Database( 1116): at android.database.sqlite.SQLiteOpenHelper.getReadableD
atabase(SQLiteOpenHelper.java:158)
E/Database( 1116): at android.content.SyncStorageEngine.getPendingSyncsCurs
or(SyncStorageEngine.java:575)
E/Database( 1116): at android.content.SyncManager$SyncQueue.<init>(SyncMana
ger.java:1949)
E/Database( 1116): at android.content.SyncManager.<init>(SyncManager.java:2
49)
E/Database( 1116): at android.content.ContentService.getSyncManager(Content
Service.java:49)
E/Database( 1116): at android.content.ContentService.<init>(ContentService.
java:79)
E/Database( 1116): at android.content.ContentService.main(ContentService.ja
va:208)
E/Database( 1116): at com.android.server.ServerThread.run(SystemServer.java
:137)
E/AndroidRuntime( 1116): Crash logging skipped, no checkin service
I/SystemServer( 1116): Starting System Content Providers.
I/ActivityThread( 1116): Publishing provider settings: com.android.providers.set
tings.SettingsProvider
I/ActivityThread( 1116): Publishing provider android.server.checkin: com.google.
android.server.checkin.CheckinProvider
I/ActivityThread( 1116): Publishing provider subscribedfeeds: com.android.provid
ers.subscribedfeeds.GoogleSubscribedFeedsProvider
I/ActivityThread( 1116): Publishing provider sync: android.content.SyncProvider
I/SystemServer( 1116): Starting Battery Service.
I/SystemServer( 1116): Starting Hardware Service.
W/HAL ( 1116): load: module=/system/lib/hw/lights.qcom.so error=Cannot find
library
W/HAL ( 1116): load: module=/system/lib/hw/lights.U8230.so error=Cannot find
library
W/Database( 1116): cannot read configuration file for seachable databases
I/SystemServer( 1116): Starting Alarm Manager.
I/SystemServer( 1116): Starting Sensor Service.
W/HAL ( 1116): load: module=/system/lib/hw/sensors.qcom.so error=Cannot find
library
W/HAL ( 1116): load: module=/system/lib/hw/sensors.U8230.so error=Cannot fin
d library
I/SystemServer( 1116): Starting Window Manager.
W/HAL ( 1116): load: module=/system/lib/hw/sensors.qcom.so error=Cannot find
library
W/HAL ( 1116): load: module=/system/lib/hw/sensors.U8230.so error=Cannot fin
d library
W/WindowManager( 1116): mPowerOffCharge = false
I/SystemServer( 1116): Starting Bluetooth Service.
I/SystemServer( 1116): Starting Status Bar Service.
I/KeyInputQueue( 1116): Device added: id=0x10004, name=null, classes=4
I/KeyInputQueue( 1116): X: min=0 max=5880 flat=0 fuzz=0
I/KeyInputQueue( 1116): Y: min=0 max=3537 flat=0 fuzz=0
I/KeyInputQueue( 1116): Pressure: min=0 max=255 flat=0 fuzz=0
I/KeyInputQueue( 1116): Size: min=0 max=15 flat=0 fuzz=0
I/KeyInputQueue( 1116): Device added: id=0x10003, name=null, classes=0
I/KeyInputQueue( 1116): Device added: id=0x10002, name=surf_keypad, classes=1
I/KeyInputQueue( 1116): Device added: id=0x10001, name=null, classes=8
I/KeyInputQueue( 1116): Device added: id=0x0, name=msm-handset, classes=1
I/SystemServer( 1116): Starting Clipboard Service.
I/SystemServer( 1116): Starting Input Method Service.
W/ResourceType( 1116): No package identifier when getting value for resource num
ber 0x7f080019
W/ResourceType( 1116): No package identifier when getting value for resource num
ber 0x7f060001
I/InputManagerService( 1116): Enabled input methods: com.cootek.touchpal/.TouchP
alIME:com.android.inputmethod.latin/.LatinIME:com.htc.android.htcime/.HTCIMEServ
ice
W/Database( 1116): cannot read configuration file for seachable databases
I/SystemServer( 1116): Starting NetStat Service.
I/SystemServer( 1116): Starting Connectivity Service.
I/WifiService( 1116): WifiService starting up with Wi-Fi enabled
E/WifiHW ( 1116): mac_param=00:25:68:C6:8E:74
E/wlan_tool( 1151): Fail to set property [wlan.driver.status] to [loading]
E/wlan_tool( 1151): Timeout to get status from AR6000!
E/WifiService( 1116): Failed to load Wi-Fi driver.
I/SystemServer( 1116): Starting Notification Manager.
I/SystemServer( 1116): Starting Mount Service.
I/SystemServer( 1116): Starting DeviceStorageMonitor service
I/SystemServer( 1116): Starting Location Manager.
I/SystemServer( 1116): Starting Search Service.
I/SystemServer( 1116): Available disk space: 48427008
I/SystemServer( 1116): Starting Checkin Service.
W/SystemServer( 1116): Using fallback checkinnew Service.
I/SystemServer( 1116): Starting Wallpaper Service
I/SystemServer( 1116): Starting Audio Service

C:\adb>[/code]

Maybe i screwed something up with the .config

Could somebody else try it?

Link to post
Share on other sites

That's the furthest anyone has gotten with the booting if the proper drivers are enabled. However, it seems your problem is to do with the permissions on the package manager? Or permissions just in general.

Link to post
Share on other sites
Guest xarxiusxiii
I didn't read all the posts, maybe i'll say something stupid.

the Pulse supports multytouch. i installed an app called PhoneMyPC and it has the feature like the iPhone zoom-in/out and it works perfecly.

http://www.softwareforme.com/phonemypc/

If you had read all the posts, you'd have discovered that it isn't true multitouch, but rather uses the technique described here :D

Anyway, I'm quite interested in this topic, has there been any more progress in getting multitouch working in the kernel?

Link to post
Share on other sites
Guest BigBearMDC
If you had read all the posts, you'd have discovered that it isn't true multitouch, but rather uses the technique described here :D

Anyway, I'm quite interested in this topic, has there been any more progress in getting multitouch working in the kernel?

Well I think that multitouch works now *in* the kernel.

But the problem is that the phone reboots when it should show the enter PIN - screen -> directly after it booted up.

I'll try to fix this today, but i don't promise it (today :D ).

Greetings,

BigBear

Link to post
Share on other sites
Well I think that multitouch works now *in* the kernel.

But the problem is that the phone reboots when it should show the enter PIN - screen -> directly after it booted up.

I'll try to fix this today, but i don't promise it (today :D ).

Greetings,

BigBear

Keep going :lol:, Ur doing a great job for us Pulse owners :D, Hopefully you get it working!

Go go go :lol:

Link to post
Share on other sites

For wich pulse you are trying to make the multitouch ? u8230 ?

If it for u8230 go go and thx for all persons who work on this project !!!

Sorry for my bad english :D because i'm french !!!!

Link to post
Share on other sites
Guest BigBearMDC
For wich pulse you are trying to make the multitouch ? u8230 ?

If it for u8230 go go and thx for all persons who work on this project !!!

Sorry for my bad english :D because i'm french !!!!

I'm working on the U8220, sorry.

But maybe this could work on the U8230 as well.

Greetings,

BigBear

Link to post
Share on other sites
  • 2 weeks later...

News: I have a booting kernel, with those option enabled. However. They're not working =/ Then again i've only tried it in dolphin browser.

PROBLEMS: Radio is now not working. I will get it to work again if someone can prove that multitouch is working.

Boot.img is based on MCR 1.7

boot.img.zip

Link to post
Share on other sites
Guest david_dawkins
News: I have a booting kernel, with those option enabled. However. They're not working =/ Then again i've only tried it in dolphin browser.

PROBLEMS: Radio is now not working. I will get it to work again if someone can prove that multitouch is working.

Boot.img is based on MCR 1.7

Wow! Perhaps I could write a small application APK that reports the touch events?

Link to post
Share on other sites
Wow! Perhaps I could write a small application APK that reports the touch events?

Well yeah that could be good, however I thought there was already one out there.

Dolphin browser just wasn't having it. Everyone's saying that cupcake in general wont have it =/

Link to post
Share on other sites
Guest david_dawkins
Well yeah that could be good, however I thought there was already one out there.

Dolphin browser just wasn't having it. Everyone's saying that cupcake in general wont have it =/

I'm going to do it anyway, I've got eclipse and I know how to use it.

Link to post
Share on other sites
Guest david_dawkins
Do it =]

OK, try this. APK inside the zip.

I've targeted Android 1.5, but the MotionEvent passed to OnTouch does not include the getPoints() method that 2.x uses for multitouch. So, it could be that we must track the MOTION_DOWN / MOTION_UP events to see if there is a rectangle selected. However, because it's late, I can't see how you'd tell which finger had moved other than a heuristic that says "the one closest to the last event seen".

Anyway, give it a try. Once installed and running, touch the screen, and then touch somewhere else. You'd be looking for two "DOWN" events, with no intermediate "UP" events. You get the idea. Clear the log from the menu "Clear" button.

Let me know if I was supposed to target 1.6 or higher.

Dave

EDIT: Only been able to test in the emulator, since my Pulse is broken, have I mentioned that already?

TouchEvents.zip

Edited by david_dawkins
Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.