Sorry about that.  I don't know what the issues was.  Here is a link to the 
issue https://crosswalk-project.org/jira/browse/XWALK-6450.

Thanks for the help!


Regards,

Jonathon


________________________________
From: Xu, Xing <[email protected]>
Sent: Wednesday, March 2, 2016 12:45 AM
To: Jonathon Gray; [email protected]
Subject: RE: Trouble creating XWalkView


I can not access the zip file you provided.  Could you please help to creat a 
issue at https://crosswalk-project.org/jira and attach the related test case?





Regards,

Xing



From: Jonathon Gray [mailto:[email protected]]
Sent: Wednesday, March 2, 2016 2:27 PM
To: Xu, Xing <[email protected]>; [email protected]
Subject: Re: Trouble creating XWalkView



Jonathon Gray has shared a OneDrive for Business file with you. To view it, 
click the link below.



[https://r1.res.office365.com/owa/prem/images/dc-zip_20.png]<https://arkansastechu-my.sharepoint.com/personal/jgray38_atu_edu/Documents/Email%20attachments%201/SystemOverlayExample(1).zip>


SystemOverlayExample(1).zip<https://arkansastechu-my.sharepoint.com/personal/jgray38_atu_edu/Documents/Email%20attachments%201/SystemOverlayExample(1).zip>


[cid:b439399a-2275-4000-84cc-556238794f14]




Hello,

I am sorry for such a long delay.  I have been unable to spend much time on the 
project due to school.



As for the project, I was wrong in saying that we are using a Window, I should 
have said that we are using a WindowManager.  If you run the project you can 
choose to use a webview or xwalkview.  Running the WebView will work fine (as 
is the case in our app) but crashes with XWalkView.  Our app needs to be able 
to create a WebView/XWalkView within a service but it is not certain that an 
Activity will have been created.  I understand that an Activity is required to 
create an XWalkView and that there might not be a work-around currently, if 
that is the case should we open an issue on JIRA?  Any suggestions would be 
greatly appreciated!



Also, I am attaching a copy of the example project.  Do note that you may need 
to change the dependency with a different version of Crosswalk and extend 
XWalkActivity in MainActivity.java.



Thanks,

Jonathon



________________________________

From: Xu, Xing <[email protected]<mailto:[email protected]>>
Sent: Thursday, January 21, 2016 5:21 AM
To: Jonathon Gray; 
[email protected]<mailto:[email protected]>
Subject: RE: Trouble creating XWalkView



I didn’t see any kind of Window in your code. You have some RelativeLayout and 
Views, they are all Views, not Window MENTIONED BEFORE.



You may also replace it with WebView in your cod, I think it will crash too.



As to how to show a View from a service, you may refer to 
http://stackoverflow.com/questions/7678356/launch-popup-window-from-service



Regards,

Xing

From: Jonathon Gray [mailto:[email protected]]
Sent: Thursday, January 21, 2016 3:21 PM
To: Xu, Xing; 
[email protected]<mailto:[email protected]>
Subject: Re: Trouble creating XWalkView



Thank you for such a thorough response and I am sorry for such a delay in 
responding.



To your first point, we are actually using a window.  I have a mini-project 
that demonstrates how we are using Crosswalk and how it is crashing.  I have 
attached it along with the crash log.  I am very thankful for your help and all 
your suggestions.



Thanks,

Jonathon



________________________________

From: Xu, Xing <[email protected]<mailto:[email protected]>>
Sent: Thursday, January 7, 2016 6:33 PM
To: Jonathon Gray; 
[email protected]<mailto:[email protected]>
Subject: RE: Trouble creating XWalkView



As to XWalkVew/WebView,  XWalkView/Webview(Android View) is highly coupled with 
Android Window system,  they both needs some kind of window(Such as 
Activity/PopupWindow/Dialog) .

So if you want to use XWalkView/Webview, you need first setup a Window.



I am not clear your use case and the service you referred, here are my  
suggestions:

1, Check if your service if has some kind of Window. If not, create a 
PopupWindow/Dialog in your Service.  Or you may also refer to the 
InputMethodService of Android system,  it is a service but with a  highly 
customized “Window”.

You can put view into these kind of window.  If you try this way, it seems this 
is more like an Android issue instead of a crosswalk/chrome issue.



2, you may try low level API of chrome instead of XWalkView.  One option is 
content API.

We are collecting information about background render API based on content API. 
 We are intent to make these API View-unrelated. But this is far from being 
done.

We just have some ideas about this.  And we also need to prove if this is 
necessary. If you can share your use case, it would be a  big plus.





Regards,

Xing



From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Jonathon Gray
Sent: Thursday, January 7, 2016 1:48 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] Trouble creating XWalkView



Hello All,

I am working at replacing the native WebView in an app with XWalkViews.  In the 
app we must be able to create WebViews/XWalkViews from within our services.  I 
looked for information regarding how this could be done but found very little.  
I did find a previous email sent to this mailing list in February ( 
https://lists.crosswalk-project.org/pipermail/crosswalk-help/2015-February/000827.html).
  Is there a  workaround that you know of to be able to create an XWalkView 
from within a service?  If there is any other information you need, please do 
not hesitate to ask.  Thank you.

Best Regards,

Jonathon
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to