function OnStart() { app.SetDebugEnabled(false); lay = app.CreateLayout( "linear", "VCenter,FillXY" ); web = app.CreateWebView( 1, 1 , "IgnoreErrors");
web.LoadUrl("./index.html");
web.SetOnProgress( web_OnProgess ); lay.AddChild( web ); app.AddLayout( lay ); app.ShowProgress("Loading...");}
function web_OnProgess( progress ) { if( progress==100 ) { app.HideProgress(); }}function OnConfig(){ web.SetSize(1,1);}Hi Developers at LeandroAP,
We reviewed your app, Campanha, with package name com.leandroAP.campanha, and noticed that it violates our developer terms.
REASON FOR WARNING: Violation of the Deceptive behavior policy
You must explain to users why you are requesting the ‘android.permission.BIND_DEVICE_ADMIN’ in your app. Apps must provide accurate disclosure of their functionality and should perform as reasonably expected by the user. Any changes to device settings must be made with the user's knowledge and consent and be easily reversible by the user.
...
Can anyone who is seeing this problem tell me whether you are using the release version of DroidScript or an alpha/beta version.
Just the version number from the About box will do.
Is it 1.55 ?
Would you be able to do me a favour by building an apk with
alert( app.GetDSVersion() );
and let me know what it displays ?
There should be a new version of the apk-builder plugin available today.
On a side-effect, I would expect to see the problem in 1.54 but not 1.50
https://groups.google.com/d/msg/androidscript/Ej6G50ozfLA/bA-Up3yrBwAJ