[APP][4.0+] Lightning Browser: Open-Source Web Browser

Search This thread

barth2

Senior Member
Jan 30, 2014
595
230
Samsung Galaxy S10+
The apk doesn't seem to be working for me???
Sorry. That one contains some experimental code that tries to un-invert images. I probably have the API level set wrong or something so it does not work on your device.

Here is one with just the UI blacked out. I only changed some icons and xml files. The code is same as original (not recompiled, read: not screwed up, by me) Should work.

https://docs.google.com/file/d/0B1AKmSMAnif2S3ZsZzBYMlhEdW8/preview?pli=1
 

Capa1970

Senior Member
Oct 28, 2012
157
19
There were two links: one a Java file and the other an apk. When it failed yesterday, I just attempted to download the apk workout success. Was I suppose to download the Java file as well?
 

barth2

Senior Member
Jan 30, 2014
595
230
Samsung Galaxy S10+
There were two links: one a Java file and the other an apk. When it failed yesterday, I just attempted to download the apk workout success. Was I suppose to download the Java file as well?

no the java file is only for devs who want to try the code

Here is updated apk file without the debug info, so only 700K

https://drive.google.com/file/d/0B1AKmSMAnif2SllDd3dEOHZ5eUU/view?usp=sharing

again, this is only for people who care about black theme and/or inverted mode. I'm trying to make inverted mode not invert images. It mostly works for IMG tags. but not background images, though I try to deal with a few cases,

If it does not install, you may need to uninstall current app. That's because I'm signing with a debug/test key, which obviously does not match anthonycr's.

Yes, I'll eventually do this the right way and put it on github with full source. I'm learning, and my way of learning is jump in and do stuff and only as last resort RTFM :) I guarantee nothing except that when I mess up it's through ignorance and stupidity, not malice.
 

Capa1970

Senior Member
Oct 28, 2012
157
19
Thanks, barth2, it worked. I had to uninstall the original app.

Wow, what an awesome improvisation! Dark theme and images that, for the most part, have color in inverted mode. This app went from 9 to a perfect


Sent from my iPad using Tapatalk

---------- Post added at 11:40 PM ---------- Previous post was at 11:38 PM ----------

For those of you wondering why many of us here want a dark theme and inverted colors, it's mainly about battery life:

http://www.androidauthority.com/black-amoled-display-power-saving-541984/

Yep, impressive battery life


Sent from my iPad using Tapatalk
 
  • Like
Reactions: jshare

geoslake

Senior Member
Oct 31, 2010
204
24
Wow, thanks for your blacked version Barth2 !!! Im using inverted mode, and images are fine, this is perfect !
Now, if only someone could add video player touch controls, that would be nirvana.
(i dont use youtube app, using the browser to stream videos, and dolphin, for instance, has left vertical swipe to control brightness, right vertical swipe to control volume, and horizontal swipe for time seeking)
 

barth2

Senior Member
Jan 30, 2014
595
230
Samsung Galaxy S10+
Update to my black version of lightning

https://drive.google.com/open?id=0B1AKmSMAnif2SllDd3dEOHZ5eUU&authuser=1

some refinements to inverted mode to preserve background images and keep images from getting inverted. does not work 100%, but that is probably too hard to do because I have no control on how people code their sites and it would take too long to do smarter processing.

added experimental night mode (white text on black). night mode advantages: no inverted images EVER, smoother scrolling because not applying a color filter. Disadvantages: some background images not visible, possible to get black on black or white on white on occasions, screen is white before turning black (UGH).

added button to cycle between normal / inverted / night mode

requirements: kit kat, uninstall of original lightning if you are running that (if you are running a previous build of mine, no need to uninstall). Debated whether I should change package name but don't know if that is kosher.


Biggest flaw right now is the page begins showing before I can apply my page modification via javascript, so you see the original page before it changes. In case of night mode, you get white screen before it turns black and it causes a "flash" eek. Ideally, I want to suppress page drawing until my javascript is finished, but don't know how. Anybody has a suggestion? Much appreciated :)
 

DF1E

Senior Member
Jan 28, 2012
233
386
Update to my black version of lightning

https://drive.google.com/open?id=0B1AKmSMAnif2SllDd3dEOHZ5eUU&authuser=1

some refinements to inverted mode to preserve background images and keep images from getting inverted. does not work 100%, but that is probably too hard to do because I have no control on how people code their sites and it would take too long to do smarter processing.

added experimental night mode (white text on black). night mode advantages: no inverted images EVER, smoother scrolling because not applying a color filter. Disadvantages: some background images not visible, possible to get black on black or white on white on occasions, screen is white before turning black (UGH).

added button to cycle between normal / inverted / night mode

requirements: kit kat, uninstall of original lightning if you are running that (if you are running a previous build of mine, no need to uninstall). Debated whether I should change package name but don't know if that is kosher.


Biggest flaw right now is the page begins showing before I can apply my page modification via javascript, so you see the original page before it changes. In case of night mode, you get white screen before it turns black and it causes a "flash" eek. Ideally, I want to suppress page drawing until my javascript is finished, but don't know how. Anybody has a suggestion? Much appreciated :)

It would be nice if you could upload you changes to github. So others can help ypu
 
  • Like
Reactions: tschmid

geoslake

Senior Member
Oct 31, 2010
204
24
Wonder if its possible to modify the browser to ask what to do with audio and video files (havent tried on video, so at least for audio).
When opening an internet link with an mp3, i can stream it in Lightning, but theres no progress bar (it seems there should be one, but it kinda disappearing immediately).
So either a fix to this, or the ability to chose external app to open those links wold be awesome.

Cheers
 

matraca

Senior Member
Oct 27, 2013
325
105
Wonder if its possible to modify the browser to ask what to do with audio and video files (havent tried on video, so at least for audio).
When opening an internet link with an mp3, i can stream it in Lightning, but theres no progress bar (it seems there should be one, but it kinda disappearing immediately).
So either a fix to this, or the ability to chose external app to open those links wold be awesome.

Cheers

I am in the same boat, I love this browser but I need to download mp3 files on a daily basis and there is no option to download to phone, only to stream. I hope a fix for this wil come soon
 

OldYellowBricks

Senior Member
Aug 31, 2012
630
256
Wonder if its possible to modify the browser to ask what to do with audio and video files (havent tried on video, so at least for audio).
When opening an internet link with an mp3, i can stream it in Lightning, but theres no progress bar (it seems there should be one, but it kinda disappearing immediately).
So either a fix to this, or the ability to chose external app to open those links wold be awesome.

Cheers

+1
 

geoslake

Senior Member
Oct 31, 2010
204
24
Love the new button to switch modes. I don't use night mode because of the "first day, then night" thing you mentioned, which kills my eyes at night.
BTW happy new year ;)
 
Last edited:

lediod

Member
Jan 16, 2014
22
0
Tekirdag
Nice app, recently reset my phone and this could become one of my main browsers. It loads mobile websites really fast on my sort of low end phone (such as the mobile versions of facebook, google, youtube...etc) Also, I noticed that pages don't actually show it loading, but rather just load. Don't know if out is a bug or helps performance, just putting it out there.
A problem I had was;
Whenever I press the menu button, nothing happens.

Sent from my SCH-I500 using Tapatalk 2

thanks
 

barth2

Senior Member
Jan 30, 2014
595
230
Samsung Galaxy S10+
BTW has anyone successfully built and run lightning using android studio 1.0 (or any version for that matter). I always get a dexopt error ("Installation failed since the device possibly has stale dexed jars that don't match the current version"). Eclipse works but I understand I should be moving to android studio anyway.
 

o-w-a

Senior Member
Jan 3, 2010
140
20
BTW has anyone successfully built and run lightning using android studio 1.0 (or any version for that matter). I always get a dexopt error ("Installation failed since the device possibly has stale dexed jars that don't match the current version"). Eclipse works but I understand I should be moving to android studio anyway.

Yes I did I even themed it added some material icons to it. And a material floating action button for tabs.

Nexus 4 cihazımdan Tapatalk kullanılarak gönderildi
 

Top Liked Posts

  • There are no posts matching your filters.
  • 232
    Lightning Browser
    acrdevelopment.org
    beauty.png

    Download Here​


    Join the Google+ Community for Access to the latest beta for Lightning and Thunder​


    View the source code​


    Download the APK​


    Read xda's review


    Features:
    ● Open Source
    ● Lightweight
    ● Follows Android design guidelines
    ● Well-designed
    ● Respects your privacy
    ● Fast

    Lightning Browser is a lightweight Android web browser dedicated to delivering a high-quality experience. I'm a full-time student, so updates are not every week, but I am always working on the browser despite what it might seem like. The purpose of this browser is to gain me experience in programming and reaching as many people as possible, not make me money like so many others, and that is what makes me different from other developers.

    Navigation:
    ● Long-press a tab to delete it
    ● Long-press the back button to exit the browser

    Enjoy :)

    Permissions Explanation
    ● permission.INTERNET - Obviously needed to access the internet :p
    ● permission.WRITE_EXTERNAL_STORAGE - Needed for downloading files
    ● permission.READ_EXTERNAL_STORAGE - Needed for downloading files
    ● permission.ACCESS_FINE_LOCATION - Needed for sites that want your location (access is denied by default)
    8
    Here we go folks. The betas are now live.

    Join the Google+ Community in order to be able to access the Betas on Google Play.

    The links to the betas are below. Note: You can't just search for the beta in the Play Store and instead to get to it you need a direct link.

    Google Play​
    Lightning Beta (Play Store)​


    Lightning Plus Beta (Play Store)​


    Thunder Beta​




    If you don't want to join the Google+ Community, below you can get the latest APK from Github

    Github​
    Lightning APK​


    Thunder APK​


    I will be making a separate thread for Thunder Browser sometime in the future as it is different enough from Lightning that I don't want things getting mixed up between them. The Google+ Community is open to everyone, so feel free to tell others that might benefit from the beta about it, I'm not restricting it to people in this forum or anything. Also, if you wish to use the community to post bugs and other things feel free to, but please keep posts relevant (no spam, memes, or generally stupid posts).

    Please note that all the above links I posted are present in the Google+ Community if you forget where to find them.​
    8
    Hey everyone, there's a new beta out on the Play Store, go get it! If it's not showing up for you, either you haven't joined the G+ community necessary, or else it's still propagating. I'll try to get a version up on Github for download tomorrow. If you want the latest code, it can be obtained from the Dev branch of the repository (it's not ready to be pushed to master just yet). Enjoy, and feedback welcome.

    Change log:
    * updated for lollipop
    * fixed orbot problems on lollipop
    * material design (on all supported android versions, thank you support libraries)
    * added text reflow for KitKat and up
    * improved inverted rendering for KitKat and up (hopefully a solution will be found for everyone)
    * color mode - colors the browser to match the website - will be made optional in the future for those that don't like it
    * fullscreen mode works better
    * search suggestions slightly sped up
    * long press on tab for option to close browser or close tab
    * of course other improvements as well

    Community added features
    * new/updated translations
    * revamped settings (sorted for easier use)
    * better "find in page option"

    Browse safely and have fun!
    7
    Hey everyone,

    Due to recent changes in the Google Play Developer policy, I'm going to have to make Lightning Browser+ free. Google has imposed restrictions requiring me to publicly disclose my address (which isn't that bad) as well as respond to every support email within a 24 hour period. As a student, I often don't even have enough time to eat every meal or sleep enough so it's likely that as an indie Dev with no marketing team I would end up violating the rules and probably getting my account banned. In light of these recent developments, I need to make Lightning+ free. The problem with this is that now there wouldn't be any reason to download the normal Lightning.... Ideally I'd like to merge the apps into a single free app, but getting rid of either version will be a nuisance for a number of users... Tens of thousands of free users on the one hand and a bunch of people who have been kind enough to support me on the other.

    I'm looking for ideas on how to merge both versions without causing problems for users. NOTE: the latest beta has a feature that allows you to import and export bookmark backups so that's not a problem.

    If anyone has any ideas that'd be great. Basically, I want to make the browser completely free... Maybe if I just make lightning+ free eventually all the users will migrate to it and eventually I'll be able to decommission the free version?

    I'll loose my playstore ranking by removing the free version but ultimately present users not future users are the biggest priority.

    Thanks for understanding, everyone :)

    P.S. if I do make Lightning+ free and you purchased it within the last couple months and feel the need for a refund once it's free I'll gladly oblige.
    6
    Update is rolling out soon for Lightning Browser+ (Free version still needs a little more work)

    Change log

    ADDED:
    - Google search suggestions (optional)
    - Auto-sort bookmarks alphabetically
    - AdBlocker (plus version only)

    FIXED
    - Magent links load correctly
    - Google Maps can load from search results
    - Long click on images fixed (hopefully)
    - Added start page desktop and mobile versions of search engine
    - show toast when URL is copied from text bar
    - history page displays better and loads quicker
    - better bookmark UI (if you set bookmarks as your homepage)
    - search suggestions from history and bookmarks are better
    - speed/battery improvements due to keeping browser Alive between multiple launches
    - handle IP addresses correctly
    - fixed popups being blocked that weren't supposed to be blocked
    - no longer asks user if they want to download an image they requested to download
    - other small bug fixes.

    Hopefully I'll be able to get the free version up soon and the code repo updated.

    Enjoy

    Sent from my Nexus 4 using Tapatalk