Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more

XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more
Post Reply

Loccy's BetterBrowser - now in Donut edition (v1.5: 8th Oct 11am/BST)

22nd August 2009, 03:26 PM   |  #1  
OP Senior Member
Thanks Meter: 82
 
756 posts
Join Date:Joined: Jul 2005
More
The important bit - get it here:

Version 1.5 (Donut - also Hero)
Version 1.5 (Cupcake)

I've changed the hosting of these files from 4****e. You shouldn't now have any problems downloading. The new links are hosted at www.androidspin.com - thanks guys!

Optimised version of V1.5 (Donut) (thanks Dwang)
Optimised version of 1.5 (Cupcake) (thanks Hotweiss)

(note ref the optimised versions; Dwang's works fine on my Magic but I haven't tested Hotweiss's. If you have problems try the originals instead.)


MAKE SURE YOU GET THE RIGHT VERSION! READ THE CHANGE LOG (in post 2) TO SEE WHAT'S NEW.

Older versions can be found at the bottom of this post.

So what actually is this?

This is a new build of the stock browser, that incorporates the multitouch code from Cyan's build, along with some additional code of my own, primarily intended to make zooming less painful, and looking to gradually move towards an experience as rich as the Hero browser.

What does it do that's new, then?

* option in settings to disable the obnoxious on-screen zoom buttons that usually appear whenever you so much as breathe on the screen (turn off "Visual Zoom Controls" in the menu to get rid of them - off by default).
* when Visual Zoom Controls is disabled, option in settings to add zoom in and zoom out to the menu (although this will bump over options that are normally on the main menu to the "More..." list)
* Double-tap the screen to zoom in. When it gets too ginormous (about four zooms) a subsequent double-tap will zoom all the way out. Or you can just change this in the settings so double-tap always zooms in. Obviously it still has the multitouch option too from Cyan's code.
* Triple-tap to zoom out! (which I am particularly pleased about given that such an event doesn't actually exist in Android )
* Click top-right corner to pull down address bar. Click top-left corner to go back to homepage. Click top-left when on homepage to exit browser (i.e. "clear" it from memory insofar as Android apps ever get cleared from memory).
* Click bottom left to go to previous tab, bottom right to go to next tab.
* Maintain zoom level across a domain, so that when you get a comfortable viewing size, you don't lose it the second you move to the next page on a site.
* Maximum number of tabs increased from 8 to 32.
* As requested by fastludeh22, an option for "Mobile Web Settings". Select from Android, iPhone or Desktop browsing.
* As requested by fit333 (and who was as good as his word, and donated ), an option to lock in landscape mode.
* setting to enable hiding/showing of notification bar. Note that this needs the entire Browser process to be restarted to take effect (so use the top-left click to go home, click again to quit the browser, and then reload to see the effect).

What do I need to run it?

Well, a Cupcake or Donut based rooted Android phone, basically. Make sure you download the correct version. If you are installing on Hero, you might need to wipe all the application data otherwise you'll get force closes.

How do I install it?

The only "safe" way is to push it with ADB. Delete /system/app/Browser.apk and any Browser.odex. Then adb push my browser into /system/app/Browser.apk. Many people had success on Cupcake by just installing via file managers. I managed to upgrade - note, UPGRADE, not install from scratch - by downloading it on my phone from the download link. It'll tell you this is a system application, do you want to update it - say yes. This was on Dwang's Donut ROM. However, the only method I'll "support" is via ADB because it's all so variable. ADB should (in theory) work on any ROM.

I installed your browser and now I can't browse the interweb, my phone exploded, I lost my job and suffered an embarrassing rectal prolapse in a public place. I blame you!

Thank you, please call again. All purchases are final. I would suggest that one uses a program to back up your bookmarks at the very least before installing this.

This is the best thing since self removing trousers! What do I do now?
Send me money by clicking here.

Future improvements I'm hoping to do:

* A proper full screen option (i.e. where you'd also hide the title bar as well as the notification bar, and only show it when pages are loading)
* Hero-style lairy Mac coverflow-esque bookmarks (some way off in the future methinks!)
* tidy up what behind the scenes is, unfortunately, some really kludgey code!

Thanks go to:

* Cyan, obviously, without whom none of this would have been possible, and whose ROMs continue to break new levels of awesomeness
* makethetick, who pointed me in the right direction for the code in the first places

Raspberries go to certain individuals in this thread.

Older versions kept around just in case. THESE ARE ALL CUPCAKE BUILDS. IF YOU INSTALL ON DONUT YOU'LL GET CORRUPTED MENU ICONS.

Version 1.4.3
Version 1.4.2
Version 1.4.1
Version 1.4
Version 1.3
Version 1.2
1.1 (hide notification bar)
1.1a (notification bar left intact)

---
Hate the way the Android browser throws zoom controls in your face whenever you so much as breathe on the screen? Double-tap to zoom sound like your bag? Or maybe you want the option to view non-mobile versions of websites? Try my BetterBrowser.

Crazy enough to want to send me money? Click here!

Yes, I've gone to the dark side and dipped my toe in this social networking smeg. Follow my Twitter here.
Last edited by Loccy; 17th October 2009 at 07:20 PM. Reason: new version
22nd August 2009, 03:26 PM   |  #2  
OP Senior Member
Thanks Meter: 82
 
756 posts
Join Date:Joined: Jul 2005
More
Loccy's BetterBrowser - new stuff and bug fixes (v1.5: 7th Sep 11:30am/BST)
Changes for 1.5

* Bottom left/right corner click to cycle between tabs (so bottom left goes to previous tab, bottom right goes next)

* Slight change to top bar behaviour, because a couple of people didn't like it and were being put off upgrading. Top left corner to go back to the home page (and then again to quit the browser) is as it used to be. Pulling the address bar down is now top right corner rather than everywhere across the title bar - many people were complaining that they kept doing it accidentally so I've made it a little more "deliberate".

* Removed zoom in/out menu options. They were an early feature before I figured out double/triple tap, were buggy anyway (and non-existent in Cyan's implementation for Donut, even though the menu option was still there!) and I suspect no bugger used them any more.

* Glorious Donutty goodness! (i.e. you don't need to wait for Cyan to incorporate my changes, or suffer dodgy screwed up icons if you install the Cupcake version). I used Cyan's Donut branch as a base. He'd manually pasted in the code from my Cupcake based builds to create this in the first place, a real tedious and laborious process that I now didn't need to do, so many thanks for him for that.

Changes for 1.4.3

* Fix/change for maintain current zoom level across page loads. Now, it only maintains zoom across a domain (so if you're on site xyz.com, and zoom out to a comfortable level there, it'll maintain the sizing across pages on that site. When you go to another site abc.com, that one will start out at zoom level 1. This has the side effect of fixing the column-sizing issue that affected most sites but was most prevalent on mobile sites).

* Slight refinement to the top-corner and top-bar click algorithms. Should work a lot better now for those of you who have the notification bar visible when in the browser.

* Increased maximum number of tabs from 8 to 32. Not sure how this'll hold up, memory-wise - feedback please.

Changes for 1.4.2

* Maintain current zoom level across page loads (so it doesn't suddenly zoom back in whenever you go to another page)

* Fix for top bar clicks (i.e. click title bar to pull down address bar, click top left to go home) when notification bar not hidden.

Release notes/changes for 1.4/1.4.1

* fix to force close on mobile sites when double tap zoom cycle goes back
to the "all the way out" setting (and this time it's DEFINITELY fixed )

* you can now double-tap/triple-tap anywhere on a page to zoom - previously, you'd have had to avoid areas where there were links, otherwise the link would start to load before your zoom would happen.

* setting to change triple tap delay value in advanced settings (so the
lower the setting, the more responsive double-taps are, but the quicker
you have to get your triple-tap in!)

* setting to change double-tap behaviour, between the existing zoom cycle,
and also now just a simple zoom out only setting (so if you want to just
keep it simple, and have double-tap to zoom in, triple tap to zoom out,
the latter will be the setting for you). How many zooms this will result in per cycle will depend on the page you're viewing.

* change to double-tap zoom cycle behaviour - now zooms ALL the way out
to give a true page overview, and also introduces an intermediate step
between page overview and 1:1 zoom (this is a nice level for sites with
big fonts, eg. aintitcool.com)

* click title bar (or top of screen) to bring down the address/search bar

* click top left of screen to go to home page. Click it a second time when on the home page to exit the browser completely (or double-click from elsewhere).
Last edited by Loccy; 8th October 2009 at 11:13 AM.
22nd August 2009, 03:39 PM   |  #3  
Senior Member
Thanks Meter: 175
 
2,155 posts
Join Date:Joined: Nov 2008
Cool, double tap to zoom in and out would a nice feature to have.
22nd August 2009, 03:40 PM   |  #4  
chevycowboyusa's Avatar
Senior Member
Flag Victorville, Ca
Thanks Meter: 2,918
 
2,257 posts
Join Date:Joined: Jun 2009
Donate to Me
More
Stupid noob question
I do need to uninstall the old browser apk first? Probably so.

mount and push APK to /system/app

do I need to chmod? and if so what is the number? 775?

Thanks,

Your Guinie Pig!

Chevy
22nd August 2009, 03:40 PM   |  #5  
Junior Member
Flag Pender Island
Thanks Meter: 0
 
19 posts
Join Date:Joined: Jul 2009
More
Just flashed 4.0.1 yesterday and am running themeless. Rebooted just to verify and yes I have the same issues. FC on bookmarks and am missing the refresh and forward icons.
Cheers,
Etienne
22nd August 2009, 03:41 PM   |  #6  
Senior Member
Thanks Meter: 4
 
140 posts
Join Date:Joined: Jun 2009
cover flow
It would be great if u could add the cover flow feature that the hero browser has for bookmarks and Thanks a lot those buttons kept getting in my way to.
22nd August 2009, 03:43 PM   |  #7  
Senior Member
Thanks Meter: 4
 
140 posts
Join Date:Joined: Jun 2009
intallation
I'm sorry but how do u get it on the rom?
22nd August 2009, 03:59 PM   |  #8  
Senior Member
Flag Karachi
Thanks Meter: 89
 
3,509 posts
Join Date:Joined: Jul 2008
More
Will this work on JACxROM?
22nd August 2009, 04:05 PM   |  #9  
OP Senior Member
Thanks Meter: 82
 
756 posts
Join Date:Joined: Jul 2005
More
Edit: fixed version hopefully now on the first post.
Last edited by Loccy; 22nd August 2009 at 04:15 PM.
22nd August 2009, 04:20 PM   |  #10  
OP Senior Member
Thanks Meter: 82
 
756 posts
Join Date:Joined: Jul 2005
More
Quote:
Originally Posted by chevycowboyusa

I do need to uninstall the old browser apk first? Probably so.

mount and push APK to /system/app

do I need to chmod? and if so what is the number? 775?

Thanks,

Your Guinie Pig!

Chevy

Yes, I'd uninstall the old browser first.

Install would go something like this, from your command line on your PC:

adb remount
adb shell
cd /system/app
mv Browser.apk Browser.original
exit
adb push Browser-cyan-pn-mod2.apk /system/app/Browser.apk


Quote:
Originally Posted by halla29

It would be great if u could add the cover flow feature that the hero browser has for bookmarks and Thanks a lot those buttons kept getting in my way to.

Bloody hell. It's taken me a week to get this far

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes