Jump to content


RotationService - Version 1.7.4

* * * * * 2 votes

225 replies to this topic

#41
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Postdjtosh, on Dec 11 2008, 06:20, said:

hi love this app, need some help here, need to stop the dial pad screen from rotating and want to know what the program .exe for the dialpad, call screen is thanks

I didn't check if it works but the process for dial pad is called cprog.exe


#42
djtosh

djtosh

    Enthusiast

  • Members
  • PipPipPip
  • 269 posts
  • Devices:HTC Desire, Samsung Omnia
nice one m8, ye it does work


#43
lfotiou

lfotiou

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:i900
The last version is very stable. Thanks for your effort. I've been using it with manilla2d an i need the process name for htc album. I can't include it in the white list. Can you please help me?


#44
zagzag99

zagzag99

    Enthusiast

  • Members
  • PipPipPip
  • 152 posts

View Postlfotiou, on Dec 11 2008, 22:43, said:

The last version is very stable. T

Yet very sensitive to xml config... I had a problem with some unix whitespaces.

Caused a NullPointerException
Edited again and it seems to work (touch wood)

Edited by zagzag99, 12 December 2008 - 11:34 PM.


#45
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Postlfotiou, on Dec 11 2008, 21:43, said:

The last version is very stable. Thanks for your effort. I've been using it with manilla2d an i need the process name for htc album. I can't include it in the white list. Can you please help me?

I've updated the first post with instruction how to get the process name.


#46
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Postzagzag99, on Dec 13 2008, 00:18, said:

Yet very sensitive to xml config... I had a problem with some unix whitespaces.

Caused a NullPointerException
Edited again and it seems to work (touch wood)

Yeah - configuration is currently the weakest part of application :rolleyes:.
I'll try to change it to be more user-friendly in the near feature.


#47
errtu111

errtu111

    Newbie

  • Members
  • Pip
  • 5 posts
  • Devices:Samsung i900 Omnia
Hey Qbus,

Thanks for your App, I have been using it for some time, and I find it very useful.

However, lately I found a problem, but, let's start from my config:

<?xml version="1.0" encoding="UTF-8" ?> 
<!-- All  names are CASE-SENSITIVE -->
<RotationService>

	<!-- Processes which have auto rotation feature disabled -->
	<DisableAutoRotationProcesses>
		<Process>Manila2D.exe</Process>
		<Process>shell32.exe</Process>
	</DisableAutoRotationProcesses>
	
</RotationService>

Unfortunatelly, when I activate Camera, and move my mobile to horizontal position Camera freezes. So it seems that is not compatible with Camera with such settings? Are they wrong, or is there a Bug?

And of course, I have checked, the reason why camera freezes is RotationService.

Edited by errtu111, 13 December 2008 - 02:37 PM.


#48
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Posterrtu111, on Dec 13 2008, 15:20, said:

Hey Qbus,

Thanks for your App, I have been using it for some time, and I find it very useful.

However, lately I found a problem, but, let's start from my config:

<?xml version="1.0" encoding="UTF-8" ?> 
 <!-- All  names are CASE-SENSITIVE -->
 <RotationService>
 
	 <!-- Processes which have auto rotation feature disabled -->
	 <DisableAutoRotationProcesses>
		 <Process>Manila2D.exe</Process>
		 <Process>shell32.exe</Process>
	 </DisableAutoRotationProcesses>
	 
 </RotationService>

Unfortunatelly, when I activate Camera, and move my mobile to horizontal position Camera freezes. So it seems that is not compatible with Camera with such settings? Are they wrong, or is there a Bug?

And of course, I have checked, the reason why camera freezes is RotationService.

This is probably becouse Camera is designed to work only in Landscape mode (no way to change it).
Try to add "Camera.exe" ("C" uppercased) to and restart service...


#49
errtu111

errtu111

    Newbie

  • Members
  • Pip
  • 5 posts
  • Devices:Samsung i900 Omnia

View Postqbus, on Dec 13 2008, 21:05, said:

This is probably becouse Camera is designed to work only in Landscape mode (no way to change it).
Try to add "Camera.exe" ("C" uppercased) to and restart service...

Yes, it worked. Thx for help. Now the app seems to work very good :-)

However, now, I wonder how this app work. Because, normally when RotationService is offline. Camera works fine. And if I have specified only DisableAutoRotationProcesses section, and Camera.exe is not mentioned there it should not be affected anyway in my opinion? So the question is, why camera rotation should be disabled, if normally it is not disabled, and works fine?


#50
FREAKed

FREAKed

    Newbie

  • Members
  • Pip
  • 29 posts
if there is no rotation service installed then omnia switches screen rotation automatically when you enter the camera but if you have the prog installed it overrides it by turning  the rotation on if Camera.exe process is not in the blacklist


#51
sector

sector

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,296 posts
  • Gender:Male
  • Devices:Samsung Omnia
Thanks mate for the app keep it up :rolleyes:.

Im having M2D in portait and Samsung Widgets in Landscape! :) But sometimes the Autorotation is not working and becomes disabled in settings.

Any ideas? I guess must be smth in the Registry for AutoRotation can we include it in whitelist?

If you like my work buy me a beer :) !
Posted Image
WM 6.5/6.1 roms, Themes, Taskbar etc... :D

#52
mhmtmtl

mhmtmtl

    Newbie

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Location:Turkey
is it not possible to release sources manually? i do not know whether the garbage collector can be called manually in mortscript. in .net, i used to call it by GC.Collect() command (C#). this way, memory usage can be controlled, i suppose.


#53
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Postmhmtmtl, on Dec 14 2008, 11:33, said:

is it not possible to release sources manually? i do not know whether the garbage collector can be called manually in mortscript. in .net, i used to call it by GC.Collect() command (C#). this way, memory usage can be controlled, i suppose.

Yes and not.
Of course you can call GC.Collect() method to invoke garbage collector BUT - this is not a strict order, it is only an advice.
There is no need to control memory by developer - if only there will be shortage of system memory the .NET will invoke garbage collector.
Garbage collection is not as simple as it looks - there are 3 types of it which depends on current system state.

If you have more free memory then actually it is needed why to collect it and always spend some time on this? It is better to wait for a proper moment.

This is common misunderstanding of how memory should be managed in .NET.
I use FxCop  and only if I try to add GC.Collect() to code I get big warning that it is not advised.

Read this article: http://blogs.msdn.co...2/02/40780.aspx for more info :rolleyes:.


#54
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Postsector, on Dec 14 2008, 06:05, said:

Thanks mate for the app keep it up :rolleyes: .

Im having M2D in portait and Samsung Widgets in Landscape! :) But sometimes the Autorotation is not working and becomes disabled in settings.

Any ideas? I guess must be smth in the Registry for AutoRotation can we include it in whitelist?

Tha application uses Applicationchanged event to check if it should enable/disable auto rotation.
Also it caches the current auto rotation state in order not to read registry all the time. Maybe this is the issue - when something outside RotationService changes the auto rotation
the application can start to work incorrectly...
I'll try to look into it more deeply soon :(.


#55
-Vulture-

-Vulture-

    Newbie

  • Members
  • Pip
  • 27 posts
Dont know if this has been reported yet: When theres an app which rotates the screen to landscape, f.e. Vito SMSChat, and you quit this application in landscape mode, the screen doesnt rotate back to portrait. Is this a bug or by design?

Edited by -Vulture-, 14 December 2008 - 10:11 PM.


#56
bpivk

bpivk

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Slovenia
  • Devices:HTC Desire (SLCD)
Deleted

Edited by bpivk, 15 December 2008 - 08:37 PM.

★ Device 1: Samsung Galaxy S2 ☆ Android Version: 2.3 ★
★ Device 2: ACER Iconia A500 tablet PC ☆ Android Version: 3.1 ☆ OS: My personal HC rom based on Stock 3.1 HC ★

#57
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Post-Vulture-, on Dec 14 2008, 23:11, said:

Dont know if this has been reported yet: When theres an app which rotates the screen to landscape, f.e. Vito SMSChat, and you quit this application in landscape mode, the screen doesnt rotate back to portrait. Is this a bug or by design?

By design - the application remember your Today screen position. When you change orientation on other applications the RS will return to orientation that was on Today screen when you close other apps.


#58
-Vulture-

-Vulture-

    Newbie

  • Members
  • Pip
  • 27 posts

View Postqbus, on Dec 16 2008, 12:52, said:

By design - the application remember your Today screen position. When you change orientation on other applications the RS will return to orientation that was on Today screen when you close other apps.

Ah, ok. I dont use my homescreen, just spb mobile shell and the spbwatcher.dll. This dll catches all requests to open the today screen and redirects it to mobile shell. Thats why it doesnt work on my omnia.

Would it be much work to adapt your programm to remember the screen position/rotation of a specific exe file? Maybe configurable in the config.xml? On the other side...i could live with the way it is now. Really nice app!


#59
qbus

qbus

    Addict

  • Members
  • PipPipPipPipPip
  • 616 posts
  • Gender:Male
  • Devices:HTC One X

View Post-Vulture-, on Dec 16 2008, 16:03, said:

Ah, ok. I dont use my homescreen, just spb mobile shell and the spbwatcher.dll. This dll catches all requests to open the today screen and redirects it to mobile shell. Thats why it doesnt work on my omnia.

Would it be much work to adapt your programm to remember the screen position/rotation of a specific exe file? Maybe configurable in the config.xml? On the other side...i could live with the way it is now. Really nice app!

Yes, this is possible :rolleyes: I'll keep that on my mind.


#60
tacklebye

tacklebye

    Newbie

  • Members
  • Pip
  • 1 posts
Thanks to the great piece of work! It practically resolves some of the use cases which requires manual disable of auto-rotation (e.g. using s2v, playing omnia teeter)

To me, it would be more ideal if there is option (or arguments) to the program which enables to launch of the service without clicking the "start" button.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users