Friday, March 22, 2013

Anders' Analog Clock app ported to Delphi for iOS

My FireMonkey Clock app has been ported using a beta version of Delphi for iOS.

[caption id="attachment_39423" align="alignnone" width="225" caption=" "]Main tab[/caption]

Above you can see a screen shot of the app as it starts up. By default it uses "normal drive" - the second hand moves once per second and the minute hand moves once per minute.

The app is a Universal app (supports iPhone and iPad). The main clock screen uses a TScaledLayout to ensure proper scaling down to the iPhone (the app was designed for the iPad).

If you hit the Info button it will take you to the setup tab, where you can select "Flame" (or FireMonkey second hand) as well as "Smooth drive" - the second and minute hands move smoothly.

[caption id="attachment_39422" align="alignnone" width="225" caption=" "]Setup tab[/caption]

The setup screen uses a combination of items that scale and items that don't scale. For instance, the toolbar, the back button, and the listbox with its items are not supposed to scale, but still be aligned properly. The clock faces, however, do scale inside of a TScaledLayout.

[caption id="attachment_39425" align="alignnone" width="225" caption=" "]FireMonkey second hand[/caption]

Above you can see what the FireMonkey second hand looks like.

Below is a screen shot of my Structure Pane where you can see how I designed the app:

[caption id="attachment_39424" align="alignnone" width="127" caption=" "]Structure View[/caption]

I also wanted to mention performance. The previous version of the app was created in XE2 where I got about 2-3 frames per second in smooth mode - not very smooth. However, this version created with our upcoming product gets a blazing 60 frames per second on the iPad 3 using iOS 6.1.3 and almost the same fps rate on iPhone 4 (iOS 5.1) and iPad 2 (iOS 6.1) at about 55+ frames per second.


PS: The screen shots above are actually from the *next* update I will be pushing soon... The current one looks almost the same, except for a few changes in layout.

Wednesday, March 20, 2013

Webinar: C++ in the Multi-Device Enterprise

Across social media, industry articles, and corporate polices, we hear more terms like “BYOD” (Bring Your Own Device).  Enterprises these days are seldom just Windows or Mac, onsite or cloud.  Multiple devices are the new reality for software developers, but how can you keep up with it all?

Join us for “C++ in the Multi-Device Enterprise”, a live webinar on Tuesday, March 26th. This webinar showcases how C++ can help satisfy the Enterprise’s need to support multiple devices on desktops, servers, web, mobile and multi-tiers in their infrastructure.

Sign Up Now!

Friday, March 8, 2013