July 12, 2014

Smart Mobile Studio 2.1 (beta 1) is out!

If you need to write software for phones/browsers/node.js/microcontrollers, you should check out the new Smart Mobile Studio 2.1 (beta 1). The list of new and fixed features is much too long to list here so I’ll just focus on the most important additions.

  • Integrated debugger!

    image
  • Dockable IDE with support for multiple layouts.

    image
  • Configurable keyboard shortcuts.

    image
  • Split view mode shows code and design side-by-side.

    image
  • Support for with statement in a clean, non-Delphi way.
    with p := something do begin
      // do anything with p
    end;
  • Optimizations and bug fixes in the compiler.
  • Built-in browser uses Chromium CEF3.

April 29, 2014

Simulating button groups

This question popped up recently on the forum:

“Smart has a toolbar control and a toolbar button control, but no radio button control and no “down” property.  Is there any way to simulate this effect in the current version of Smart Mobile Studio?”

HTML buttons don’t have the down property but it can be simulated by changing the button’s CSS. The easiest way to do this is to create a new CSS class which is equal to the one used by the button but with the additional border:2px inset; declaration. Of course, you’ll also have to write a bit of code which will change the CSS during the execution.



March 19, 2014

Smart Mobile Studio 2.0 hotfix 1

Smart Mobile Studio 2.0 hotfix 1 (a.k.a. 2.0.1.741) has just been released!

This release mostly contains fixes. In addition, we have also improved the TW3Grid component.

Download it here!

January 03, 2014

Upgrading v1 Applications

When you open a version 1 application in Smart 2, you’ll notice two special nodes in the project explorer – Custom Template and Custom CSS (marked in the picture below). If you, however, create a new visual application, these two nodes won’t be present. Why?

image

A reason is quite simple. Unless specially instructed, a Smart v2 application refers to external HTML and CSS templates (stored in "%ProgramData%\Optimale Systemer AS\Smart Mobile Studio\Templates" and "%ProgramData%\Optimale Systemer AS\Smart Mobile Studio\RTL\themes", respectively). A Smart v1 application, however, stored those templates inside the project file.

Unless you have made any customizations to the HTML or CSS templates, you can easily upgrade to the newer versions. Just right-click on the Custom Template node and select Remove. Repeat for the Custom CSS node and you’re done! There won’t be any special templates stored in the project file and Smart will use the defaults.

image

To use a customized template, right-click in the project explorer and select Add Template. You can add an HTML and/or a CSS template.

image

December 23, 2013

Smart Mobile Studio 2.0 beta 2

Today we have released new beta version of Smart Mobile Studio 2.0. Most of the annoying bugs are now fixed and we also added few new features and a new grid component!

Fixes

  • No AV for event “building” (on component/event double click) anymore
  • Copy, Cut & Paste were not working (properly) in Visual Designer
  • RTL indexing
  • Better [CTRL]+[DOWN] (go to implementation), sometimes navigated to a slightly wrong position
  • Removed some memory leaks
  • Fixed Unicode issue in visual designer
  • Some preferences were not saved properly
  • Command line compiler now works with missing templates

Changes

  • Command line compiler is purely command line now (smaller size)
  • Faster loading of visual designer (delayed loading of ‘Live Preview’)
  • Improved ‘File’ menu structure
  • Menu item ‘Preferences’ moved to ‘Tools’
  • Improved ‘Options’ dialog (compiler tab)

New Features

  • Added package for Grid
  • Added ‘Save As…’
  • [ALT] + [DOWN] will cycle through components in visual designer
  • Added some WordStar editor commands, but yet partly occluded by IDE shortcuts

October 20, 2013

New ways to run a project

In case you’re not following blogs on the Smart Mobile Studio site, I’d like to point out that I’ve written a blog about improvements in the upcoming 2.0 version, specifically about the enhanced support for executing your applications.

Read it here!