Jump to content

RotationService - Version 1.7.4


Recommended Posts

Guest cobrica
Posted

Create that we can in program adding programs it will be much easyer :(

Posted (edited)
I'm having a bit of trouble getting this to work. I have an omnia i910, i use only the today screen and s2u2. i installed Rotation Service with the following as RotationService.xml

<?xml version="1.0" encoding="UTF-8" ?>

<RotationService>

<DisableAutoRotationProcesses>

<Process>s2u2.exe</Process>

<Process>shell32.exe</Process>

<Process>Camera.exe</Process>

<Process>cprog.exe</Process>

</DisableAutoRotationProcesses>

</RotationService>

when i restarted RotationService, my whole today screen disappeared and no programs at all would rotate..

what do i need to do so that everything will rotate like normal except for the today screen, s2u2, the camera program, and the phone dialer?

S2U2 is incompatible with RS, camera program should not rotate screen by itself and phone dialer is not a separate application so it can't be controlled.

The config which you have posted works for me in this way that RS does not touch today plugins.

I have i900 (not i910) so can't test the behaviour on i910 (which should be quite the same as on i900).

Edited by qbus
Posted
Create that we can in program adding programs it will be much easyer :(

I'm planning to do that in the future (but honestly rather farther then closer as currently I'm fed up with creating GUI applications).

But of course if someone wants to write such application it would be cool B).

Posted

If memory serves me correctly, my i900 DXHG4 could do 180* orientation. Once i updated to DXHH3 turning the phone 180* would cause it to rotate back to 0*. Been happening ever since with K, L and IA roms.

Guest dwallersv
Posted (edited)
S2U2 is incompatible with RS, camera program should not rotate screen by itself and phone dialer is not a separate application so it can't be controlled.

The config which you have posted works for me in this way that RS does not touch today plugins.

I have i900 (not i910) so can't test the behaviour on i910 (which should be quite the same as on i900).

Same on the 910, with one note: Camera has problems with rotation and RotationService installed (didn't without RS). Display freezes with last image from the camera when the device is rotated, and has to be reset with the stylus. No big deal, as the camera app doesn't rotate anyway, so it was easily fixed just by adding it to the fixed rotation section with the correct orientation:

<process angle="270">camera.exe</process>

I'm guessing that the camera app traps rotation events itself, and simply ignored them. With rotation service, it traps the event before the camera app get them, and tries to change screen orientation, which screws up the app 'cause it isn't coded to make the necessary changes to the GUI when the screen format changes.

@qbus: Should add the above camera setting to the default config.xml file for your next release.

Edited by dwallersv
Posted
Same on the 910, with one note: Camera has problems with rotation and RotationService installed (didn't without RS). Display freezes with last image from the camera when the device is rotated, and has to be reset with the stylus. No big deal, as the camera app doesn't rotate anyway, so it was easily fixed just by adding it to the fixed rotation section with the correct orientation:

<process angle="270">camera.exe</process>

I'm guessing that the camera app traps rotation events itself, and simply ignored them. With rotation service, it traps the event before the camera app get them, and tries to change screen orientation, which screws up the app 'cause it isn't coded to make the necessary changes to the GUI when the screen format changes.

@qbus: Should add the above camera setting to the default config.xml file for your next release.

I'll hardcode it into application - it will be safier.

Guest dwallersv
Posted
I'll hardcode it into application - it will be safier.
Makes sense.

You might consider passing the rotation even on to the camera app rather than blocking it, so that camera can ignore it. That way, if a future update from Samsung actually does something functional with rotation in the camera app it won't be be killed by RotationService.

Of course, this all assumes I've guessed correctly how the internals of RS work :(

Posted
Makes sense.

You might consider passing the rotation even on to the camera app rather than blocking it, so that camera can ignore it. That way, if a future update from Samsung actually does something functional with rotation in the camera app it won't be be killed by RotationService.

Of course, this all assumes I've guessed correctly how the internals of RS work :(

Yes - this is exactly what I did -> If RS detects camera as foreground process it does not do anything.

Guest psymon.jakarta
Posted

hi guys,

i'm really sorry for the newb question but i have tried and tried to figure out this out, but i cant! when i open the prog all i get is

"rotation service...

start stop restart"

then when i click start a window comes up with "ok" in it. Can anyone please give me an idiots guide? thanks everone and sorry for the dumb questions

Posted
hi guys,

i'm really sorry for the newb question but i have tried and tried to figure out this out, but i cant! when i open the prog all i get is

"rotation service...

start stop restart"

then when i click start a window comes up with "ok" in it. Can anyone please give me an idiots guide? thanks everone and sorry for the dumb questions

Have you read the first post?? :(

Guest steveliv
Posted
S2U2 is incompatible with RS, camera program should not rotate screen by itself and phone dialer is not a separate application so it can't be controlled.

Thanks for the quick response, Qbus! I guess RS is not the app for me for right now, as the main programs i use are either incompatible or not able to be set.

Guest dwallersv
Posted

Hey qbus... gentle poke: If it's not too much work to code, any chance we could get the orientation-specific feature in to the Today plugins handling?

I want my WeatherPanel! :(

Posted
Hey qbus... gentle poke: If it's not too much work to code, any chance we could get the orientation-specific feature in to the Today plugins handling?

I want my WeatherPanel! B)

Do you mean different plugins on 0/180 and 90/270 orientations? If so - it's been done since last week :(.

Guest dwallersv
Posted
Do you mean different plugins on 0/180 and 90/270 orientations? If so - it's been done since last week B) .

Not sure... I'm talking different plugins for 0 and 180 -- so flipping my phone from one portrait orientation to the other gives me two different today screens. Remember that on the 910 (and apparently an earlier ROM for the 900) all 4 orientations work independently.

I want to be able to configure M2D for the "normal" upright portrait orientation (0), and WeatherPanel for the upside-down (180) orientation.

Sounds like the coding's already there, it's just a matter of a few extra case or if/then statements and some parsing in the XML.

That is, if what you said above doesn't already cover it :(

I'd be eternally grateful. I'll even bribe you with some beer money, if you PM me your paypal addy :P

Posted
Not sure... I'm talking different plugins for 0 and 180 -- so flipping my phone from one portrait orientation to the other gives me two different today screens. Remember that on the 910 (and apparently an earlier ROM for the 900) all 4 orientations work independently.

I want to be able to configure M2D for the "normal" upright portrait orientation (0), and WeatherPanel for the upside-down (180) orientation.

Sounds like the coding's already there, it's just a matter of a few extra case or if/then statements and some parsing in the XML.

That is, if what you said above doesn't already cover it B)

I'd be eternally grateful. I'll even bribe you with some beer money, if you PM me your paypal addy :P

But this has been already done :( - just read the first post.

Guest dwallersv
Posted
But this has been already done :( - just read the first post.

You totally rock, man!

Are you taking thank-you gifts? I want to send you ten bucks for a six-pack or lunch on me...

Posted
You totally rock, man!

Are you taking thank-you gifts? I want to send you ten bucks for a six-pack or lunch on me...

First of all check if this works as intended - I don't have a posibility to check 0/180 orientation as my i900 treats them as one :(.

If it's OK then donations are welcome :P - you can found proper link in my signature (visible on every first post on page) B) .

Guest montrala
Posted
S2U2 is incompatible with RS,

S2U2 in 1.5 have option to "ignore screen rotation". Maybe this can be used as workaround?

Guest mr fantastic
Posted

Hi qbus

Can you post your RotationService.xtml because I'm not able to change the today plug in between portrait and landscape

Thanks

Posted
Hi qbus

Can you post your RotationService.xtml because I'm not able to change the today plug in between portrait and landscape

Thanks

Default config is configured to change today plugins between Manila and some standard Windows plugins.

Guest mr fantastic
Posted
Default config is configured to change today plugins between Manila and some standard Windows plugins.

On my I900 with your QB05M the RotationService don't go. With the default config if i turn left the phone, the program should close M2D and open the Wireless plugin ...

Is this correct ?

Thanks

Posted
On my I900 with your QB05M the RotationService don't go. With the default config if i turn left the phone, the program should close M2D and open the Wireless plugin ...

Is this correct ?

Thanks

Well only if you configure auto rotation feature to be enabled on today screen. Please read the comments in config file for more info.

Guest mr fantastic
Posted

What is wrong in my xml ?

<!-- EnableDate set to 1 enables Internal Date Today Plugin-->

<Portrait EnableDate="1">

<!-- Today plugins to enable when entering portrait mode -->

<!-- The name must be the same as the name HKLM\Software\Microsoft\Today\Items registry's key -->

<!-- If you don't want to use this functionality leave TodayPlugins for in all sections empty -->

<TodayPlugins>

<Plugin>TouchFLO</Plugin>

</TodayPlugins>

<!-- List of processes to kill when entering portrait mode -->

<!-- Remove comment tags to enable -->

<ProcessesToKill>

<Process TodayProcess="1">ProcessToKill1.exe</Process>

</ProcessesToKill>

<!-- Processes on this list will be treated like today screen. The full rotation will occur when they are in foreground -->

<!-- They will be also killed while leaving the orientation on which they were defined -->

<TodayProcesses>

<Process>Manila2D.exe</Process>

<Process>HTC_HPrf.exe</Process>

</TodayProcesses>

<!-- List of processes to start when entering portrait mode -->

<!-- Arguments attribute allows to pass to the process additional command line arguments -->

<!-- Remove comment tags to enable -->

<!--

<ProcessesToStart>

<Process Arguments="http://www.google.com">\Windo...exe</Process>

</ProcessesToStart>

-->

</Portrait>

<!-- EnableDate set to 1 enables Internal Date Today Plugin-->

<Landscape EnableDate="1">

<!-- Today plugins to enable when entering landscape mode -->

<!-- The name must be the same as the name HKLM\Software\Microsoft\Today\Items registry's key -->

<!-- If you don't want to use this functionality leave TodayPlugins for in all sections empty -->

<TodayPlugins>

<Plugin>"Wireless"</Plugin>

</TodayPlugins>

<!-- List of processes to kill when entering landscape mode -->

<!-- Remove comment tags to enable -->

<ProcessesToKill>

<Process TodayProcess="1">ProcessToKill1.exe</Process>

</ProcessesToKill>

...

Posted
What is wrong in my xml ?

Config file looks OK, but I have one question - have you enabled auto rotation feature in Omnia options?

Guest mr fantastic
Posted (edited)
Config file looks OK, but I have one question - have you enabled auto rotation feature in Omnia options?

With RotationService running in background I can't enable Omnia auto rotation, RotationService automatically disable it.

P.s. I use the new 1.7.2 version

Edited by mr fantastic

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.