Use Chrome Android as a webview.
ChromeAndroidLib is hosted in the following web site
https://github.com/chenshanglin/ChromeAndroidLib
If you think the Android project ChromeAndroidLib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of ChromeAndroidLib.
Item | Value |
---|---|
Java File Count | 10 |
Supported screen sizes | [tvdpi, ldrtl, hdpi, xhdpi, ldrtlhdpi, ldrtlxhdpi, nodpi] |
Target SDK Version | 19 |
Minimum SDK Version | 14 |
Activity Count | 1 |
jar files used | android-support-v4.jar autofill_java.jar base_java.jar chrome_java.jar content_java.jar media_java.jar navigation_interception_java.jar net_java.jar printing_java.jar sync_java.jar ui_java.jar web_contents_delegate_android_java.jar |
Required Permissions | android.permission.ACCESS_COARSE_LOCATION android.permission.ACCESS_NETWORK_STATE android.permission.CAMERA android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.MODIFY_AUDIO_SETTINGS android.permission.READ_SYNC_SETTINGS android.permission.RECORD_AUDIO android.permission.USE_CREDENTIALS android.permission.VIBRATE android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE android.permission.WRITE_SYNC_SETTINGS com.google.android.c2dm.permission.RECEIVE org.chromium.chrome.testshell.permission.C2D_MESSAGE |
Asset File Names | assets\chrome_100_percent.pak assets\en-US.pak assets\resources.pak assets\zh-CN.pak |
There are 49 image files in ChromeAndroidLib. The names of the image files are listed as follows.
autofill_popup_background_down.9.png autofill_popup_background_up.9.png back.png back_disabled.png bubble.9.png bubble_arrow_up.png color_picker_advanced_select_handle.png forward.png forward_disabled.png globe_favicon.png ic_menu_search_holo_light.png ic_menu_share_holo_light.png infobar_autofill.png infobar_autologin.png infobar_blocked_popups.png infobar_button_normal_floating_enabled.9.png infobar_button_normal_floating_pressed.9.png infobar_button_warning_floating_enabled.9.png infobar_button_warning_floating_pressed.9.png infobar_camera.png infobar_cookie.png infobar_desktop_notifications.png infobar_didyoumean.png infobar_dismiss.png infobar_geolocation.png infobar_incomplete.png infobar_microphone.png infobar_multiple_downloads.png infobar_plugin.png infobar_plugin_crashed.png infobar_protected_media_identifier.png infobar_restore.png infobar_savepassword.png infobar_theme.png infobar_translate.png infobar_update_uma.png infobar_warning.png menu_dots.png missing.png ondemand_overlay.9.png pageinfo_bad.png pageinfo_enterprise_managed.png pageinfo_good.png pageinfo_info.png pageinfo_warning_major.png pageinfo_warning_minor.png star.png star_lit.png warning.png
The following screenshort is generated from the image listed above.
ChromeAndroidLib has the following Java source files.
com.hawkbrowser.chromelib.ChromeInitializer.java com.hawkbrowser.chromelib.TabManager.java com.hawkbrowser.chromelibtest.MainActivity.java com.hawkbrowser.chromelibtest.TestApplication.java com.hawkbrowser.webkit.ContentClientAdapter.java com.hawkbrowser.webkit.DownloadListener.java com.hawkbrowser.webkit.WebChromeClient.java com.hawkbrowser.webkit.WebView.java com.hawkbrowser.webkit.WebViewClient.java org.chromium.content.app.NativeLibraries.java