This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
version_history:v1.42 [2016/12/19 08:49] stevegarman |
version_history:v1.42 [2018/07/22 13:38] 172.56.41.152 [Downloadable Demos] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DroidScript v1.42 ====== | ||
Announcement by Dave Smart 2nd December 2016 | Announcement by Dave Smart 2nd December 2016 | ||
Line 5: | Line 6: | ||
It's been a while but we have finally got a new version for you. Yay! This one has Tons of great new functionality, | 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 | + | ==== 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 ' | 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 | + | ==== Asset chooser |
Although we recommend using the WiFi editor for ' | Although we recommend using the WiFi editor for ' | ||
- | Downloadable Demos | + | ==== Downloadable Demos ==== |
- | Checkout | + | content:// |
+ | the new ' | ||
- | Download Manager and File Chooser | + | ==== Download Manager and File Chooser |
You can now make use of Android' | You can now make use of Android' | ||
- | App Templates | + | ==== 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:- | 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:- | ||
Line 35: | Line 37: | ||
We will be creating more templates for the next version of DroidScript, | We will be creating more templates for the next version of DroidScript, | ||
- | Other | + | ==== Other ==== |
There' | There' | ||
Line 47: | Line 49: | ||
- | ALERT: This version contains a breaking change: You must now call dlg.Show() to show ListDialogs, | + | **ALERT: This version contains a breaking change: You must now call dlg.Show() to show ListDialogs, |
Here are the changes since 1.34:- | 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,Nav",true,"Black") | + | |
- | - 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( | + | |
- | - 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" | + | |
- | - Added Linux "Terminal" | + | |
- | - Added app.PlayRingtone() method ("Alarm", "Notification", "Ringtone" | + | |
- | - 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" | + | |
- | - 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" | + | |
- | - 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! | Have fun! | ||
- | Regards | + | Regards David |
- | David | + |