Hi, which crosswalk version are you use?
For the fullscreen issue,   it is resolved after this: 
https://crosswalk-project.org/jira/browse/XWALK-4687.

And a hint for ready_when: custom, this means you have to call 
window.screen.show()in your javascript.

Did you package your app with make_apk.py or crosswalk-app-tools?
crosswalk-app-tools is our latest packaging tools: 
https://crosswalk-project.org/documentation/crosswalk-app-tools.html


Regards,
Xing

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Виктор 
Курочкин
Sent: Thursday, May 26, 2016 7:33 PM
To: [email protected]
Subject: [Crosswalk-help] Fullscreen and splash from manifest don't work in 
shared mode

Hello!
I use CrossWalk for Android in shared mode: 
https://crosswalk-project.org/documentation/shared_mode.html
So, I have an activity WebActivity that extends XWalkActivity and implements a 
method “onXWalkReady”, where I load my web view.
And I want to achieve two things:
1) My Activity should open in Fullscreen (including hiding Android Status Bar).
2) A splash-screen should be displayed during loading, instead of a blank white 
screen.

So, I have created “manifest.json” file inside “assets” folder of my 
application, with the following content:
{
  “name”: “App Name”,
  “xwalk_version”: “2.0.0”,
  “start_url”: “index.html”,
  “orientation”: “landscape”,
  “display”: “fullscreen”,
  “xwalk_launch_screen”: {
    “ready_when”: “custom”,
    “landscape”: {
      “background_color”: “#11f”,
      “image”: “splash.png”
    }
  }
}
The bold parts are according to these docs:
https://crosswalk-project.org/documentation/manifest/display.html
https://crosswalk-project.org/documentation/manifest/launch_screen.html

And I am loading my WebView using the method:
webView.loadAppFromManifest(“file:///android_asset/manifest.json<file:///\\android_asset\manifest.json>”,
 null);


The activity is loading and showing me index.html after a while (so, loading 
from manifest works itself), but neither fullscreen nor launch screen don’t 
work: I still see blank white screen during activity loading, and I still see 
the Android Status Bar.

Please tell me what am I doing wrong and how to get it working?

Thanks in advance.
____________
Regards, Victor



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

Reply via email to