Notes ===== The most interesting things in this version are:- - Enabled creation of live wallpapers for premium users! - Added basic support for reading and writing to external sdcards, for text files only (image files etc to come later). You need to ask permission from the user to get access to the external cards using app.GetPermission, you can use app.CheckPermission to check if permission is already granted. - When using the WiFi editor, the phone/tablet screen is now hidden to prevent editing at both ends (and loosing work). The IP address of the connected users is also displayed and touching the address or pressing back will allow you to disconnect the Wifi IDE session. - You can now use basic animated GIFs in standard DS Image controls (the GIF plugin still offers more control tho). - You can now prevent the slide-out code completion/help panel from sliding automatically (new settings option) - Added 'SaveSPK' option to device editor (saves to /DroidScript/SPKs folder). - You can intercept URLs in emails and launch your app. This is enabled via build.json (use 'urlHost' and 'urlPathPrefix' fields). This is useful for password reset or re-licensing etc. via email. !!! Please be aware that we have changed the internal format of SPK files slightly, so that all the .js files now have an .txt extension. This was done to get around security problems with emailing SPK files through Gmail. (old SPKs will still work in DS though) Changes ======= Here are all the changes since the last official release:- DS 159 - Added new 'Button' option to image controls (causes image to depress like a button when touched) - Added new app.DisableTouch() to disable/enable all touch events on controls in main activity. - Added new net.WakeOnLan(ip,mac) for premium users. - Added support for controlling media players with app.BroadcastIntent() method (see forum). - Added 'TouchModal' option to YesNoDialog. - Changed ShowProgress and YesNoDialog to 'TouchModal' by default (use 'NoTouchModal' to revert) - Added options param to Custom dialog SetTitle() method, use 'Left', 'Center' or 'Right' for text alignment. - Added new 'Auto-Help' settings option to prevent/enable slide out help panel. - Added new img.MeasureText(txt) method to get width and height of text when drawn. - Changed device editor to show IP address of connected user when using WiFi IDE. - Added SAF support for text files: write,read,delete, app.CheckPermission, app.GetPermission. - Fixed app.GetExternalFolder() now returns primary external sdcard path. - File paths starting with '/extsdcard' now map to the primary external sdcard. - Your IP address is now visible in the about dialog. DS 159a2 - Added support for Khadas Vim device (including gpio access). - WebServer object supports new SetOnUpload(callback) method (filename + ip address passed to cb) - Fixed WebServer bug which required use of at least one Servlet to get file uploads working. DS 159a1 - Added 'json' mode to app.HttpRequest method. DS 158a1 - Enabled creation of live wallpapers for premium users! - Changed .js files inside SPK files to .js.txt to side step Google security issues. - Added 'SaveSPK' option to device editor (saves to /DroidScript/SPKs folder). - Added app.SetDensity to scale density of all controls in app (call before creating controls). - Added basic animated GIF support to Image controls. - Added URL intent interception via build.json (use 'urlHost' and 'urlPathPrefix' fields). - Added 'UseBrowser' option to Webview to cause links to launch in the default browser. - Fixed issue with fontawesome text in app.CreateList() and sumultainious use of fontawesome icons. - Fixed canvas.Save() not getting Storage permissions for APK build.