GSensor and Screen Orientation - Windows Mobile Development and Hacking General

Ok guys so what is this about?
Well i was tired actually of having to wait GSen to actually work so i have started to experiencing with that, myself. I downloaded some Sensor libraries, it is KINDA doing something, at least the general idea is working.
what i am doing in this app.... well i check the gsensor , where it is and then i rotate the screen using system library. so if u move the pda to the right it rotates and so on.
the problem....
since i don't have a lot of experience with that, i got a trouble, u see when the screen rotates, the gsensor doesn't know that i have rotated the screen and it moves crazy, actually it moves like i have never rotated the screen. this thing is coded in C# (which i don't like, i prefer vb but anyway...)
if anyone of u can help with that i can give u the code, either way this is open source, all i want to do is make it work. i am tired of HTC's non-working features, and GSen not working at all.

g sensor
speaking of g sensor not working, does any one of you know if there is a plugin of some sort to make the Dxian X999+'s accelerometer work as the g sensor????
PS. this probably isn't the best place to post this but i need help
Thanks

Related

Can I Disable Auto-Rotate and Auto-Play of SD Cards?

Afternoon all,
Does anyone know if the auto screen resize/rotate function can be disabled on the Universal? It sends my GameBoy emulator wonky every time
Also whenever the SD card slot is used, the SD Card autoplays. This is quite a pain with TomTom on the card as it takes a good 40-50 seconds to fully load and exit TomTom. Can this autoplay be disabled?
Any help would be gratefully appreciated.
Thanks
Graham
you can disable the autoplay by renaming or removing the "2577" folder on the SD card.
Thanks for the info. Works a treat, even by just renaming.
Does anyone know if disableing the screen auto-rotate is possible?
Yeah, anyone with the screen rotate solution?
What's the screen rotate problem? I think I have a solution to it... but just fill me in first.
V
I'm guessing that they don't want the screen to rotate when they move it from laptop mode to PDA mode and vice-versa. Can be a problem with GAPI games and emulators when you need to move the screen out of PDA mode to get at the keyboard. In reality what they probably need is an app to lock the screen in PDA mode since this is what most games are expecting.
Yeah, I made one of those apps once, to prevent screen rotation.
It has some side effects, eg screen doesn't switch off when you close the lid, unless you expressly press power button (since the system doesn't know the lid is being moved around anymore). So I didn't release it.
Could you live with that handicap? Hopefully the app could be toggled, so it wouldn't be an issue.
V
I wouldn't mind giving it a go, I've been bitten by the screen autorotate a few times myself and needed to soft reset to get control back again.
Hi Vijay555,
Which is the name os that application? I have been looking for it in your site but I was not able to find it :-(
Thanks.
Vijay
Hi Vijay,
I'd love to try this app out. Sounds like exactly what I need.
I'd be very grateful if you could provide a link to it for me.
Thanks
Graham
As I said, I've never released it because I didn't think anyone needed it, it was just some research I was doing on another issue.
However, give me a few days to see if I can pack it into an app.
V
Thank You
Thanks very much.
Really appreciate it
Wooooow!!
I am eager to test it.
Thanks a lot!
vijay555 said:
As I said, I've never released it because I didn't think anyone needed it, it was just some research I was doing on another issue.
However, give me a few days to see if I can pack it into an app.
V
Click to expand...
Click to collapse
hurray!! is it ready yet? my god I'm crying a very tiny tear because I'm hoping you'll release it and fix my problem...
I have no problem whatsoever pressing power button to turn off screen as I do it automatically to save power...
Yubastard: fortunately I re-wrote it, now it has no side effects, just disables the autorotation.
It's now called VJUzumaki, but it's unreleased. The code was written for someone else, and they have to decide what to do with it. PM me this weekend tho and I'll see if I can send you a beta.
V
vijay555 said:
Yubastard: fortunately I re-wrote it, now it has no side effects, just disables the autorotation.
It's now called VJUzumaki, but it's unreleased. The code was written for someone else, and they have to decide what to do with it. PM me this weekend tho and I'll see if I can send you a beta.
V
Click to expand...
Click to collapse
*trying-hard-not-to-sound-too-enthusiastic* ok... I'll PM you or something

Is someone trying to hack VueFlo to be used with other programs?

I'm trying to find info about programing for VueFlo.
Someone working on this????
I hope so!
There is no reason that VueFlo couldnt be used a a generic input for gaming. Everybody went mad for Wii because of the tilt sensor, the Athena has it too!
Fancy an oldschool MarbleMadness game on Mame that uses the VueFlo sensor? I do!
SO many of the games out there could benefit. What we need is something like the directX input model. Where the games read a standard input, and you get any random hardware driver to suply the info to that.
That would allow for other cool stuff, how about motion tracking via the camera as game input? (ala mosquitos).
I guess the people with the skills to do this sort of thing have real lives and are busy elsewhere.
I would like a program who use vu flo to rotate the screen in portrait or paysage.
It would be great a such fonction is present in apple iphone.
yes it's could be a really usefull feature ...
i looked into the reg and i have found gsensor_service.dll end gsensor_setting and i have grab into a zip files.
If someone can do something : http://rapidshare.com/files/35997974/vueflo.zip
xmen06 said:
i looked into the reg and i have found gsensor_service.dll end gsensor_setting and i have grab into a zip files.
If someone can do something : http://rapidshare.com/files/35997974/vueflo.zip
Click to expand...
Click to collapse
Might have to crack that open. Not that I'd know what to do but I could crack it open.
I think an motion sensor alarm system would be sweet. No?
And to the oppisite side.. Is anybody working on completly disabeling and/or removing this POS app?

Screen Orientation - VueFlO

Has anyone thought about linking the screen orentation to VueFLO so it automatically changes depending on the orientaiton of the device? Is this possible? I would certainly be interested
apd said:
Has anyone thought about linking the screen orentation to VueFLO so it automatically changes depending on the orientaiton of the device? Is this possible? I would certainly be interested
Click to expand...
Click to collapse
Good Idea!
would LOVE to see that....
Would VueFLO be able to tell the difference between tilting the device to the left (when in landscape) and rotating it into portrait?
A really REALLY cool idea though
Less talk and more results !!!
This would be truly a great app to have on the advantage. Anyone out there willing to build this app for us, it would be appreciated to the entire forum.
is it possible....and if so..how..?? doesnt VueFlo..uses manual buttons..can any1 care to explain if its possible or not..buh if it is..then it wud be great
i would to wite a programe for VueFlo on athena but i can't find any way for connect to VueFlo
i would write the programe for a thing like anti thief
it mean for example if i take athena on the table and turn the programe on, then if someone takeit, it play a sound and ...
i hope you can underestand my post
sorry for my bad English
Arya said:
i would to wite a programe for VueFlo on athena but i can't find any way for connect to VueFlo
i would write the programe for a thing like anti thief
it mean for example if i take athena on the table and turn the programe on, then if someone takeit, it play a sound and ...
i hope you can underestand my post
sorry for my bad English
Click to expand...
Click to collapse
Eybi nadare dadash.. Your english is just fine...
And that sounds like a great idea... look, i do some xcode programming for iphone and being a close plathform i feel you can do more on that then Athena. dont get me wrong i love my Athena and i wouldnt change it but i think it is capable of so much more ... i broke my x7500 and got iphone and wasnt doin it so i got another athena. i use the both and i love my athena more than i phone....
fatouraee said:
Eybi nadare dadash.. Your english is just fine...
And that sounds like a great idea... look, i do some xcode programming for iphone and being a close plathform i feel you can do more on that then Athena. dont get me wrong i love my Athena and i wouldnt change it but i think it is capable of so much more ... i broke my x7500 and got iphone and wasnt doin it so i got another athena. i use the both and i love my athena more than i phone....
Click to expand...
Click to collapse
you learn persian
eyval eman jan, pas irani hasti
thanks
i think athena is very better and i love my athena and don't change it with any other
but there's some small problem on it, like phone call sound recording and some other...
tanX for your answer and sorry for my english too
So is anyone actually create this program, or are they going to bull**** about how cool it is, and easy to make ......
SupraSkylineSTI said:
So is anyone actually create this program, or are they going to bull**** about how cool it is, and easy to make ......
Click to expand...
Click to collapse
well i guess you could just always do it
irus said:
well i guess you could just always do it
Click to expand...
Click to collapse
Believe me, If I could, I would.
Some coding god needs to reverse engineer to vueflo apps to work out how the hardware is accessed. After that, any coder can do it just like the iphone/ipod people are all making stuff that uses the accelerometer in them.
Its not an easy task. We need somebody in HTC to leak the details really.
Arya, so you were never able to fix your phone call recording problem? The built-in recorder handles it, I forget now why you were still having a problem. Off-topic, I know, discuss on the original thread.
On-topic, the motion sensor on the hard drive is just that... a motion sensor. Not an orientation sensor (like mercury switches are). Just turning the unit on its side won't let the OS know its now on its side, however, by adding some kind of motion code it will work just fine. Like shaking it twice downward in the direction you want to be down. Shaking it once would produce too many false changes, but twice or maybe 3 times would send the right message.
This type of phone input has been in the news a lot lately, along with vibration as a feedback. The idea on the news is you would shake your phone to see if you have any messages waiting, and it would vibrate back if you do. Unfortunately since the Athena doesn't have a vibration motor the output part isn't possible, but the input part is, since it has the motion sensors already! (the lack of vibration is one of the top-5 flaws of this device, IMO, hopefully it will get added on the X7502)
So, taking the topic of this thread one step further, how about creating an application that launches apps based on motion input? Yes I know there is a program out there that lets you reprogram most of the function buttons to do this (I forget its name at the moment, I haven't bought it yet), but adding motion to this mix would be so much cooler!
shake it baby?
these ideas seam very good but sahaking it multiple times and to open programs seams like it may cause problems because our device is just tooo big, imagine to shake or rotate ur device a specific way to get pie running (maybe it could be shaken to the rythem of ur favourite song (which has to be the Smashing Pumpkins..) and it shakes out of your hand on to the concrete pavement below wooops!!! just imagine the insurance form for that
Well, the unit's motion sensitivity is quite high. Easily confirmed by changing the viewflo sensitivity to high and then gently tilting the unit when you are in a browser. You wouldn't have to create martinis or milkshakes to launch an app, just a gentle flick or two will do. A downside of all this is carrying it around would present problems (either on your belt or in your hand). Even if you ignore the g-sensors when the cover is on, the cover-on switch is so faulty you might get to work and find that you wired $150 Euros to the Red Cross and sent all your checking account information to some guy in Nigeria.
techntrek said:
Arya, so you were never able to fix your phone call recording problem? The built-in recorder handles it, I forget now why you were still having a problem. Off-topic, I know, discuss on the original thread.
Click to expand...
Click to collapse
tanX
i can't record call when i talk with handsfree
only when i used load speacker it record, but on load speack can't talk good, and call quality is not good!!
I try some of software that the friends tell me, but nothing not work
this is the Thread: http://forum.xda-developers.com/showthread.php?t=346126
tanX
apd said:
Has anyone thought about linking the screen orentation to VueFLO so it automatically changes depending on the orientaiton of the device? Is this possible? I would certainly be interested
Click to expand...
Click to collapse
why did i just know someone would suggest this. hahaha prolly cause i thought that too! hahaha
1 reason of many i can think of is Iphone look alike
Hi, i'm interested in an iphone-like app too.
I still can't understand why HTC inserted a hardware which can handle with orientation, and then it's only possible to use scolling in PIE or Opera.
Why not Scrolling in PIE AND Opera. I love this feature, and want it always and for other apps too, like Rotate Screen automaticly, skip music file or backwards in WMP, Forward/backward in PIE/Opera when moved left/right.
I don't unterstand this. The difficult part is the integration of hardware, and HTC didn't develop a simple app which makes the hardware really do what it is supposed to do.
I even don't believe they added the G-Sensor for the Microdrive.
nothing new?
even with the new softwares incluede in devices such as Omnia or Diamond?

Screen Rotation

Hello all. I have always wondered why i was not able to rotate the screeen more for apps other than opera. Why did i need to slide open the keyboard to get landscape mode? Well in searching i found this app in T-mobile touch pro 2 forum. the discovery was made by McBrian. Unfortunately i am not too sure who wrote the app. For this i apologize. I have used xda extensively and thought that this would be a good little app to post...to give back to the community. so here it is....Once u install the the cab, go to Programs and start the application and change the default settings to suit ur preference. I take no responsibilty for what happens to ur phone
there are several apps that do that, and can be found here on xda with some searching. Thanks for the link
Turns out ChangeScreen is the perferred program...
I'm wondering...if I don't like it, can I just remove the program?
Thanks,
pimp4cheddar said:
Turns out ChangeScreen is the perferred program...
I'm wondering...if I don't like it, can I just remove the program?
Thanks,
Click to expand...
Click to collapse
If you want to uninstall it, all you have to do is go to Start>Settings>System>Remove Programs and select Changescreen before pressing "Remove".
Dave your the freakin man!!!
I swear your everywhere!!!
Anyway, I just downloaded the program and I was having a little trouble with excluding and including stuff...
I have no idea what's going on, but I think I got it to work. It's pretty slow though...
Can you post what you have on each tab checked and unchecked. I promise this will be the last you hear from me!!!
Thanks again,
LOL don't worry about it, I'm happy to help
On the 1st tab I have Enabled, Run on Startup, and the first two directions in the next row checked. On the second tab, I deleted "manila" from the list and nothing is checked. On the third tab, nothing is checked.
As for the slowness, however, there's no way I know to speed it up. It's a shame, as it does take quite a while to rotate.
Ahh...that's the problem...
I remember reading something you wrote that said exclude Manila...but I couldn't find it.
On the second tab (Exceptions), I have nothing there.
I simply have a bottom at the top that says "ADD". If I click add, it brings a blank slate and I can type stuff on there...it's weird.
Thanks again,
so whats the difference between this cab, abd the g sensor cab that once installed allows all of the manila TF3D stuff to rotate using the phones g sensor,then any new app you add just use g sensor app to make them rotate,theres no lagg with either of these
Even for my AT&T Tilt 2?
pimp4cheddar said:
Even for my AT&T Tilt 2?
Click to expand...
Click to collapse
g config works with any pro 2 you jus st launch it then launch the app you want to rotate then insert the stylus and it adds that app to the ratation settings,
as for the g sensor cab im not ure give it a try, if it works then calender etc and everything else on TF3d should rotate without having to open the keyboard , if it doesnot work just remove the cab file
combat goofwing said:
g config works with any pro 2 you jus st launch it then launch the app you want to rotate then insert the stylus and it adds that app to the ratation settings,
as for the g sensor cab im not ure give it a try, if it works then calender etc and everything else on TF3d should rotate without having to open the keyboard , if it doesnot work just remove the cab file
Click to expand...
Click to collapse
Does anyone else have any insight to these programs or even change screen?
I'm not too savy with HTC's...
Thanks,
from what i understand, and correct me if im wrong, but these programs will make ur battery drain significantly...the reason being is bc it "pools" the accelerometer alot more often than normal...again, correct me if im wrong but i believe this is true

How can I stop Opera 10 from rotating in all directions?

I found one topic on this and no one replied, I want to stop opera from rotating in every direction. Opera 9.7 rotates only in the anti clockwise direction and i want this for opera 10 but have no idea how to! BSB Tweaks doesnt work
Thank you!
why not? I feel good for that all-way rotating ^_^
Actually funnily enough, everybody who i have come across asking for this all have the same reason! surfing the internet in bed! When you are lying on your side, the screen rotates and you have to keep it at an odd angle to stop it from rotating. I dont want to stop it rotating, just want it to rotate in one direction, so i can lie in bed accordingly and stop it from rotating!
the_cool said:
Actually funnily enough, everybody who i have come across asking for this all have the same reason! surfing the internet in bed! When you are lying on your side, the screen rotates and you have to keep it at an odd angle to stop it from rotating. I dont want to stop it rotating, just want it to rotate in one direction, so i can lie in bed accordingly and stop it from rotating!
Click to expand...
Click to collapse
Ha I surf in bed and it does my head and neck in when it rotates around!
One work around I have found is load opera 10 with the phone upright then press the home button. Then rotate phone around to landscape mode and re-load opera. This stops the auto rotation on my BTJ ROM saving my neck
Unfortunatley the roms i use dont support landscape, to be honest im looking for a more complete solution. Thank you for the suggestion
It would be nice to have something that could turn g-sensor rotation on/off instantaneously...
i forgot where i saw this, but if you edit registry \\HKLM\Software\Opera\GSensor\ and give "IdleTime" a huge value (i have 2000000) on mine, opera will not rotate for a long long time
Oh cool, genious idea! haha thank you for that
this is an excellent reg tweak. I was surfing on my Tilt 2 walking around the grocery stor yesterday and every time I would look to see if the next page was loaded it was upside down.
Its amazing how it only takes a split second for the page to go some way you dont want it but it takes 5 full seconds to get the silly thing to straiten up.
C'mon Opera..... did we really need the screen to be able to go upside down!
Thanks for the fix ya'll.
This rotation issue has been driving me nuts. i read a lot in bed, especially feeds set up using Google Reader Have been using the idletime tweak, but it is not an ideal solution.
it simply disables rotation, instead of controlling it the way you want. on android phones, the browser rotates only 270 degrees. this makes it easy to read in landscape without having the browser rotating 'out of phase'.
tried couple of those g-sensor apps. Opera 10 seems impervious to these! is there a better solution that can be switched on/off at will?
Also, need help on couple of other issues:
1] how do i open new tabs in background? as mentioned, i consume lot of feeds, and prefer opening links in background, without being forced to go to the new tabs and then return to the original window every time.
2] how do i spoof the user agent? the hd2 has a screen that makes it easy to consume pages meant for desktop browsing. it bugs me that i keep being sent to mobile versions, especially for sites like gizmodo or engagdet. i would like to decide which version i want to go to! came across a thread with registry tweaks and multiple config file changes... was too much for a non-techie like me.
can any of the wonderful devs out here whip up a script that we noobs can simply run? thanks!

Categories

Resources