Smart Mobile Studio 3.0.1 is released
This is the first release since 3.0. Biggest new feature is TW3LeafletMap, which lets you use OpenStreetMap. As it does not need API keys (like TW3GoogleMaps), it’s really fast and easy to use:
Create a project
Add a TW3LeafletMap -control on the form
Set AutoCreateMap to true on the map control
Please see the changelog at the end of this post.
Installers
Smart Mobile Studio installer
Free command-line compiler
Portable installation
Smart Mobile Studio can also be downloaded with the SmartUpdate utility. Select the MASTER -channel for the official version.
Changes since 3.0
RTL
EventManager
Add procedure AllowDefaultAction, that can be called from OnClick when the default action should happen. For example: To let the virtual keyboard to pop up from OnTouch.
Bug fixes
Native scrolling was prevented if scrolling was done from an unknown element.
Prevent an extra OnClick from being fired on mobile devices.
TW3ListView: Bug fix to resizing of items.
Bug fixes to GeoLocation. Also update the Geolocation demo.
Deprecate PhoneGapAPI’s JGeolocation functions. SmartCL.GeoLocation.pas should be used instead.
Fix slider so that OnMouseDown, OnMouseUp and OnMOuseMove can be used.
TW3TabControl Tab’s OnShow was sent twice for the first tab
SmartCL.RegEx moved to System.RegEx. Also fixed TW3RegEx.Exec to return a proper empty array instead of nil.
Bug fix to Chart: TSeriesData.Refresh now also updates the X axis
SmartCL.Effects: Properly handle padding and margins while doing effects.
Fix to css-files for selected text in TW3Edit and TW3Memo
TW3Grid
Added TW3ImageColumn
Add Alignment-property to TW3ColumnHeader
Added a new OnCellControlCreated-event, which fires when a button, toggle, progress bar or image is created. Makes it possible to change properties of the control easily.
Added support for OpenStreetMap using the Leaflet library
New control: TW3LeafletMap
New featured demo: LeafletMap
IDE/Compiler
Fixed search path compilation issues
Relative and absolute paths are working now
Compiler is updated when search path is modified in options
$I will look for include file in the project folder first
$R supports absolute paths, wildcards, folder name extension and ($Libraries) macro
Fix exceptions in Search
Upgrade to UPX 3.95