Giter VIP home page Giter VIP logo

365browser's Introduction

365 Browser

A lightweight android browser based on chromium for android. You can visit my blog site http://mogoweb.github.io/mogo-browser/ for more information, but written in Chinese.

Why you need

In 2015, Google releases full source of chromium for android, including browser UI. It means that base on chromium open source project, you can build an android browser as powerful as Chrome for Android. But for most android developer, chromium project is huge and difficult to customize. This project extracts sources and libraries built from chromium, so that you can put emphasis on UI customize. Please use Android Studio as your development environment.

Get the Code

Check out the repository in your Android Studio workspace, and open the project in Android Studio. Then build, debug, run as a normal android project.

Have a fun :)

Copyright and License

The project contains code from the The Chromium Project, which is subject to the copyright and license on the project site.

The rest of the code is Copyright 2015 mogoweb, All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

365browser's People

Contributors

mogoweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

365browser's Issues

library "libchromium_android_linker.so" not found

安装到手机后运行报错:

`E/AndroidRuntime: FATAL EXCEPTION: Chrome_ProcessLauncherThread
    Process: com.mogoweb.browser, PID: 12218
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libchromium_android_linker.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
        at java.lang.System.loadLibrary(System.java:1664)
        at org.chromium.base.library_loader.Linker.loadLinkerJniLibrary(Linker.java:523)
        at org.chromium.base.library_loader.ModernLinker.ensureInitializedLocked(ModernLinker.java:79)
        at org.chromium.base.library_loader.ModernLinker.getBaseLoadAddress(ModernLinker.java:294)
        at org.chromium.content.browser.ChildProcessLauncherHelper.initLinker(ChildProcessLauncherHelper.java:201)
        at org.chromium.content.browser.ChildProcessLauncherHelper.createServiceBundle(ChildProcessLauncherHelper.java:238)
        at org.chromium.content.browser.ChildProcessLauncher$7.run(ChildProcessLauncher.java:340)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.os.HandlerThread.run(HandlerThread.java:67)`

最新版本有兼容性问题

你好,最近在看你的365browser开源项目,在4.21号添加的bugtags库有兼容性问题
测试设备如下:乐视X4-40电视(无法启动bug服务crash),魅族pro6(无法加载C库)
4.19号版本网页无法正常加载

请问如何更改user agent?

请问如何更改user-agent?我在播放www.youtube.com的视频的时候,想要获取到视频的url,使用android的user-agent无法获取到,所以我想通过修改user-agent来获取视频的url,在哪里改user-gent?

Get Html source

How can i get html source and query on elements of current tab?

Missing resources when updating Chromium

I'm trying to update the chromium_sync script to work to update to Chromium 55. It seems to work, however when I run gradlew build I'm getting a bunch of these errors related to the new resources:

<snip>
:libraries:chrome_res:processReleaseResources
/git/365browser/libraries/chrome_res/src/main/res/layout/account_chooser_dialog_item.xml:11:27-68: AAPT: No resource found that matches the given name (at 'paddingStart' with value '@dimen/account_chooser_dialog_item_margin').

/git/365browser/libraries/chrome_res/src/main/res/menu/password_entry_editor_action_bar_menu.xml:13:37-89: AAPT: No resource found that matches the given name (at 'contentDescription' with value '@string/password_entry_editor_delete_stored_password').

/git/365browser/libraries/chrome_res/src/main/res/menu/payments_editor_menu.xml:18:24-36: AAPT: No resource found that matches the given name (at 'title' with value '@string/help').

<snip>

:libraries:chrome_res:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':libraries:chrome_res:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk-linux/build-tools/25.0.1/aapt'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.629 secs

Could you point me in the right direction on correcting this?

Chromium 90.

Can we upgrade chromium 90.00
I have tried to upgrade chromium 73 to 90. But I am failed using your given script. Can you guide me to find out the solution.

网址无法访问

我在输入框里输入任何网址,都不能打开网页。
启动过程中,浏览器一直弹出崩溃的提示框。。。

where you got java_src directories

now day chromium chrome_public_apk src change and sync_chromium is old.
one question helps me a lot where you got all of the sources directories.

请问如何实现css注入呢?准备在4.2.2的eink设备上用的。谢谢

我在/data/data/com.mogoweb/app_chrome/Default/User StyleSheets/Custom.css里加入这段代码,但貌似没用哦:

  • { background-color: white ! important; color: black !important }
    :link, :link * { color: black !important }
    :visited, :visited * { color: black !important }

但在别的浏览器的stylish插件里边,貌似有用。请教一下,如何在您的浏览器上实现呢?谢谢

Release build not working in other devices

I tried creating a build in Android Studio signing with a release keystore. It works in the phone where I debug, but it is not working when I try to install the APK in other phones. It crashes when tapped on the app icon.

Do I need to do any other steps to work in other devices as well?

下载代码后不能运行,报错!

Caused by: java.lang.ClassCastException: com.android.tools.fd.runtime.BootstrapApplication cannot be cast to org.chromium.base.BaseChromiumApplication
at org.chromium.base.BaseChromiumApplication.initCommandLine(BaseChromiumApplication.java:116)
at org.chromium.chrome.browser.ChromeBrowserProvider.onCreate(ChromeBrowserProvider.java:268)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1730)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
at android.app.ActivityThread.installProvider(ActivityThread.java:5034)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4629) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4569) 
at android.app.ActivityThread.access$1500(ActivityThread.java:154) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:135) 
at android.app.ActivityThread.main(ActivityThread.java:5298) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:910) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:705) 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.