Jump to content


G-Sensor in TG01 - Emu Dev?

- - - - -

  • Please log in to reply
13 replies to this topic

#1
Moskape

Moskape

    Newbie

  • Members
  • Pip
  • 2 posts
Hello @all,

I figured out, that the Toshiba developers seems to use a G-Sensor, which is not supported in the moment by most of the games/apps out there. The apps are normally based on the HTC Sensor API and this API only supports HTC devices with G-Sensors and the Samsung Omnia device.

After searching and trying a bit, I found the "SixSensorBG.dll" in the windows dir, some regkeys and I "see" the methods in it with the Dependence Walker. My problem is, that, even if I am a windows developer, I have not much idea of windows mobile development. So I am asking for some help here.

My idea is, to develop a "wrapper" dll like other people did for other devices. This dll should be called, like the HTC Dlls (HTCSensorSDK.dll and HTCAPI.dll) and should call the "real" Toshiba SixSensorBG.dll and translate the calls from and return values into HTC format. So the existing apps should not notice that there are running on a TG01. An emulator if you want to call it like this.

What do you think? Is somethink like this possible? And who can give me some help with it?

BTW: The european support from Toshiba never answered me to my question of a Sensor API for the TG01, no surprise at all.

Bye
Moskape

Edited by Moskape, 08 August 2009 - 12:15 PM.


#2
The Real Mc Coy

The Real Mc Coy

    Enthusiast

  • Members
  • PipPipPip
  • 158 posts
  • Devices:Toshiba TG01
You should contact the guy who developped the API for HTC and Omnia (Windows Mobile Unified Sensor API) : Koushik Dutta.

Maybe he could add the TG01 sensor...

There are lots of infos on his website :) : http://www.koushikdutta.com

Edited by The Real Mc Coy, 09 August 2009 - 09:48 AM.


#3
Moskape

Moskape

    Newbie

  • Members
  • Pip
  • 2 posts
Hi Mc Coy,

thanks for the advice, I already tried this some days ago, but maybe the e-amil address of Koush I found is outdated.
I now started a discussion thread on the codeplex site of the Sensor API, but there is not much discussion in the last few month -g-
Lets see what will happens next.

Bye
Moskape


#4
i900french-addict

i900french-addict

    Enthusiast

  • Members
  • PipPipPip
  • 203 posts
  • Devices:Samsung i900
Schtruck, one of the two the creators of FpseCE (the psx emulator for Windows Mobile) just got his TG01 and he told me he will try to work on the G-sensor to try to implement it in FpseCE.
I hope he will do so, because this may open the way to use this G-sensor for other applications !

(he sometimes fixes some things while developping fpsece, for example, he implemented a fix that allows to press 2 buttons simultaneously on the i780 keyboard )


#5
LeSScro

LeSScro

    Regular

  • Members
  • PipPip
  • 104 posts
  • Gender:Male
  • Location:France
  • Devices:Asus P535 + TG01
Happy to read this news... G-senfor from Toshiba... Struck, i900French addict,...
And Ldchen ? :)
Maybe more apps can adapt this to Toshiba G-Sensor...

Posted Image


USD ------------------------------- EUR
Posted Image Posted Image


#6
stefn22

stefn22

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Kaiser

View PostLeSScro, on Aug 13 2009, 17:53, said:

Happy to read this news... G-senfor from Toshiba... Struck, i900French addict,...
And Ldchen ? :D
Maybe more apps can adapt this to Toshiba G-Sensor...


can this helps :angry: ?

Attached Files



#7
SinSilla

SinSilla

    Regular

  • Members
  • PipPip
  • 78 posts
  • Location:Berlin
  • Devices:LG Optimus 3D

View Poststefn22, on Aug 14 2009, 07:52, said:

can this helps :D ?

Wow, very interesting find! Do you have access to more official technical documents?


#8
LeSScro

LeSScro

    Regular

  • Members
  • PipPip
  • 104 posts
  • Gender:Male
  • Location:France
  • Devices:Asus P535 + TG01

View Poststefn22, on Aug 14 2009, 07:52, said:

can this helps :D ?

Thx for this... Some Dev interesting about this Doc...

Posted Image


USD ------------------------------- EUR
Posted Image Posted Image


#9
Paul Diston

Paul Diston

    Newbie

  • Members
  • Pip
  • 15 posts

View Poststefn22, on Aug 14 2009, 07:52, said:

can this helps :D ?


Hi,

If someone were to download the PDF and maybe wrap the calls to Axcon.dll up in C#, would that someone be getting themselves into any trouble?

Thanks

Paul


#10
Paul Diston

Paul Diston

    Newbie

  • Members
  • Pip
  • 15 posts
Hi,

I have blogged about my experience in regard to creating a C# wrapper for the Axcon.DLL here :-

http://smartmobidevi...elerometer.html

Hopefully this will help someone integrate the G-Sensor data into their applications or games for the TG01.

Thanks

Paul Diston

Edited by Paul Diston, 15 August 2009 - 08:10 PM.


#11
zehlein

zehlein

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Touch Diamond

View PostPaul Diston, on Aug 15 2009, 22:09, said:

Hopefully this will help someone integrate the G-Sensor data into their applications or games for the TG01.

Thanks Paul, sure it will help!

Edited by zehlein, 16 August 2009 - 05:52 AM.

Posted Image


#12
LeSScro

LeSScro

    Regular

  • Members
  • PipPip
  • 104 posts
  • Gender:Male
  • Location:France
  • Devices:Asus P535 + TG01

View PostPaul Diston, on Aug 15 2009, 20:09, said:

Hi,

I have blogged about my experience in regard to creating a C# wrapper for the Axcon.DLL here :-

http://smartmobidevi...elerometer.html

Hopefully this will help someone integrate the G-Sensor data into their applications or games for the TG01.

Thanks

Paul Diston

hi, Paul...
thx for Ur sample... very appreciate !
i work with a dev to integrate g-sensor feature on a pplication but it work on VB.net and have problem to exploit Uu sample and DLL...
have you a tips to help us ?

THX, !!!

Posted Image


USD ------------------------------- EUR
Posted Image Posted Image


#13
*LeiTo*

*LeiTo*

    Newbie

  • Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Paris
  • Devices:TOSHIBA TG01
I found this apply, Work ok on my TG01 (WM6.5)
Don't know if you have already see that, so sorry if it's already posted.

video=

Source= http://www2s.biglobe...devtg01_en.html


#14
LeSScro

LeSScro

    Regular

  • Members
  • PipPip
  • 104 posts
  • Gender:Male
  • Location:France
  • Devices:Asus P535 + TG01
Merci Leito... encore dans les bons plans...
-*---*-*-*-*-*-*-**-*-*-*-*-*--*-*-*-*-*-*-

Thx Leito, always in good stuff...

Posted Image


USD ------------------------------- EUR
Posted Image Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users