[APP][22.05.2011][(W)VGA]ActionScreen Landscape support v0.6[Developers please help]

Search This thread

Jackos

Inactive Recognized Developer
Feb 26, 2008
4,045
945
Warsaw
leidel.pl
OnePlus Open
Hello again,

I have found a solution for my minimize problems. Updated version in post #1.
Still if somebody can show me how to make the app more memory-friendly, I'll be grateful.

Take care :)

It doesn't show up and minimize anymore? How did you do this on the code side? May I have a look? Just my personal curiosity.


Once again, is it ok to include this in ROM?
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
It doesn't show up and minimize anymore? How did you do this on the code side? May I have a look? Just my personal curiosity.

Once again, is it ok to include this in ROM?
It actually does show up but it's completely black wihout controls. And this time it really minimizes after 100 ms.
And the solution was... stupid. I still use the method imported from coredll.dll, but just before I minimize the app I switch the window from "Maximized" to "Normal" and switch the MinimizeBox on. Then, when my "minimize" fires, it is equal to tapping the OK button in the top right corner (They call it SmartMinimize I think). It's unnoticeable to normal user.


OFC, you can include this in the ROM if only you think the app deserves it. Sorry for not being quick enough to have this version ready before releasing of your 1.0.1.

Feedback to version 0.3:
  1. Don't write version number in application name
  2. AppToDate support?
Ad.1: Yes, you're right. I noticed that the installer doesn't uninstall the previous version if the cabinet name is different... Will be done in next release.
Ad.2: didn't think about that. Not sure how shoud I do it, but I'll look at it.
 
Last edited:

Jackos

Inactive Recognized Developer
Feb 26, 2008
4,045
945
Warsaw
leidel.pl
OnePlus Open
It actually does show up but it's completely black wihout controls. And this time it really minimizes after 100 ms.
And the solution was... stupid. I still use the method imported from coredll.dll, but just before I minimize the app I switch the window from "Maximized" to "Normal" and switch the MinimizeBox on. Then, when my "minize" fires, it is equal to tapping the OK button in the top right corner (They call it SmartMinimize I think). It's unnoticeable to normal user.


OFC, you can include this in the ROM if only you think the app deserves it. Sorry for not being quick enough to have this version ready before releasing of your 1.0.1.


Ad.1: Yes, you're right. I noticed that the installer doesn't uninstall the previous version if the cabinet name is different... Will be done in next release.
Ad.2: didn't think about that. Not sure how shoud I do it, but I'll look at it.
1) No problem, still waiting for the app to become more memory friendly and apptodate enabled.
2) AppToDate support is quite simple, you can do it even without programming skills (all can be done in a cab file). You just need a server on with you will store the xml file. Still cannot believe that this isn't viral - such a easy method to keep all apps updated X_X This should be a must for any application!
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
OK, I see how AutoUpdate works. It will be included in my next release.

BTW. Perhaps you should make your ROMs AppToDate enabled?
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
Last edited:

Jackos

Inactive Recognized Developer
Feb 26, 2008
4,045
945
Warsaw
leidel.pl
OnePlus Open
OK, rewrite this program in C++, register the startup program as a service (so it doesn't take a slot) and it's going to be the best ActionScreen ever. Anything else is PERFECT. Ach, still waiting for icons to fit Manila.
 

swiss420

Senior Member
Jul 15, 2007
1,108
345
www.swiss420.ch
Nice work. Maybe if you get a chance make a version were the green is changed to blue for EnergyROM compatability. :) I am stuck on Android right now but as soon as possible I will flash back to see if I can change that myself and or if you can use any help with some graphics work.
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
I think the graphics will change to more "Manila Style" as soon as I will get an answer from CHTA Beta Team. Then they will fit any Sense ROM I think.
I'm definitely not a graphic editor, so If there is anybody who could help me with drawing different icons I will be grateful. In the mean time everybody is welcome to change the link icons manually (all the image files are stored as separate "LinkXX.png" and "LinkXX_Pressed.png" in \Program Files\ActionScreen\).
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
WiFi toggle doesn't work for me. In ammar_12_button_HD_action_screen_v1.1.cab no such problem. Am I doing something wrong?

Hello,
Thanks for the input.
Can you check if a file "Wifi_ON-OFF.exe" exists in your \Windows\ folder?

And furthermore could you check your registry in the following key:
Code:
HKLM\Software\HTC\Biotouch\ActionScreen\Link07
there should be a value:
Code:
"Path" = "\Windows\Wifi_ON-OFF.exe"

This is the default value and it works in my Rhodium. Oh, and which version of the cab file are you testing?
 

lakov

Member
Aug 17, 2010
11
1
Paris
HELP!!!

Hi. I have HTC HD mini flashed with RUU_signed.nbh. Since I installed the Skrobel_Actionscreen_v0.3 I cannot use the phone. It is stuck in the start screen. What can I do except re-flash it? If I do hard reset I will get its original language Korean/Chinese...? Or would it be in the european languages after my first flash? Any other solution???
Please please help.
YL
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
Hello,
Sorry to hear that...

Are you sure that you didn't install/change anything else besides the ActionScreen since the previous reset? I can't imagine anything that could cause such error. ActionScreen does not modify any system files / settings. :eek:

Please try to remove your Storage Card (if you have one) and restart your phone again. If this fails and the system will not be bootable anymore I'm afraid that you will have to Hard Reset.

The HardReset procedure restores your last-flashed ROM. Not the original one from beforehand. So if you installed the european one as the last one - HardReset will restore it. Only it'll also clear your settings/contact :(
 

lakov

Member
Aug 17, 2010
11
1
Paris
Hi. First of all - Thank you for the rapid response.
I had to Flash it. That`s OK - IT IS IN ENGLISH!
Too bad I lost my DATA. I will survive.
YL
 

Skrobel

Senior Member
Jan 14, 2010
829
64
Piaseczno
Hi. First of all - Thank you for the rapid response.
I had to Flash it. That`s OK - IT IS IN ENGLISH!
Too bad I lost my DATA. I will survive.
YL

Even the Hard Reset didn't help? In that case it must have been a bad flash. The ActionScreen adds only several files to disk and a couple of reg entries in the Software section. It shouldn't mess up anything in the system.
 

Boz1

Senior Member
Feb 20, 2011
69
5
Hi I'm new to this forum. I have an Omni i910. Will this work on an Omni i910? Will the high memory usage be a problem? Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hello

    I liked the idea of an ActionScreen ever since I met with this program for a first time (it was on a Sense 2.1 stock ROM so it was really handy). ActionScreen is a simple application which shows the user a screen with 12 (sometimes more) shortcuts which can start/toggle frequently used programs or functions.

    But as I am a Rhodium owner, I always had problem with Landscape orientation. The Smaberg's ActionScreen was showing only 2 rows of icons in Landscape or wasn't showing at all. So with the encouragement by Jackos I started to develop my own application based very much on the original idea of the 12-icon ActionScreen from Smaberg. As I am definitely not a programmer I started to learn Basic4PPC for a starter. Then, after I discovered how many environment restrictions it gives I switched to C#.

    What I present here is a version which has full Landscape support (the app will run without problems in Landscape and will change it's layout properly even if there will be an orientation change while program is shown).

    * NEW * - The whole app has been rewritten from scratch. Also changed to the C# + NetCF. This has not solved all of my memory problems but allowed me to improve on many other fields. The details are in the change log in post #2.

    * NEW 2* - I added a VGA version of my ActionScreen. Special thanks to xOverkill who encouraged me to start working on VGA and then provided a great help with testing on Raphael.

    With this version you can easily customise each link function by changing command and parameter in:
    [HKEY_CURRENT_USER\Software\Skrobel\ActionScreen\LinkXX]
    where "XX" is a number of the icon starting with 00 to 11.

    You can change the icons as well (all the graphic files are stored in program folder). From v0.5 you can also change the colors of the background (at the moment only solid colours are supported) and the label texts.

    And last but not least you can change the text of the labels under each icon in the same place in registry. This can come in handy when you want to change the language for instance.

    There is a small readme.txt file attached to this post where I put a brief description of the settings/configuration possiblilities.

    DOWNLOADS ARE IN POST #2

    Unfortunately some problems have been solve and some not:
    - I have problems to effectively dispose the resources upon program minimization. The C# or NetCF uses Garbage Collector for all the disposed controls/images, so the app memory does not decrease when it's minimized (and is about 1300 kB). I can't find a way to do it better :(
    - the WinCE and WinMo environment doesn't support a "minimize form" event. So I used a little trick to override native Windows.Forms.Hide with SW_MINIMIZE imported from coredll.dll. Buuut this doesnt really minimize the app, but only get the window behind all other windows, but in front of Titanium or TodayScreen. That's why I suggest using this app ONLY on Sense/TF3D enabled ROMs or otherwice you will se my app instead of the TodayScreen :(
    - Because of the above my app is visible also during system startup until Sense/TF3D is fully loaded

    Actually I found a solution for SW_MINIMIZE (it was easier than I thought). So for now my only concern is to make the app less memory consuming and possible yet faster.


    Soooo, if any of you guys could help me to improve the app (especially the memory management) I can share all my current experience as well as the source code. HELP PLEASE :eek:

    Enjoy! Any feedback is welcome. I will try to improve as soon as my programming knowledge raises :) Or of course when someone agrees to help me :)
    1
    # CHANGE LOG:
    22.05.2011 - v0.6
    + Added version for VGA resolution
    + Minor bugfixes concerning exceptions and image handling.
    + Added a new setting "ShowOnHTCKeyboard" enabling ActionScreen to show up when the hardware keyboard is open (refer to readme for more information)
    - still high memory usage when idle (currently approx. 1300 kB) - looking for a better way to dispose resources during minimize

    10.05.2011 - v0.5
    + Rewritten from scratch once again to avoid unnecessary code
    + much faster to load/unload/appear/disappear
    + AppToDate support (thanks for the tips Jackos)
    + Both landscape modes support (right- and left-handed). The app will now follow the GUI
    + Added "splash screen" during first load for eye-friendliness before system boots completely
    + Added possibility to change background and text colors (although not very comfortable at the moment)
    + Changed the settings location in registry to a more proper place. Therefore you need to uninstall the previous version manually before installing v0.5
    - still high memory usage when idle (currently approx. 1250 kB) - looking for a better way to dispose resources during minimize

    13.02.2011 - v0.3 - quick bugfix version
    + Fixed SW_MINIMIZE so that app minimizes instead of going to back
    + support for non-Sense interfaces (Today Screen and Titanium tested)
    + the app starts almost unnoticeably during system startup
    - still high memory usage when idle (currently approx. 1300 kB) - looking for a better way to dispose resources during minimize

    13.02.2011 - v0.2
    + Whole application rewritten from scratch in C# + NET CF 3.5
    + commands, parameters, paths to the images are now stored in registry
    look into: [HKLM\SOFTWARE\HTC\Biotouch\ActionScreen]
    + also item names are now stored in registry for easy language changing
    + the app is loaded in the memory during system startup and it's maximised upon calling
    - high memory usage when idle (currently approx. 1300 kB) - looking for a better way to dispose resources during minimize
    - uneffective SW_MINIMIZE method
    - only TF3D/Sense 2.1/Sense 2.5 compatible - it's not compatible with Titanium/Today screen
    - the app is visible during system startup until Sense/TF3D is fully loaded - the SW_MINIMIZE issue

    17.11.2010 - v0.1 - initial release
    - Written in Basic4PPC
    + Landscape support
    - Due to several reasons the app doesn't stay in memory, it's launched on each call
    - no localization
    - no configurations possible, the commands are hardcoded into the application


    # DOWNLOADS:

    For technical reasons you have to uninstall previous ActionScreen versions manually before installing v0.5. Sorry for the inconvenience.
    OK, I present three versions with one tiny difference:

    - Skrobel ActionScreen v*.* - it's a standard version starting when holding the PowerButton for 3 secs.
    - Skrobel ActionScreen v*.*_softkey - the app is linked additionally to the left homescreen softkey in Sense (2.1 and 2.5) as showed on the last screenshot
    - Skrobel ActionScreen v*.*_softkey_only - especially for p50kombi here goes a third version with only the SoftKey link and no PowerButton action :)

    - Skrobel_AS_Blue_Icons - a set of blue "Pressed" icons for the ActionScreen. Special thanks to MrRusch for a permission to use his work which I found here.

    The files are attached to this post. Enjoy :)
    1
    Hi Skrobel,

    the landscape support is a very good idea. And since i use the HD2 and the TP2 i have missed this on my HD2. But the HD2 can handle landscape with a manila tweak well. Also in combination with the CHT Suite.

    We, the CHTA beta team, can help you with a layout for CHT default and for the simplicity quicklinks. That's my personal favor style.