Hi, Vishnu,
For your start, please refer to:  
https://crosswalk-project.org/documentation/getting_started.html.
If you know how to build from the 
source(https://crosswalk-project.org/contribute/building_crosswalk.html),  
https://github.com/crosswalk-project/crosswalk/tree/master/runtime/android/core_shell
 will also be a good start point.


For your mapping between android_webview and xwalk, this is not 1:1 mapping.
There are some similarities between the two, so you can easily migrate from 
android webview to xwalk.
We are trying to make xwalk look like android webview at the api level,  but 
there are gaps currently.


Android

Ask

XWalk Reference

android.webkit.WebSettings;

What is the associate class name in XWalk which needs to be imported?

org.xwalk.core.XWalkPreferences (XWalkSettings is not public, so you cannot use 
it.)

android.webkit.WebStorage;

What is the associate class name in XWalk which needs to be imported?

NA.

android.webkit.DownloadListener;

I see an interface in org.xwalk.core.internal.DownloadListener. but it is not 
public, any mechanism to implement this method in my application?

(No public API Yet, about the in progress API
org.xwalk.core.XWalkDownloadListener, you can refer to: 
https://crosswalk-project.org/jira/browse/XWALK-3647
https://crosswalk-project.org/jira/browse/XWALK-3958


Android.webkit.WebView

Can I go ahead with XWalkView, I see the  methods in Android are not 
implemented and scattered in multiple classes.

org.xwalk.core.XWalkView





From: Crosswalk-help 
[mailto:crosswalk-help-boun...@lists.crosswalk-project.org] On Behalf Of Vishnu 
Prakash
Sent: Wednesday, May 6, 2015 8:55 PM
To: crosswalk-h...@ml01.01.org; crosswalk-...@ml01.01.org
Cc: Kaushik Sindhu
Subject: [Crosswalk-help] Help in mapping Android Webkit and XWalkwebKit

Hi Crosswalk team,
Greetings!!!

I trust things are great at your end.

I was doing a hands-on to upgrade  android.webkit.* with crosswalk 11 in my 
application.  Can you please help me with the following ask.

Android

Ask

XWalk Reference

android.webkit.WebSettings;

What is the associate class name in XWalk which needs to be imported?



android.webkit.WebStorage;

What is the associate class name in XWalk which needs to be imported?



android.webkit.DownloadListener;

I see an interface in org.xwalk.core.internal.DownloadListener. but it is not 
public, any mechanism to implement this method in my application?



Android.webkit.WebView

Can I go ahead with XWalkView, I see the  methods in Android are not 
implemented and scattered in multiple classes.




May I request you to educate me with some samples/documents/links etc to 
connect and use  xwalk in my application. I will really appreciate your time.
Thank you in advance,
Regards,
Vishnu
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to