PDA

View Full Version : [REQ] Custom internet tab for new Manila 3D (AKA Manila v3)


vangrieg
9th April 2009, 03:05 PM
Here's the deal: new ROMs have this stupid Push Internet thingie I want to get rid of. The problem with it (beside not really working properly sometimes and being useless) is that it launches Opera on startup, which I find incredibly annoying. So I figured it would be nice to have a custom tab which would basically be the Manila v1 internet tab but with new softkeys (left one launching new Bookmarks, right one launching Opera's bookmark editor).

I've done some homework and identified the code in new Manila's 3fb3a68_manila which sets the left softkey:

HandleLeftSoftkey = function()
DummyFocusHolder:Focus()
_application.Store:SetIntValue(Lifetime_Applicatio n, "Internet.ImmediateLaunch", 1)
_application.Navigation:Navigate(URL("Manila://internet/bookmark.page"), true)
end

The old Manila's 0ee99cb5_manila opens bookmarks via

HandleLeftSoftkey = function()
LaunchBrowser(OperaLaunchFavoriteUIArg)
end

Which should, in my view, become the right softkey of the custom page. Maybe editing bookmarks is from the right softkey is not a good idea and something more useful could go there but I don't know what exactly.

I've found the files responsible for this stuff in the new and old Manilas (attached), so what's needed is somebody familiar with lua (or at least Manila Kitchen) to modify and recompile the internetportalnopush.page. This part, unfortunately, is way beyond my ability to dedicate time to learning new things. :eek:

str0nz0
9th April 2009, 04:12 PM
you can just deactivate the launch of opera on startup by editing
HKLM\Software\HTC\PushInternetEngine\Enable to 0

if it would work ok, pushinternet would be a very interesting feature. i hope it will be fixed soon

vangrieg
9th April 2009, 04:21 PM
you can just deactivate the launch of opera on startup by editing
HKLM\Software\HTC\PushInternetEngine\Enable to 0

Well, it doesn't work with all pushinternet packages - Opera is still launched with mine at least (and yes, it's removed from Bootlauncher/init/startup/everywhere.

if it would work ok, pushinternet would be a very interesting feature. i hope it will be fixed soon

I don't need it anyway, fixed or not. And I know for sure I'm not alone. So I want to cook ROMs in a way that gives the user a choice (and doesn't leave unused softkeys, which is my pet peeve).

JZ SmartMort
23rd July 2009, 05:27 AM
Has anybody figured out how to use the search box on top of the Internet Tab. Mine does not do anything when used. I would like to change which engine it uses but at this point it simply does not work...
Thanks!