[Q] HTC Leo: Rotate Screen - Windows Mobile Software Development

Hello,
I know that it's possible to add applications to whitelist for built-in screen rotation function in HTC Leo.
But this is very inconvenient. You need determine Class of application and then add it to registry...
Could anyone write a simple application, which could be mapped to hardware button. For example, when I use long button press - it automatically determines open (active) application window class and adds it to HTC Leo rotation whitelist. Second long press will remove this application from whitelist.
It will be very useful and convenient and no need to use external applications like Gyrator, because using built-in HTC abilities - is much better.
I'm sure this thing will be very popular and needed application.
Is anyone from developers interested in coding this idea ?

Related

Is there any way I can set a program to start in a certain orientation?

Question:
Would it be possible to set a certain program to start in an orientation you specify?
For example, I'm a big gaming nerd, and I would like my PocketNES emulator to start in landscape mode as soon as I click on the icon to run it. Or my hacked AIM, I want it to always start in Portrait mode, whether the keyboard is out or not. The program would then function normally after the initial startup.
Is there any way I can accomplish this? Whether it is a 3rd party program, a registry key edit, etc.? Any help would be GREATLY appreciated. Thanks in advance.
aNiMeMaN14 said:
Question:
Would it be possible to set a certain program to start in an orientation you specify?
For example, I'm a big gaming nerd, and I would like my PocketNES emulator to start in landscape mode as soon as I click on the icon to run it. Or my hacked AIM, I want it to always start in Portrait mode, whether the keyboard is out or not. The program would then function normally after the initial startup.
Is there any way I can accomplish this? Whether it is a 3rd party program, a registry key edit, etc.? Any help would be GREATLY appreciated. Thanks in advance.
Click to expand...
Click to collapse
Not sure if there is such an app, but i do know Phonealarm by Pocketmax can change rotation depending on the profile your using, and you can also assign a particular app to execute when using that particular profile. What im saying is try to make a profile (phonealarm settings) wherein your desired Screen rotation and program will execute when choosing that profile... but im not sure if this will work 100% since some apps does not follow the screen rotation. www.pocketmax.net
Use Mortscript to change orientation and then launch your app.
PHM does little applets for changing screen orientation etc. Use the two together perhaps for some magic, if Mortscript doesn't natively support rotation.
V

screen orientation for applications

Hi, Guys
Great job on all the different ROMS.
Is it possible to set the screen orientation for specific applications. ie stay in standard portrait mode, but say I open email or tom tom. I would like the screen to change to landscape automatically and when I exit the program the screen to revert back to portrait mode. If not does any one know of an app that can do this.
cheers
That has to be written into the application.
It used to be an option in Tomtom 5, but it was a feature that was removed for Tomtom 6.
Opera browser will landscape independantly of the OS.
Sadly developers have have starting thinking that as screen rotation is available from Windows, they don't need to add it to their applications.
I'm not aware of any extra application that would monitor other opening applications and switch the display accordingly.
thanks for the quick reply. Guess I will have to manually change before opening.
just find this:
wisbar advance 3
Features
Compatible with WM2003, WM2003SE, WM5 and WM6 touchscreen devices
Uses a smaller memory footprint than WisBar Advance 2
Customize the close button, the screen orientation and the SIP on a per-application basis
Switch between any application currently running on your device
Provides a cascading start menu (as in the screenshot)
Tap and hold the OK button to cancel a dialog
Add or remove functions to the taskbar
Each button on the taskbar can be assigned a tap and a tap-and-hold action
Place shortcuts in the system tray for easier access from the Today screen
Customize a "User Menu" with applications of your choosing
Change the appearance of the taskbar, menubar, buttons and start menu in any program
Supports QVGA and VGA devices
Customize the clock's appearance on the taskbar
Hear sounds for system events, just like on your desktop
Download and install themes created by other people
I assigned the internet explorer button (bottom right) to "rotate screen".
thanks for the post,
Pete - seems to be the best solution without having to install extra apps. cheers

D-Pad SIP coming! - No Cab Yet -- Need Suggestions

All... I will be staring development of a D-Pad SIP for free release on this board in the next week... I will release as soon as I have something that is functional. Here are the initial features... please use this space to suggest others...
Four (Top,bottom,right left) buttons plus optional center
Special zone button for switching to user defined standard keyboard
D-SIP Toggled via any assignable button sequence (will play well with apps like Mobile Magic)
user definable gestures support
I will add accepted features to this list above with a 'Phase' (e.g. planned for release 1,2 or eventually)
Blessings one and all -- My Christmas gift to you
abeery said:
All... I will be staring development of a D-Pad SIP for free release on this board in the next week... I will release as soon as I have something that is functional. Here are the initial features... please use this space to suggest others...
(...)
Blessings one and all -- My Christmas gift to you
Click to expand...
Click to collapse
That seems to be a very nice Christmas gift! You will make many users of Touch HD very happy. Thanks for your effort.
One suggestion:
If possible I would like to get continuous signal and user defined repeat rate as well as user defined delay until repetition begins (just like hardware dpad can be calibrated via settings).
Thanks in advance.
Hmm, it will be hard to enable it in applications wich doesnt support SIP's such as games
Maybe it is possible to run a application in a "640x480"px Frame and to use the 160pixel at the bottom for a D-Pad...
Would be nics to add in a rotation button, I don't like how gsen and gyrator mess up my screen when I don't want it to. Also Might come in handy a clear 4 way pad to be use ingame, left or right of the screen, maybe that is a little too much to ask for?
Koffein Schluck said:
Hmm, it will be hard to enable it in applications wich doesnt support SIP's such as games
Maybe it is possible to run a application in a "640x480"px Frame and to use the 160pixel at the bottom for a D-Pad...
Click to expand...
Click to collapse
My hope is to add a option to force a 640x480 resolution for "configured" applications and then use the freed 160px for the D-Pad... in non-configured apps it would function like any other SIP. Still researching my approach
consider adding the buttons for Cut Copy and Paste
sounds like a great idea! hope it works
The 2 hardware keys (left and right) for the selection of the soft menus are a must!
I am a bit confused maybe due to lack of my knowledge of exactly what configuration this new SIP will carry. My confusion is because if you happen to see the Cootek TouchPal it already has a tab which gives you navigation options such as top, bottom, left, Right, select, cut and copy.
How is your SIP going to be different from TouchPal.
Regards
srmz said:
I am a bit confused maybe due to lack of my knowledge of exactly what configuration this new SIP will carry. My confusion is because if you happen to see the Cootek TouchPal it already has a tab which gives you navigation options such as top, bottom, left, Right, select, cut and copy.
How is your SIP going to be different from TouchPal.
Regards
Click to expand...
Click to collapse
I guess the goal of this SIP is to be available in all applications (e.g. games) that usually depend on some hardware buttons to be playable and not just the ones that activate a SIP for input by default like SMS, Email etc.
One suggestion would be to have 8 directions on the virtual pad. On a real dpad you can press 2 directions simultaneously (useful in games) however the resistive screen means that there would only be one key press at a time.
Sorry for my ignorance...i am very new to WinMo phone.
Can anyone tell me what is SIP and how it is going to work?
By the way there is a software called AEBplus which can configured the hardware Vol up/down for HD, is it going to be similiar?
razorblader said:
I guess the goal of this SIP is to be available in all applications (e.g. games)
Click to expand...
Click to collapse
As the most games I know use their own keyboard implementation, a SIP won't work for them. SIP will just for most applications, rather the ones, where you see the "keyboard icon" in the bottom, where you can change the keyboard and make some settings.
Looking forward to it
I think a good starting point could be to create a full screen application (a sort of container) with a sidebar implementing the Dpad that emulates an hardware pad + some buttons and a 'window' 640x480px where other applications can run.
In this mode it should be possible to generate the standard Windows messages when a soft-key is hit so that the windowed application could be fooled thinking that the user is acting on a true Dpad/key.
Bye
So it will work with for example pocket gba emulator ?
Wolfenzi said:
So it will work with for example pocket gba emulator ?
Click to expand...
Click to collapse
Something like this allready exist, google MorphGear
it will work with PPC Games better than GBA
any news on this project?
Same question here. I am waiting for this as the most important thing for Touch HD on this forum. I want arrow keys in my age of empires to move map
By the way : If you can, you should do that virtual pad fully configurable, like morphgear has (text file with functions and color numbers and bmp picture with those colors on certain places + copy of that but in colors that will be displayed)
I'm still experimenting with various approaches... unfortunately it seems like the most viable approach will involve the four softkeys at the bottom of the device... everything else I try only works when I can force a SIP to be present and unfortunately it seems that the times I want a D-Pad SIP the most are the apps that make this difficult... BTW... if anyone has a code sample for reassigning the HomeKey send me a PM please. For now all I can say is please continue to have patience... I'm still working on making a solution available

Configure hardware button as task-switcher?

I want to configure one of the hard buttons to switch between running apps (i.e. as a task switcher). I've tried using AEBPlus, and assigning a double-click of the OK key to "Alt-Tab" or "Switch to next application", but neither appears to switch between running applications.
Does anyone know how I can do this??
Ever since my XDAIIi on WM2003SE and continuing with my Kaiser on WM6, (& soon to be added to my Rhodium as soon as it's unboxed) I've used TaskSwitch+ as it perfectly mimics Window's Alt-Tab function.
http://www.freewarepocketpc.net/ppc-download-taskswitch-v0-04.html
If you navigate to the registry you can tweak some settings for it (such as how long in milliseconds it holds the switcher open before switching to the selected app, the default is 600ms but I prefer 1 second or 1000)
It even used to work with my old fold-out keboard for the XDA IIi using Alt-Tab!
Just assign it to a hardware key and bingo.
N.B. there may well be other task switcher programs out there, I only know of this one, elegant because of it's tiny size & the fact that once it's run and switched to the relevant app it quits, leaving no memory overheads.
hope this helps
Joe
ae button plus is another nice tool to configure hardware button:
http://ae.inc.ru/aebplus.php
Use AltTab.exe and Keyboard Config

[AppConcept] Task Manager for WM 6.5.3

I'm a wkTask user but lately I've upgraded to WM 6.5.3 and it's no longer an option.
I gave a chance to some other software but didn't find anything fast and usable enough (I have Leo, so no HW button adjustment unfortunately [long press takes too long…]).
Here's my idea for a new task manager:
I really like the manila slide-selector. In my opinion it’s one of the best UI concepts in WM world.
Let's make another slider
I thought of replacing (covering) the Windows button in the bottom left corner with a slide-chooser. First option would have to be the Start menu to maintain the functionality of a single press, but if I want to switch to another opened program I could always slide while pressing the button along the bottom of the screen. Some visual notification would be awesome of course: icons of running programs [windows?] to start with and maybe even some fullscreen preview like in manila.
I think that speed of this program should be the main target – slow task manager is useless. Also it should be configurable so that I could exclude from the list anything I want, maybe optional animations and previews?
Of course the slider would become visible only by touching the Windows icon so that other softkeys remain usable.
What do you think and is this possible to code?
My programming skills are not there yet, but I’m sure someone’s are
Tomus
a good taskmanager must be fast and available in all pages no matter which window you are on. so this idea is not very good.

Categories

Resources