Or Continue to Thread: Development stopped: [APP][15-…
Find Your Device:
13th October 2009, 11:02 PM   |  #2787  
ZuinigeRijder's Avatar
OP Retired Recognized Developer
Thanks Meter: 205
2,854 posts
Join Date:Joined: Jun 2008
GSENSOR 2 test version
Originally Posted by eclipse6220

I use SPB Shell 3.5. I think the problem is that the rom that I use have G-sensor 2. But I use "Touch Incall" and it works perfect.

I looked at the (managed) GSensor source code of TouchInCall and I have the same logic, only in unmanaged code.

However, I made a test version, with some slight modifications:
- I now close the GSensor when going to deep sleep
- I now wait 1 second before opening the GSensor again
- I now also start/stop the GSensor service
- I added detailed debug logging og the GSensor values read out when they are different (so the logging can become huge)

Can people with the GSENSOR 2 problems test the attached TouchLockPro.exe

Steps to reproduce:
- unzip TouchLockPro.zip
- copy TouchLockPro.exe to a temporary place on your internal memory card
- stop the installed/running TouchLockPro by running TouchLockPro.exe in Programs menu
- delete \TouchLockPro.log.txt
- start TouchLockAction.exe in the programs menu and enable Debug Logging
- exit TouchLockAction
- start the copied test version of TouchLockPro.exe by clicking on it via the explorer
- wait till it is started and the BattClock is shown
- start TouchLockAction.exe again from the programs menu and go to Settings -> GSensor settings menu
- make moves with your phone, the GSensor orientation changes should be visible in the TouchLockAction GSensor settings screen
- power your phone off with the power button
- wait 30 seconds
- power on your phone and make moves again in TouchLockAction and see the orientation changes
- disable Debug logging via TouchLockAction.exe
- stop TouchLockPro.exe
- remove the test version from your internal memory card (or keep it for further testing
- post the debug log file \TouchLockPro.log.txt

Hope it works or I can see what is wrong in the logging
Attached Files
File Type: zip TouchLockPro.zip - [Click for QR Code] (32.6 KB, 15 views)