hi everyone,
i have question about webview.
______________
JS:
function OnStart(){
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
web = app.CreateWebView( 1, 1 );
lay.AddChild( web );
app.AddLayout( lay );
web.LoadUrl( "a.html" );
}
HTML:
<html>
<head>
<script src="file:///android_asset/app.js"></script>
</head>
<body style="background-color: #ffaaaa ">
<button onclick="app.WriteFile('/sdcard/awftest.txt', 'hello');" > save </button>
</body>
</html>
_____________
when i run this in DroidScript IDE everything is OK, it saves txt file. when i'm building apk and run it does not save :((
is it bug?