Popup menus with HTC Sense - Windows Mobile Development and Hacking General

I'm developing a fullscreen windows mobile app in which I will want to display a popup menu when the user taps and holds certain areas of the screen. When doing this on "vanilla" WinMo 5 or 6.x everything looks just like expected. However, when I test this on a HTC HD2 (which uses custom HTC menus that are more finger friendly than WinMo's native menus) things does't work the way I want. As I was saying, my app is a fullscreen app but when I call TrackPopupMenu (it is a native app using the Win32 API) not only do I get a popup menu but I also get a menu bar at the bottom of the screen with one of the soft buttons enabled with the text "Close". This seems to be part of the behavior of HTC's custom menus.
When using HTC Album, which is a fullscreen app, I notice there are popup menus that don't bring the menu bar to front with the "close" button. So I would guess it is possible to create the kind of popup menus I want. This question is simpy how?
I create a menu using the CreatePopupMenu() API and then show it using the TrackPopupMenu() (or TrackPopupMenuEx(); same result either way). The app is made fullscreen using the SHFullScreen() and SHInitDialog() APIs.
Anybody got any ideas on how to get rid of the menu bar? Thanks in advance!

Related

[REQ] A Minimize Windows Toolbar/Tray App

Sometimes I despise that the windows bar/tray is visible in some apps that are not programmed to take up the full screen!
Is there any one willing to make / already an app that we can map to the Useless PTT button (For at/t users) / other buttons that'll quickly minimize that top bar and hide it?
Are you talking about the top bar, bottom bar, or both? It should be pretty easy to code something like this up. Just let me know exactly what you want.

[REQUEST] hardware keys remaper

i search forthis long time so let me know if there are some application that allows what i want. I know it can be only for root users.
I have an idea to application that allow user change function hardware keys.My idea is change search button to bring up app switcher.Be couse i really never used that button. I know many situation when we hold "HOME" to bring it up but it take me back to home+show preview screens +bring up app switcher (i know previews can be turned off by launcher but i want previews, they are cool).You dont need hold anything.It will be much faster switching betwean applications.
So you push menu to back to menu or bring up previews
and push search button to bring application switcher.
it is good idea?
sorry for bad english.
I was ready to start a thread with a similar recquest, so I do it here.
I've using a lot an application on my previous wm devices, called AE Button plus (http://ae.inc.ru/aebplus.php).
With this you could map any of hardware buttons of the device. And you could assign 4 actions to any button(click, doulbe click, triple click and click&hold) and it had many of system functions(reboot, bluetooth, wifi, gps on/off....).
On android I haven't seen any similar app(except button shortcut, which is very limited)
Is possible to have such an app on android? I hope that a developer start a project for a similar program. I found this app very useful.

Multi-tasking interface improvement

I was just reading about webOS and how good its interface is when dealing with multi-tasking and I realised how poor androids multi-tasking interface is. The only way I know to switch between running apps is to hold home button for a few seconds...
I personally think this can be improved by having thumbnails of open apps popup when the home button is single pressed on a home screen. Just as at the moment previews of all the home screens popup I think this should be switched with open app previews. I rarely ever use the home screen preview thing so i think its wasted, but I definitely would use app selector if little thumbnails showed.
Anybody have any thoughts on this? Im not a developer so I have no idea if this is possible but I think it would be a good feature to add and improve android. Do any devs think they can implement this??
Moved to general as not ROM development.
This would be a feature for a launcher app, so might be worth suggesting to someone like Fede who develops Launcher Pro, or cyanogenmod people that make ADW?
yes you are right. thanks. I was too lazy to find the relevant section to post under. will try contacting anderweb. or fede.
There are a couple of apps which overlays a screen on top of the current app you are in by tapping home twice, you can then open apps/access widgets without having to go back to homescreen first.
Currently im using 'smart taskbar', you can set the activation mode to be (1) tapping on a half-circle spot on either side of your screen or (2) swiping from one side to another. You can then open from a list of 5 'pinned' apps or choose from the mini apps drawer below, or click a tab called 'running' which seems the same as the current holding on home button behavior.
check out power strip. allows you to get a popup window where ever you are by doubble tapping home button (ore long press search button). there you can have quick access to widgets, shortcuts etc. really cool.
smiskkissen said:
check out power strip. allows you to get a popup window where ever you are by doubble tapping home button (ore long press search button). there you can have quick access to widgets, shortcuts etc. really cool.
Click to expand...
Click to collapse
just downloaded both power strip and the one mentioned above. Will try them both out and report back on whether its what i was suggesting. Thanks for your suggestions.

[Q] Is there an app/widget to toggle fullscreen setting...

... in CM7 tablet tweaks?
Basically the "disable fullscreen" setting is great as it allows the status bar to stick around all the time. The only problem I've encountered is that some games don't display properly when I leave this setting on and need to uncheck it before launching the game. So I guess I'm asking if there's a way to either a) quickly toggle it from a widget/shortcut? Or if b) there's a smart app that can set it pre-game launch (similar to how CF3D Pro handles per app plugin settings.)
I'm okay with "no there's no such thing," just curious if anyone else has run into this before.
Thanks!
P.S. This is CM7 n126 on sdcard (vg method) w/ stock ADW.
fuul4nook said:
Basically the "disable fullscreen" setting is great as it allows the status bar to stick around all the time. The only problem I've encountered is that some games don't display properly when I leave this setting on and need to uncheck it before launching the game. So I guess I'm asking if there's a way to either a) quickly toggle it from a widget/shortcut?
Click to expand...
Click to collapse
The double chevron that should show up with your soft buttons when an app wants fullscreen will do exactly that. In Tablet Tweaks, right under the "Disable Fullscreen", tap "Choose unhide button" and you can pick which key will pop the status bar back up; I use "n" (home, not the default), or you can press-and-hold the power button, then pick the default (whatever that is, I've forgotten, it's not convenient for the NC).
stolenmoment said:
The double chevron that should show up with your soft buttons when an app wants fullscreen will do exactly that. In Tablet Tweaks, right under the "Disable Fullscreen", tap "Choose unhide button" and you can pick which key will pop the status bar back up; I use "n" (home, not the default), or you can press-and-hold the power button, then pick the default (whatever that is, I've forgotten, it's not convenient for the NC).
Click to expand...
Click to collapse
I know about the chevron, and that does work most of the time. But I'm specifically to games that misbehave if you hit the chevron to hide the statusbar after the game's launched. What's happening to me is that the screen to zoom out to take up the extra space given up by the hidden status bar, but on screen touches will still behave as if the screen was it's previous size. So buttons, etc end up pressing in the wrong place. Does that make sense?
Off the top of my head, one game in particular that does this is FieldRunners HD. If you launch the game then hide the status bar with the chevron, the on screen presses will now be mis-aligned. But, if you toggle the check box "Disable Fullscreen" before launching, then the game will properly go full screen and work correctly.
fuul4nook said:
I know about the chevron, and that does work most of the time. But I'm specifically to games that misbehave if you hit the chevron to hide the statusbar after the game's launched.
Click to expand...
Click to collapse
Ick. Broken app. Complain.
Sent from my NookColor using XDA Premium App

[Q] [Q/REQ] Use Touch Keyboard Outside of Merto UI

I Have searched every ware to find a solution and have yet to find a fix.
USING TOUCH SCREEN.
Problem: When NOT in the Metro UI, Pressing in a text field the typing cursor appears and starts to blink. (ready for typing) (at this point in Windows 7 a keyboard icon will appear for the option to bring up touch keyboard; by pressing it) In Windows 8 this does NOT happen, I have to go to the task bar and manually start it.(little bit of an issue when using a convertible netbook with auto-hide task bar enabled to increase screen area as much as possible.) So I need to use the track pad to navigate to it.
When inside the Metro UI this feature works better than Windows 7 ever did.
So is there a way to fix this, find a fix, or a workaround?
Toolbar
The touch keyboard is a toolbar in windows 8
Right click taskbar
Select toolbars
Touch Keyboard
perern said:
The touch keyboard is a toolbar in windows 8
Right click taskbar
Select toolbars
Touch Keyboard
Click to expand...
Click to collapse
My post already says that.
when in tablet mode that not the easiest thing to do, and very cumbersome.
it should automatically appear when a text field is selected.
it does this in the Metro UI and Metro menus, but not anywhere else..standard applications.....not metro apps....
It should work but for some reason M$ has not enabled it.
You have to actually manually open the keyboard app every time.
after exploring several thing in the os i was able to find 2 temp workarounds.
1. Search tabtip.exe make it a desktop shortcut, right click it and make a shortcut combo key.
2. swipe in from the right side to show the charms panel > select settings > keyboard > Touch Keyboard.
These take a few extra steps each but i guess it will work until M$ fixes it.
I will still be looking to enable the auto feature.
Any news about this issue ?
It is very frustrating that the keyboard do not Automatic pop up!

Categories

Resources