User Tools

Site Tools


version_history:v1.42

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
version_history:v1.42 [2016/12/19 09:05]
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 15: Line 16:
 ==== Downloadable Demos ==== ==== Downloadable Demos ====
  
-Checkout the new 'Demos' menu in the app.  This allows those without the WiFi editor to get at the downloadable demo SPKs which is a growing list of showcase apps that really demonstrate the power and capabilities of DroidScript. If you want to see your name up there and show off to your friends or future employers, then write a really cool demo and submit it to us for inclusion.  Check out the recent submission from AlexF called 'Tankerous' (there's more to come from this talented young coder too:)+content://media/external/file/32584big lilboy 
 + the new 'Demos' menu in the app.  This allows those without the WiFi editor to get at the downloadable demo SPKs which is a growing list of showcase apps that really demonstrate the power and capabilities of DroidScript. If you want to see your name up there and show off to your friends or future employers, then write a really cool demo and submit it to us for inclusion.  Check out the recent submission from AlexF called 'Tankerous' (there's more to come from this talented young coder too:)
  
 ==== Download Manager and File Chooser ==== ==== Download Manager and File Chooser ====
Line 47: Line 49:
  
  
-ALERT: This version contains a breaking change: You must now call dlg.Show() to show ListDialogs, YesNoDialogs and ListViews. +**ALERT: This version contains a breaking change: You must now call dlg.Show() to show ListDialogs, YesNoDialogs and ListViews. **
 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). +  *  Fixed bug with TextToSpeech failing to swap languages (eg. en_GB, en_IN). 
-Added touch callbacks to Absolute and Frame layouts. +  *  Added touch callbacks to Absolute and Frame layouts. 
-Fixed freeze when trying to use SetPosition in Linear/Frame (now logs warning). +  *  Fixed freeze when trying to use SetPosition in Linear/Frame (now logs warning). 
-Added 'Web Server' template for premium users.+  *  Added 'Web Server' template for premium users.
  
-Fixed bug with List control showing images from /sdcard/Pictures folder. +  *  Fixed bug with List control showing images from /sdcard/Pictures folder. 
-Added 'Real' option to ap.GetScreenWidth() and app.GetScreenHeight(). +  *  Added 'Real' option to app.GetScreenWidth() and app.GetScreenHeight(). 
-Added app.HasSoftNav() method (detects devices with soft navigation bar). +  *  Added app.HasSoftNav() method (detects devices with soft navigation bar). 
-Files containing .min.js are not obfuscated. +  *  Files containing .min.js are not obfuscated. 
-Added 'UseBasicInput' option to webview (useful for html code editors). +  *  Added 'UseBasicInput' option to webview (useful for html code editors). 
-Added web.SimulateKeys() method to webview (can send keys to html textarea) +  *  Added web.SimulateKeys() method to webview (can send keys to html textarea) 
-Changed app.CreateListDialog() now requires call to dlg.Show() (or use 'ShowNow' option) +  *  Changed app.CreateListDialog() now requires call to dlg.Show() (or use 'ShowNow' option) 
-Changed app.CreateYesNoDialog() now requires call to dlg.Show() (or use 'ShowNow' option) +  *  Changed app.CreateYesNoDialog() now requires call to dlg.Show() (or use 'ShowNow' option) 
-Changed app.CreateListView() now requires call to lvw.Show() (or use 'ShowNow' option) +  *  Changed app.CreateListView() now requires call to lvw.Show() (or use 'ShowNow' option) 
-Added SetOnCancel method to Downloader component. +  *  Added SetOnCancel method to Downloader component. 
-Wifi IDE now lists prototype functions. +  *  Wifi IDE now lists prototype functions. 
-Added template apps to WiFi IDE for premium users. +  *  Added template apps to WiFi IDE for premium users. 
-Added docs for CustomDialogs, WebServer and Services. +  *  Added docs for CustomDialogs, WebServer and Services. 
-Added 'Expand' option to list control (forces expansion to full height inside scrollers)+  *  Added 'Expand' option to list control (forces expansion to full height inside scrollers)
  
-Added usb.SetMaxWrite() method and increased r/w buffers to 16k default. +  *  Added usb.SetMaxWrite() method and increased r/w buffers to 16k default. 
-Made premium samples visible. +  *  Made premium samples visible. 
-Added support for NexBox/LeelBox mini Android TV boxes. +  *  Added support for NexBox/LeelBox mini Android TV boxes. 
-Added support for DS extensions in Wifi editor (add your own tabs).+  *  Added support for DS extensions in Wifi editor (add your own tabs).
  
-Added AdjustColor() method to image controls. +  *  Added AdjustColor() method to image controls. 
-Changed img.SetImage() with no params on old image maintains dimensions. +  *  Changed img.SetImage() with no params on old image maintains dimensions. 
-Added 'rescale' option on SetImage,LoadImage (forces resize of layout). +  *  Added 'rescale' option on SetImage,LoadImage (forces resize of layout). 
-Added app.SetKioskMode() for premium users eg. SetKioskMode("Status,Nav",true,"Black"+  *  Added app.SetKioskMode() for premium users eg. SetKioskMode(Status,Nav,true,Black
-Added 'obfuscate' option to APK builder. +  *  Added 'obfuscate' option to APK builder. 
-Added 'Dark Theme' option to DS settings.+  *  Added 'Dark Theme' option to DS settings.
  
-Added new asset chooser to on-device code editor. +  *  Added new asset chooser to on-device code editor. 
-Added new downloadable demos page to DS menu. +  *  Added new downloadable demos page to DS menu. 
-Added app.GetThumbnail() method (gets a small image from a photo). +  *  Added app.GetThumbnail() method (gets a small image from a photo). 
-Added app.ScanFile() method (adds media files to phone gallery). +  *  Added app.ScanFile() method (adds media files to phone gallery). 
-Release mode APKs now obfuscated more aggressively. +  *  Release mode APKs now obfuscated more aggressively. 
-Added theme.SetTextEditOptions( "underline) option. +  *  Added theme.SetTextEditOptions( underline” ) option. 
-Added lay.SetOnChildChange() method to layouts (useful for auto-save). +  *  Added lay.SetOnChildChange() method to layouts (useful for auto-save). 
-Enabled anonymous functions in callbacks (use sparingly!) +  *  Enabled anonymous functions in callbacks (use sparingly!) 
-Custom buttons now gray out when disabled. +  *  Custom buttons now gray out when disabled. 
-Added ctl.IsEnabled() method to all controls. +  *  Added ctl.IsEnabled() method to all controls. 
-Added usb.SetDataMode() and usb.SetSplitMode() methods. +  *  Added usb.SetDataMode() and usb.SetSplitMode() methods. 
-Enabled calendar access through content app.QueryContent() method. +  *  Enabled calendar access through content app.QueryContent() method. 
-Added calendar query sample for premium users. +  *  Added calendar query sample for premium users. 
-Added web.SetOnError() method, callback returns params:- errNum, errMsg, url. +  *  Added web.SetOnError() method, callback returns params:- errNum, errMsg, url. 
-Fixed tabs bug introduced in 1.35b. +  *  Fixed tabs bug introduced in 1.35b. 
-Fixed short menu when starting in landscape mode. +  *  Fixed short menu when starting in landscape mode. 
-Added 'engine' parameter to app.TextToSpeech method (allows swapping voices). +  *  Added 'engine' parameter to app.TextToSpeech method (allows swapping voices). 
-Added 'time' parameter to Locator (GPS) callback. +  *  Added 'time' parameter to Locator (GPS) callback. 
-Added serv.Stop() method to web server. +  *  Added serv.Stop() method to web server. 
-Added Sys.In() and Sys.Err() method (reads console input and error streams). +  *  Added Sys.In() and Sys.Err() method (reads console input and error streams). 
-Added cam.SetOrientation() and cam.SetPostRotation() methods. +  *  Added cam.SetOrientation() and cam.SetPostRotation() methods. 
-Fixed issue causing Playstore dev console warnings. +  *  Fixed issue causing Playstore dev console warnings. 
-Added 'stay awake' option to DS settings. +  *  Added 'stay awake' option to DS settings. 
-Plugins can now contain native .so files. +  *  Plugins can now contain native .so files. 
-Added SetGravity() method to linear layouts (left,top,right,bottom,center,vcenter). +  *  Added SetGravity() method to linear layouts (left,top,right,bottom,center,vcenter). 
-Added "ReverseLandscapeand "ReversePortraitoptions to app.SetOrientation() method. +  *  Added ReverseLandscape” and ReversePortrait” options to app.SetOrientation() method. 
-Added Linux "Terminalsample for premium users. +  *  Added Linux Terminal” sample for premium users. 
-Added app.PlayRingtone() method ("Alarm""Notification""Ringtone). +  *  Added app.PlayRingtone() method (AlarmNotificationRingtone” ). 
-Added multiple pathPatterns support to build.json (eg. ".*\\.jpg,.*\\.txt")+  *  Added multiple pathPatterns support to build.json (eg. .*\\.jpg,.*\\.txt)
  
-Added support for Android's sliding drawers. +  *  Added support for Android's sliding drawers. 
-Added 'Drawer Menu' sample. +  *  Added 'Drawer Menu' sample. 
-Added app.DownloadFile() method (uses Android download manager). +  *  Added app.DownloadFile() method (uses Android download manager). 
-Added .SetEnabled() method for all controls. +  *  Added .SetEnabled() method for all controls. 
-Added app.ChooseFile("Choose a file""*/*", OnFileChoose) method. +  *  Added app.ChooseFile(Choose a file*/*, OnFileChoose) method. 
-Added app.ChooseContact() method. +  *  Added app.ChooseContact() method. 
-Added new "Choosesample (get user to choose files or contacts). +  *  Added new Choose” sample (get user to choose files or contacts). 
-Added support for Remix Mini (runs in desktop mode). +  *  Added support for Remix Mini (runs in desktop mode). 
-Added 'Launcher' sample (advanced sample for premium users only). +  *  Added 'Launcher' sample (advanced sample for premium users only). 
-Added img.SetPixelMode method (allows use of pixel coords in drawing funcs). +  *  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). +  *  Changed manifest to show running apps separately in task manager (can alt-tab on remix). 
-Added SetPosition() method and 'TouchModal', 'NoTouch', 'NoFocus' options to custom dialogs. +  *  Added SetPosition() method and 'TouchModal', 'NoTouch', 'NoFocus' options to custom dialogs. 
-Added cam.SetVideoSize( width, height ) method. +  *  Added cam.SetVideoSize( width, height ) method. 
-Added new "Query Contentsample (advanced sample for premium users only). +  *  Added new Query Content” sample (advanced sample for premium users only). 
-Added result callback parameter to web.Execute() method. +  *  Added result callback parameter to web.Execute() method. 
-Added 'Horiz' option to list control (makes title and body text flow horizontally) +  *  Added 'Horiz' option to list control (makes title and body text flow horizontally) 
-Added lst.SetColumnWidths(icon,title,body) method to list control. +  *  Added lst.SetColumnWidths(icon,title,body) method to list control. 
-Added lst.SetIconSize() and 'inner' and 'outer' option to lst.SetTextMargins(). +  *  Added lst.SetIconSize() and 'inner' and 'outer' option to lst.SetTextMargins(). 
-Add lst.SetIconMargins() method and 'Menu' mode to list control. +  *  Add lst.SetIconMargins() method and 'Menu' mode to list control. 
-Added "px,sp,dip,dp,mm,ptoptions to obj.SetSize() method. +  *  Added px,sp,dip,dp,mm,pt” options to obj.SetSize() method. 
-Added 'mode' param to obj.SetMargins() and obj.SetPadding() (use: 'px','sp','dip','mm','pt'). +  *  Added 'mode' param to obj.SetMargins() and obj.SetPadding() (use: 'px','sp','dip','mm','pt'). 
-Changed alarms in a service now call back to service unless 'App' used in SetAlarm() options. +  *  Changed alarms in a service now call back to service unless 'App' used in SetAlarm() options. 
-Fixed rounding errors in image control (canvas) drawing methods. +  *  Fixed rounding errors in image control (canvas) drawing methods. 
-Fixed bug which causes callbacks to get out of sequence. +  *  Fixed bug which causes callbacks to get out of sequence. 
-Fixed full screen mode showing blank bar over softkeys on older devices.+  *  Fixed full screen mode showing blank bar over softkeys on older devices.
  
 Have fun! Have fun!
  
-Regards +Regards David
-David+
version_history/v1.42.txt · Last modified: 2018/07/22 22:01 (external edit)