This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
version_history:v1.42 [2016/12/19 08:43] stevegarman created |
version_history:v1.42 [2018/07/22 22:01] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DroidScript v1.42 ====== | ||
Announcement by Dave Smart 2nd December 2016 | Announcement by Dave Smart 2nd December 2016 | ||
+ | |||
+ | Hi Guys, | ||
+ | |||
+ | It's been a while but we have finally got a new version for you. Yay! This one has Tons of great new functionality, | ||
+ | |||
+ | ==== Sliding Drawers ==== | ||
+ | |||
+ | You can now easily create professional looking apps by adding drag out menus and slide out panels with only a few lines of code. We've added a sample to demonstrate this called ' | ||
+ | |||
+ | ==== Asset chooser ==== | ||
+ | |||
+ | Although we recommend using the WiFi editor for ' | ||
+ | |||
+ | ==== Downloadable Demos ==== | ||
+ | |||
+ | Checkout the new ' | ||
+ | |||
+ | ==== Download Manager and File Chooser ==== | ||
+ | |||
+ | You can now make use of Android' | ||
+ | |||
+ | ==== App Templates ==== | ||
+ | |||
+ | For premium users, we have now provided a set of starting templates which are a suitable starting point for building professional quality apps, including the following types:- | ||
+ | |||
+ | Basic - The basic hello sample you already know. | ||
+ | Background Service - A template for creating background services, the corresponding foreground app with communication between them. | ||
+ | Web Server - A basic web server template that supports web sockets and bi-directional communication between client(s) and server. | ||
+ | Multi-page with Menu Drawer - Designed for phones, provides starting point for apps with an action bar, drag-out menu and Material theme. | ||
+ | Information Kiosk - Designed for Tablets, provides a skeleton kiosk type app suitable for information kiosks and industrial control panels | ||
+ | |||
+ | The 'Web Server' | ||
+ | |||
+ | We will be creating more templates for the next version of DroidScript, | ||
+ | |||
+ | ==== Other ==== | ||
+ | |||
+ | There' | ||
+ | |||
+ | Phew!, that's been a lot of work... and there' | ||
+ | |||
+ | Special thanks go to Steve Garman and 'Chris Topher' | ||
+ | |||
+ | |||
+ | This new version should appear in the next couple of hours on Google Play. If you simply can wait, then you can get it directly here:- http:// | ||
+ | |||
+ | |||
+ | **ALERT: This version contains a breaking change: You must now call dlg.Show() to show ListDialogs, | ||
+ | Here are the changes since 1.34:- | ||
+ | |||
+ | * Fixed bug with TextToSpeech failing to swap languages (eg. en_GB, en_IN). | ||
+ | * Added touch callbacks to Absolute and Frame layouts. | ||
+ | * Fixed freeze when trying to use SetPosition in Linear/ | ||
+ | * Added 'Web Server' | ||
+ | |||
+ | * Fixed bug with List control showing images from / | ||
+ | * Added ' | ||
+ | * Added app.HasSoftNav() method (detects devices with soft navigation bar). | ||
+ | * Files containing .min.js are not obfuscated. | ||
+ | * Added ' | ||
+ | * Added web.SimulateKeys() method to webview (can send keys to html textarea) | ||
+ | * Changed app.CreateListDialog() now requires call to dlg.Show() (or use ' | ||
+ | * Changed app.CreateYesNoDialog() now requires call to dlg.Show() (or use ' | ||
+ | * Changed app.CreateListView() now requires call to lvw.Show() (or use ' | ||
+ | * Added SetOnCancel method to Downloader component. | ||
+ | * Wifi IDE now lists prototype functions. | ||
+ | * Added template apps to WiFi IDE for premium users. | ||
+ | * Added docs for CustomDialogs, | ||
+ | * Added ' | ||
+ | |||
+ | * Added usb.SetMaxWrite() method and increased r/w buffers to 16k default. | ||
+ | * Made premium samples visible. | ||
+ | * Added support for NexBox/ | ||
+ | * Added support for DS extensions in Wifi editor (add your own tabs). | ||
+ | |||
+ | * Added AdjustColor() method to image controls. | ||
+ | * Changed img.SetImage() with no params on old image maintains dimensions. | ||
+ | * Added ' | ||
+ | * Added app.SetKioskMode() for premium users eg. SetKioskMode(“Status, | ||
+ | * Added ' | ||
+ | * Added 'Dark Theme' option to DS settings. | ||
+ | |||
+ | * Added new asset chooser to on-device code editor. | ||
+ | * Added new downloadable demos page to DS menu. | ||
+ | * Added app.GetThumbnail() method (gets a small image from a photo). | ||
+ | * Added app.ScanFile() method (adds media files to phone gallery). | ||
+ | * Release mode APKs now obfuscated more aggressively. | ||
+ | * Added theme.SetTextEditOptions( “underline” ) option. | ||
+ | * Added lay.SetOnChildChange() method to layouts (useful for auto-save). | ||
+ | * Enabled anonymous functions in callbacks (use sparingly!) | ||
+ | * Custom buttons now gray out when disabled. | ||
+ | * Added ctl.IsEnabled() method to all controls. | ||
+ | * Added usb.SetDataMode() and usb.SetSplitMode() methods. | ||
+ | * Enabled calendar access through content app.QueryContent() method. | ||
+ | * Added calendar query sample for premium users. | ||
+ | * Added web.SetOnError() method, callback returns params:- errNum, errMsg, url. | ||
+ | * Fixed tabs bug introduced in 1.35b. | ||
+ | * Fixed short menu when starting in landscape mode. | ||
+ | * Added ' | ||
+ | * Added ' | ||
+ | * Added serv.Stop() method to web server. | ||
+ | * Added Sys.In() and Sys.Err() method (reads console input and error streams). | ||
+ | * Added cam.SetOrientation() and cam.SetPostRotation() methods. | ||
+ | * Fixed issue causing Playstore dev console warnings. | ||
+ | * Added 'stay awake' option to DS settings. | ||
+ | * Plugins can now contain native .so files. | ||
+ | * Added SetGravity() method to linear layouts (left, | ||
+ | * Added “ReverseLandscape” and “ReversePortrait” options to app.SetOrientation() method. | ||
+ | * Added Linux “Terminal” sample for premium users. | ||
+ | * Added app.PlayRingtone() method (“Alarm”, | ||
+ | * Added multiple pathPatterns support to build.json (eg. “.*\\.jpg, | ||
+ | |||
+ | * Added support for Android' | ||
+ | * Added ' | ||
+ | * Added app.DownloadFile() method (uses Android download manager). | ||
+ | * Added .SetEnabled() method for all controls. | ||
+ | * Added app.ChooseFile(“Choose a file”, “*/*”, OnFileChoose) method. | ||
+ | * Added app.ChooseContact() method. | ||
+ | * Added new “Choose” sample (get user to choose files or contacts). | ||
+ | * Added support for Remix Mini (runs in desktop mode). | ||
+ | * Added ' | ||
+ | * Added img.SetPixelMode method (allows use of pixel coords in drawing funcs). | ||
+ | * Changed manifest to show running apps separately in task manager (can alt-tab on remix). | ||
+ | * Added SetPosition() method and ' | ||
+ | * Added cam.SetVideoSize( width, height ) method. | ||
+ | * Added new “Query Content” sample (advanced sample for premium users only). | ||
+ | * Added result callback parameter to web.Execute() method. | ||
+ | * Added ' | ||
+ | * Added lst.SetColumnWidths(icon, | ||
+ | * Added lst.SetIconSize() and ' | ||
+ | * Add lst.SetIconMargins() method and ' | ||
+ | * Added “px, | ||
+ | * Added ' | ||
+ | * Changed alarms in a service now call back to service unless ' | ||
+ | * Fixed rounding errors in image control (canvas) drawing methods. | ||
+ | * Fixed bug which causes callbacks to get out of sequence. | ||
+ | * Fixed full screen mode showing blank bar over softkeys on older devices. | ||
+ | |||
+ | Have fun! | ||
+ | |||
+ | Regards David |