Yes. You can create a file xwview-shell-command-line, add the following line 
into it:
Xwalk  --disable-pull-to-refresh-effect
Then
adb push xwview-shell-command-line /data/local/tmp/xwview-shell-command-line

And relaunch your app.

From: Aram Azhari [mailto:[email protected]]
Sent: Friday, June 12, 2015 9:11 AM
To: Xu, Xing
Cc: [email protected]
Subject: RE: [Crosswalk-help] Disabling pull down refresh in crosswalk


Is that a folder on the android device?
On 11 Jun 2015 20:38, "Xu, Xing" <[email protected]<mailto:[email protected]>> 
wrote:
Hi, Aram
I tried it on Android, it works.

Xing

From: Aram Azhari [mailto:[email protected]<mailto:[email protected]>]
Sent: Friday, June 12, 2015 8:34 AM
To: Xu, Xing
Cc: 
[email protected]<mailto:[email protected]>
Subject: RE: [Crosswalk-help] Disabling pull down refresh in crosswalk


Hi Xu,

Thank you for your help. I forgot to mention that it is an Android.

Would this still apply?

Best regards,
On 11 Jun 2015 20:26, "Xu, Xing" <[email protected]<mailto:[email protected]>> 
wrote:
Hi, Aram,  you can add the following line into 
/data/local/tmp/xwview-shell-command-line if you are using embedding API.
Xwalk  --disable-pull-to-refresh-effect

Also, in 
http://stackoverflow.com/questions/29008194/disabling-androids-chrome-pull-down-to-refresh-feature,
 there is some other way to do this(I didn’t try it).
Any feedback will be welcome!

Xing
From: Crosswalk-help 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Aram Azhari
Sent: Friday, June 12, 2015 2:02 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] Disabling pull down refresh in crosswalk


Hi,

Is it possible to disable pull down refresh functionality in crosswalk embedded?

Note that we're using crosswalk,  not cordova.

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

Reply via email to