Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,580 Members 40,525 Now Online
XDA Developers Android and Mobile Development Forum

[APP] AMeBa: Adapting Menu Bar for WM6.5.x [v0.8 release candidate - 31/Mar/2010]

Tip us?
 
xtep
Old
(Last edited by xtep; 12th April 2010 at 07:54 AM.) Reason: version 0.8 released
#1  
xtep's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 148
Join Date: Jul 2008
Default [APP] AMeBa: Adapting Menu Bar for WM6.5.x [v0.8 release candidate - 31/Mar/2010]

As all you know, in the latest builds of WM 6.5.x the position of start (Win) and close (X) buttons have changed from the task bar (on top of the screen) to the menu bar (bottom of the screen). Therefore, all the applications that modifiy the behaviour of this buttons do not work anymore.

I'm writing this little app to customize the default behaviour of this buttons.

Current features (v0.8) (new features on red):
- Run as service.
- Tap on close button: customizable on HKCU\Software\xTep\AMeBa\CloseTapAction.
- Tap&Hold on close button: customizable on HKCU\Software\xTep\AMeBa\CloseHoldAction.
- Tap on start button: customizable on HKCU\Software\xTep\AMeBa\StartTapAction.
- Tap&Hold on start button: customizable on HKCU\Software\xTep\AMeBa\StartHoldAction.
- Posible values for close actions (CloseTapAction and CloseHoldAction):
* 0 = None: no action is done
* 1 = Default: default wm action (minimize app)
* 2 = Run App: launch a program (configurable on HKCU\Software\xTep\AMeBa\CloseTapRun or HKCU\Software\xTep\AMeBa\CloseHoldRun) with arguments (configurable on HKCU\Software\xTep\AMeBa\CloseTapRunArguments or HKCU\Software\xTep\AMeBa\CloseHoldRunArguments)
* 3 = Close: close the current app
* 4 = ScreenTap: simulate a tap on screen (position is configurable on HKCU\Software\xTep\AMeBa\CloseClickX and HKCU\Software\xTep\AMeBa\CloseClickX[/I])
- Posible values for start actions (StartTapAction and StartHoldAction):
* 0 = None: no action is done
* 1 = Default: default wm action (launch default honeycomb menu)
* 2 = Run App: launch a program (configurable on HKCU\Software\xTep\AMeBa\StartTapRun or HKCU\Software\xTep\AMeBa\StartHoldRun) with arguments (configurable on HKCU\Software\xTep\AMeBa\StartTapRunArguments or HKCU\Software\xTep\AMeBa\StartHoldRunArguments)
* 3 = QuickMenu: show QuickMenu menu (faster than runing QuickMenu.exe)
* 4 = ScreenTap: simulate a tap on screen (position is configurable on HKCU\Software\xTep\AMeBa\StartClickX and HKCU\Software\xTep\AMeBa\StartClickX[/I])
- Use HKCU\Software\xTep\AMeBa\ShowHoldAnimation to show (value 1) or not (value) tap and hold animation.
- Haptic feedback (not tested): customizable on HKCU\Software\xTep\AMeBa\Vibration. Posible values:
* 0 = None: no vibration at all
* 1 = During: vibration activated while taping (until releasing)
* 2 = End: vibration at the end of Tap or Tap&Hold (duration configurable on HKCU\Software\xTep\AMeBa\TapVibrationTime or HKCU\Software\xTep\AMeBa\HoldVibrationTime, set to 0 to disable one of them)
- Position Fix: Auto detects windows that overlap menu bar and move/resize them. Three working modes(configurable on HKCU\Software\xTep\AMeBa\PositionFix):
* 0 = Disabled: no position fix.
* 1 = Use black list: do no apply position fix in the the apps included in the list on HKCU\Software\xTep\AMeBa\PositionFixList.
* 2 = Use white list: apply position fix only in the the apps included in the list on HKCU\Software\xTep\AMeBa\PositionFixList.
* HKCU\Software\xTep\AMeBa\PositionFixList is a semi-colon separated list of filenames with full path.

- Launcher for those devices that the service does not start automatically
- Force Close: If a window does not close friendly, with this option active AMeBa will try to close it forced. (Disabled by default, can be activated setting HKCU\Software\xTep\AMeBa\ForceClose to 1)
- Close exclusion list with the list of apps that must be minimized instead of closed (configurable HKCU\Software\xTep\AMeBa\CloseExclusionList). It is a semi-colon separated list of filenames with full path (for example: \Windows\replog.exe for ActiveSync).
- Configurable CPU usage: you can specify the number the milliseconds between searching for new windows (configurable on HKCU\Software\xTep\AMeBa\PollingInterval). If you increase this number AMeBa use less CPU but it takes more time to detect new windows.

B]AMeBa Settings[/B]: scarecrow420 has developed an UI to change the AMeBa setting. Latest version attached to this post.

Note: you must restart Ameba Service (for example with soft reset or with FdSoft TaskManager) after changing any registry value (AMeBa Settings restar the service for you).

Future features:
- User interface to configure the app.
Attached Files
File Type: cab AMeBaLauncher.cab - [Click for QR Code] (9.2 KB, 10382 views)
File Type: cab AMeBa_v0.8rc.cab - [Click for QR Code] (11.1 KB, 9421 views)
File Type: cab scarecrow420_AMeBaSettings_v0.3.CAB - [Click for QR Code] (230.9 KB, 8328 views)
My contributions to the community:
- AMeBa: Adapting Menu Bar for WM6.5.x HERE
- Athena x7510 ROMs (WWE and ESN): current version HERE

If you estimate my work, please DONATE
 
xtep
Old
(Last edited by xtep; 31st March 2010 at 10:01 AM.) Reason: version 0.8 released
#2  
xtep's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 148
Join Date: Jul 2008
Default Version History

0.8 release candidate - 31/03/2010
- Exclusion list for closing applications.
- White/black list for position fix
- Reduced CPU usage.
- Configurable CPU usage.
- New screen tap for start and close actions.
- Bugs solved:
* Volumen control does not close.
* Position fix does not work well for Garmin XT.
* Other minor fixes.

0.7.1beta - 26/01/2010 (3036 downloads - 0 donations)
- Bugs solved:
* Manila weather animation does not work (reported first by j-a-c-khere)

0.7beta - 22/01/2010 (288 downloads - 0 donations)
- Added Force Close feature
- AmebaLauncher stops AMeBa service if is running when AmebaLauncher is called.
- Bugs solved:
* Device freeze on some ROMs.
* Position Fix does not work with Manila/Sense.
* QuickMenu option on Star button show the notification bar instead QuickMenu menu.

0.6beta - 29/12/2009 (854 downloads - 0 donations)
- Added position fix feature.
- Added AmebaLauncher (install only if AMeBa service does not start automatically).
- Improved stability and compatibility with other software that hooks the menu bar.
- Bugs solved:
* Device freeze after soft reset on some ROMs due a software compatibility (reported by peacock93 here)
* Device freeze when switching off and on Titatium (reported first by Xannytech [http://forum.xda-developers.com/showthread.php?p=5183903#post5183903"]here[/URL])

0.5.1beta - 13/12/2009 (534 downloads)
- Bugs solved:
* Re-introduced on 0.5: Right softkey on titanium allways launchs Contacts (reported first by nagusia here)

0.5beta - 4/12/2009
- Bugs solved:
* Menu bars crash when many windows are opened (reported first by SiemensLover here)
* Use StartTapRun and CloseTapRun for Hold actions (first reported by zer0es here, reported again on version 0.4 by Captain_Throwback here). I hope this time works.
* Stoping AMeBa service leaves the menubars unusable (not reported)
* Minor internal bugs/adjustments.

0.4beta - 2/12/2009
- Install and run as service
- Bugs solved:
* ActiveSync does not syncronize while AMeBa is running (reported first by SOHKis here)
* Use StartTapRun and CloseTapRun for Hold actions (reported by zer0es here)

0.3.1beta - 27/11/2009
- Corrected a bug with vibration on close button (reported by madsurfer1 here)

0.3beta - 27/11/2009
- Internal algorithm changes to solve problems reported on version 0.2b:
* App does not close with X button the first time (reported by SiemensLover here)
* Broken notifications/"zoombar" (reported by mr.jaguar here)
* Both soft keys on Today launch "contacts" (reported by TheRem, alienao and shur1k here)
- Added haptic feedback (not tested because my x7510 does not have vibrator)
- Added the registry arguments to the Run app actions for both Start and Close buttons.
- Added QuickMenu action for Start button.

0.2beta - 13/11/2009
- Added configurable behaviour on Tap and Tap&Hold for both Start and Close buttons.
- Added Run app action for close button.
- Changed detection of Tap&Hold on buttons.

0.1beta - 11/11/2009 - Initial version
Attached Files
File Type: cab AMeBa_v0.3b.cab - [Click for QR Code] (13.0 KB, 100 views)
File Type: cab AMeBa_v0.3.1b.cab - [Click for QR Code] (13.0 KB, 52 views)
File Type: cab AMeBa_v0.4b.cab - [Click for QR Code] (7.0 KB, 52 views)
File Type: cab AMeBa_v0.5b.cab - [Click for QR Code] (7.7 KB, 80 views)
File Type: cab AMeBa_v0.5.1b.cab - [Click for QR Code] (8.1 KB, 79 views)
File Type: cab AMeBa_v0.6b.cab - [Click for QR Code] (8.5 KB, 64 views)
File Type: cab AMeBa_v0.7b.cab - [Click for QR Code] (9.7 KB, 182 views)
File Type: cab AMeBa_v0.7.1b.cab - [Click for QR Code] (9.7 KB, 467 views)
My contributions to the community:
- AMeBa: Adapting Menu Bar for WM6.5.x HERE
- Athena x7510 ROMs (WWE and ESN): current version HERE

If you estimate my work, please DONATE
 
youmeus
Old
#3  
Senior Member
Thanks Meter 12
Posts: 306
Join Date: Jul 2005
Thumbs up works for me!

Thanks for this. Just tried it and working very good...will report if I find any bugs
Device: SGS3 International
ROM: Sotmax Ultimate V14
Kernel: Yank555.lu-V3.1c
 
makeveral
Old
#4  
makeveral's Avatar
Senior Member
Thanks Meter 3
Posts: 1,239
Join Date: May 2007
Location: Barcelona

 
DONATE TO ME
Thanks!
i'm gonna try it now
 
SiemensLover
Old
(Last edited by SiemensLover; 11th November 2009 at 09:41 PM.)
#5  
Senior Member
Thanks Meter 45
Posts: 655
Join Date: Mar 2008
Location: not @ Home
First thanx for ur work

Tried with my ROM Build 23506 on diamond 1

Very nice

Issue:
- "x" button close the current App but not always!! some time do it some times not! tried to figure how but no chance.


WISHES:

- can u just only map the "X" Button to close the current APP like Taskmanger did with WM6.1 or can u add this functions to be used by Task Manager? or edit task Manager to do so?!

- PLEASE leave the Start Icon on Today Home in piece! i.e Standard

GOOD LUCK

WBR
Siemens Lover
 
teacher1960
Old
#6  
teacher1960's Avatar
Senior Member
Thanks Meter 37
Posts: 469
Join Date: Mar 2009
Location: Bergen
Default Great xtep!

Any chance of seeing this in a new x7510 rom? I'll be happy to flash for you, as many times you like.
Phones: Wallaby, Alpine, Universal, Athena x7510, Samsung Galaxy Tab P1000

All those moments will be lost in time, like tears in the rain...

Heroes:Richard Stallmann, Richard Dawkins, James Randi, Penn&Teller, Linus Thorvalds, Albert Einstein, Charles Darwin, Noam Chomsky
 
SOHKis
Old
(Last edited by SOHKis; 11th November 2009 at 08:58 PM.)
#7  
SOHKis's Avatar
Senior Member
Thanks Meter 143
Posts: 559
Join Date: Apr 2008
Location: VA
very nice, an alternative to eNatives.

gonna give this a try later this evening, thanks!

*running on 23506 - seems to have similar issues. can't open start menu from today screen, have to open via calendar, can't access HTC task manager from today screen anymore. hopefully the next version will address some of the current bugs.

Thanks xtep!
 
acidhax
Old
(Last edited by acidhax; 11th November 2009 at 08:49 PM.)
#8  
Senior Member
Thanks Meter 12
Posts: 216
Join Date: Apr 2009
Location: Ontario
Yikes, I had to remove it.. way too many issues.

Email wouldn't open. It would load the account list, but when i selected the account, it would suddenly go transparent, yet changing the titlebar/bottom bar as if it loaded the email account.

'Long Press' for the start menu was like 4 seconds.
'Short Press' didn't work :P

And It broke the home-screen's drop down titlebar, it just wouldn't display it...

AAaand it didn't close anything :P

(23081)
 
alienao
Old
#9  
alienao's Avatar
Senior Member
Thanks Meter 1
Posts: 117
Join Date: Dec 2008
Location: Madrid
Default nice

just tested and the X and it works like a charm. some comments:
1. imho the tap and tap/hold should be the other way around (tap for honeycomb and tap/hold for desired app)
2. the tap/hold scts whenever you release the button. i think it would be better to "act" after a configurable time after you press it.
3. a good additional feature could be to include a list of current apps, like a task manager...

anyway, great app, the X closing is something i really needed!! keep up the good work
 
l3v5y
Old
#10  
l3v5y's Avatar
Retired Senior Moderator
Thanks Meter 38
Posts: 7,390
Join Date: Sep 2007
Location: Bristol

 
DONATE TO ME
Quote:
Originally Posted by alienao View Post
just tested and the X and it works like a charm. some comments:
1. imho the tap and tap/hold should be the other way around (tap for honeycomb and tap/hold for desired app)
2. the tap/hold scts whenever you release the button. i think it would be better to "act" after a configurable time after you press it.
I have the same thoughts, it's good, but possibly having configuration for whether tap+hold or tap executes whatever action.

Quote:
3. a good additional feature could be to include a list of current apps, like a task manager...

anyway, great app, the X closing is something i really needed!! keep up the good work
I personally feel that the WM task manager is great, though if a tap+hold on the home screen "close" button position would pop up the task manager, that would be great!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more