Pages

Wednesday, 27 January 2016

安卓上的快速,轻量级的浏览器:Lightning-Browser

A speedy, lightweight browser with modern navigation http://acrdevelopment.org

Download

Master Branch

  • Build Status

Dev Branch

  • Build Status

Features

  • Bookmarks
  • History
  • Multiple search engines (Google, Bing, Yahoo, StartPage, DuckDuckGo, etc.)
  • Incognito mode
  • Follows Google design guidelines
  • Unique utilization of navigation drawer for tabs
  • Google search suggestions
  • Orbot Proxy support and I2P support

Permissions

  • INTERNET: For accessing the web
  • WRITE_EXTERNAL_STORAGE: For downloading files from the browser
  • READ_EXTERNAL_STORAGE: For downloading files from the browser
  • ACCESS_FINE_LOCATION: For sites like Google Maps, it is disabled by default in settings and displays a pop-up asking if a site may use your location when it is enabled
  • ACCESS_NETWORK_STATE: Required for the WebView to function by some OEM versions of WebKit

The Code

  • Please contribute code back if you can. The code isn't perfect.
  • Please add translations/translation fixes as you see need

Contributing

  • The Trello Board
  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request
  • PLEASE use the dev branch when contributing as the master branch is supposed to be for stable builds. I will not reject your pull request if you make it on master, but it will annoy me and make my life harder.
  • Code Style
    • Hungarian Notation
      • Prefix member variables with 'm'
      • Prefix static member variables with 's'
    • Use 4 spaces instead of a tab (\t)

Setting Up the Project

Due to the inclusion of the netcipher library for Orbot proxy support, importing the project will show you some errors. To fix this, first run the following git command in your project folder (NOTE: You need the git command installed to use this):
git submodule update --init --recursive
Once you run that command, the IDE should automatically import netcipher and a couple submodules in as separate projects. Than you need to set the netcipher library project as a libary of the browser project however your IDE makes you do that. Once those steps are done, the project should be all set up and ready to go. Please read this tutorial for more information on git submodules.
from https://github.com/anthonycr/Lightning-Browser