Sample hybrid app that uses native Android identity toolkit for login and a Cordova-enabled Crosswalk web view for the HTML5 app.
native-crosswalk-auth is hosted in the following web site
https://github.com/brentvatne/native-crosswalk-auth
If you think the Android project native-crosswalk-auth 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 native-crosswalk-auth.
Item | Value |
---|---|
Java File Count | 184 |
Supported screen sizes | [landhdpi, portmdpi, xxhdpi, hdpi, porthdpi, xhdpi, portldpi, landxhdpi, xxxhdpi, landldpi, portxhdpi, landmdpi] |
Target SDK Version | 20 |
Minimum SDK Version | 15 |
Activity Count | 2 |
jar files used | classes.jar xwalk_core_library_java_app_part.jar xwalk_core_library_java_library_part.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.USE_CREDENTIALS |
Asset File Names | assets\www\img\cordova.png assets\www\img\logo.png |
Raw File Names | res\raw\icudtl.dat res\raw\xwalk.pak |
The license information of native-crosswalk-auth is as follows:
Apache License
There are 10 image files in native-crosswalk-auth. The names of the image files are listed as follows.
bubble.9.png bubble_arrow_up.png color_picker_advanced_select_handle.png dropdown_popup_background_down.9.png dropdown_popup_background_up.9.png ic_menu_search_holo_light.png ic_menu_share_holo_light.png ondemand_overlay.9.png pageinfo_warning_major.png screen.png
The following screenshort is generated from the image listed above.
native-crosswalk-auth has the following Java source files.
com.squareup.okhttp.Address.java com.squareup.okhttp.Address.java com.squareup.okhttp.Connection.java com.squareup.okhttp.Connection.java com.squareup.okhttp.ConnectionPool.java com.squareup.okhttp.ConnectionPool.java com.squareup.okhttp.HttpResponseCache.java com.squareup.okhttp.HttpResponseCache.java com.squareup.okhttp.MediaType.java com.squareup.okhttp.MediaType.java com.squareup.okhttp.OkAuthenticator.java com.squareup.okhttp.OkAuthenticator.java com.squareup.okhttp.OkHttpClient.java com.squareup.okhttp.OkHttpClient.java com.squareup.okhttp.OkResponseCache.java com.squareup.okhttp.OkResponseCache.java com.squareup.okhttp.Route.java com.squareup.okhttp.Route.java com.squareup.okhttp.RouteDatabase.java com.squareup.okhttp.RouteDatabase.java com.squareup.okhttp.TunnelRequest.java com.squareup.okhttp.TunnelRequest.java com.squareup.okhttp.internal.AbstractOutputStream.java com.squareup.okhttp.internal.AbstractOutputStream.java com.squareup.okhttp.internal.Base64.java com.squareup.okhttp.internal.Base64.java com.squareup.okhttp.internal.DiskLruCache.java com.squareup.okhttp.internal.DiskLruCache.java com.squareup.okhttp.internal.Dns.java com.squareup.okhttp.internal.Dns.java com.squareup.okhttp.internal.FaultRecoveringOutputStream.java com.squareup.okhttp.internal.FaultRecoveringOutputStream.java com.squareup.okhttp.internal.NamedRunnable.java com.squareup.okhttp.internal.NamedRunnable.java com.squareup.okhttp.internal.Platform.java com.squareup.okhttp.internal.Platform.java com.squareup.okhttp.internal.StrictLineReader.java com.squareup.okhttp.internal.StrictLineReader.java com.squareup.okhttp.internal.Util.java com.squareup.okhttp.internal.Util.java com.squareup.okhttp.internal.http.CacheControlHandler.java com.squareup.okhttp.internal.http.CacheControlHandler.java com.squareup.okhttp.internal.http.HttpAuthenticator.java com.squareup.okhttp.internal.http.HttpAuthenticator.java com.squareup.okhttp.internal.http.HttpEngine.java com.squareup.okhttp.internal.http.HttpEngine.java com.squareup.okhttp.internal.http.HttpTransport.java com.squareup.okhttp.internal.http.HttpTransport.java com.squareup.okhttp.internal.http.HttpURLConnectionImpl.java com.squareup.okhttp.internal.http.HttpURLConnectionImpl.java com.squareup.okhttp.internal.http.HttpsEngine.java com.squareup.okhttp.internal.http.HttpsEngine.java com.squareup.okhttp.internal.http.HttpsURLConnectionImpl.java com.squareup.okhttp.internal.http.HttpsURLConnectionImpl.java com.squareup.okhttp.internal.http.OkResponseCacheAdapter.java com.squareup.okhttp.internal.http.OkResponseCacheAdapter.java com.squareup.okhttp.internal.http.Policy.java com.squareup.okhttp.internal.http.Policy.java com.squareup.okhttp.internal.http.RawHeaders.java com.squareup.okhttp.internal.http.RawHeaders.java com.squareup.okhttp.internal.http.RequestHeaders.java com.squareup.okhttp.internal.http.RequestHeaders.java com.squareup.okhttp.internal.http.ResponseHeaders.java com.squareup.okhttp.internal.http.ResponseHeaders.java com.squareup.okhttp.internal.http.RouteSelector.java com.squareup.okhttp.internal.http.RouteSelector.java com.squareup.okhttp.internal.http.SpdyTransport.java com.squareup.okhttp.internal.http.SpdyTransport.java com.squareup.okhttp.internal.spdy.FrameReader.java com.squareup.okhttp.internal.spdy.FrameReader.java com.squareup.okhttp.internal.spdy.FrameWriter.java com.squareup.okhttp.internal.spdy.FrameWriter.java com.squareup.okhttp.internal.spdy.IncomingStreamHandler.java com.squareup.okhttp.internal.spdy.IncomingStreamHandler.java com.squareup.okhttp.internal.spdy.Ping.java com.squareup.okhttp.internal.spdy.Ping.java com.squareup.okhttp.internal.spdy.SpdyConnection.java com.squareup.okhttp.internal.spdy.SpdyConnection.java com.squareup.okhttp.internal.spdy.SpdyStream.java com.squareup.okhttp.internal.spdy.SpdyStream.java com.squareup.okhttp.internal.tls.OkHostnameVerifier.java com.squareup.okhttp.internal.tls.OkHostnameVerifier.java com.squareup.okhttp.static.java com.squareup.okhttp.static.java com.squareup.okhttp.static.java com.squareup.okhttp.static.java com.squareup.okhttp.static.java com.squareup.okhttp.static.java com.xwalk.androidstudio.LoginActivity.java com.xwalk.androidstudio.XWalkCordova.java main.java.Test.java org.apache.cordova.App.java org.apache.cordova.App.java org.apache.cordova.AuthenticationToken.java org.apache.cordova.AuthenticationToken.java org.apache.cordova.CallbackContext.java org.apache.cordova.CallbackContext.java org.apache.cordova.Config.java org.apache.cordova.Config.java org.apache.cordova.ConfigXmlParser.java org.apache.cordova.CordovaActivity.java org.apache.cordova.CordovaActivity.java org.apache.cordova.CordovaArgs.java org.apache.cordova.CordovaArgs.java org.apache.cordova.CordovaBridge.java org.apache.cordova.CordovaChromeClient.java org.apache.cordova.CordovaChromeClient.java org.apache.cordova.CordovaInterface.java org.apache.cordova.CordovaInterface.java org.apache.cordova.CordovaPlugin.java org.apache.cordova.CordovaPlugin.java org.apache.cordova.CordovaPreferences.java org.apache.cordova.CordovaResourceApi.java org.apache.cordova.CordovaResourceApi.java org.apache.cordova.CordovaUriHelper.java org.apache.cordova.CordovaWebView.java org.apache.cordova.CordovaWebView.java org.apache.cordova.CordovaWebViewClient.java org.apache.cordova.CordovaWebViewClient.java org.apache.cordova.DirectoryManager.java org.apache.cordova.DirectoryManager.java org.apache.cordova.DroidGap.java org.apache.cordova.DroidGap.java org.apache.cordova.ExifHelper.java org.apache.cordova.ExifHelper.java org.apache.cordova.FileHelper.java org.apache.cordova.FileHelper.java org.apache.cordova.IceCreamCordovaWebViewClient.java org.apache.cordova.IceCreamCordovaWebViewClient.java org.apache.cordova.JSONUtils.java org.apache.cordova.JSONUtils.java org.apache.cordova.LOG.java org.apache.cordova.LOG.java org.apache.cordova.LinearLayoutSoftKeyboardDetect.java org.apache.cordova.LinearLayoutSoftKeyboardDetect.java org.apache.cordova.NativeToJsMessageQueue.java org.apache.cordova.NativeToJsMessageQueue.java org.apache.cordova.PluginEntry.java org.apache.cordova.PluginEntry.java org.apache.cordova.PluginManager.java org.apache.cordova.PluginManager.java org.apache.cordova.PluginResult.java org.apache.cordova.PluginResult.java org.apache.cordova.ScrollEvent.java org.apache.cordova.ScrollEvent.java org.apache.cordova.Whitelist.java org.apache.cordova.Whitelist.java