The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘FireMonkey’ Category

Delphi XE2 Hands-On Workshop met better office – beperkt aantal plaatsen beschikbaar

Posted by jpluimers on 2011/10/25

Op dinsdag 6 en woensdag 7 december 2011, organiseren Barnsten en better office benelux een 2 daagse Delphi XE2 Workshop in Hoofddorp.

Het aantal plaatsen is beperkt, aanmelden kan via de Barnsten.com site.

Het doel van deze workshop is ervaren Delphi ontwikkelaars snel productief te laten werken met Delphi XE2. De workshop is modulair opgezet: inschrijving is per dag mogelijk.

De workshop sluit aan op de workshop die vorige week door Barnsten en The Delphi Company is georganiseerd: er zit nauwelijks overlap in de onderwerpen.

Samenvatting

Dag 1 heeft de focus op nieuwe features voor Windows gebruikers.

Dag 2 gaat compleet over cross platform FireMonkey (Windows, Mac en iOS: iPad/iPhone/iPod-touch). Neem hier je eigen

Voorbereiding

Nodig voor dag 1 en dag 2:

Nodig voor dag 2:

Programma

In samenwerking met better-office organiseert Barnsten een Hands-On workshop voor de gevorderde Delphi
ontwikkelaar. Het doel van deze workshop is u, als ervaren Delphi ontwikkelaar, snel productief te laten werken met
Delphi XE2. De workshop is modulair opgezet zodat u zich per dag kunt inschrijven.
De Hands-On Workshop vindt plaats op 7 en 8 december 2011 en wordt gehouden in Hoofddorp. Kijk voor de
beschrijving onder het kopje Product info en voor de dagindeling onder het kopje Specificaties.

Inhoud Dag 1: Introductie Delphi/RAD Studio XE2

  • Wat is nieuw in XE2
  • Migreren van oude projecten
  • Introductie x64: wat is nieuw, hoe zet je projecten over naar x64. Meer over de platformen en performance
  • VCL Styles: hoe werkt het, wat kun je er mee
  • Live Binding: wat zijn de voordelen / nadelen
  • Unit Scoping: voordelen / nadelen, backward compatibility
  • TZipFile ondersteuning
  • Conditional defines
  • FireMonkey: HD en 3D software ontwikkeling met FireMonkey
  • RAD Studio XE2 Roadmap
  • Installatie XE2 op Windows en Mac OS X

Dag 2: FireMonkey

  • Basis FireMonkey en de verschillen op de platformen Windows, OS X en iOS
  • FireMonkey op iOS: het gebruik van Xcode
  • Maken van een eenvoudige FireMonkey HD applicatie: basisprincipes, animations, effects
  • Maken van een eenvoudige FireMonkey 3D applicatie: basisprincipes, animations, effects en belichting
  • Beide applicaties van Windows naar Mac OS X omzetten
  • Debuggen op Mac OS X en iOS emulator
  • Gebruik van HD en 3D in 1 applicatie
  • Een iOS versie maken van beide applicaties
  • Fundamentele verschillen tussen mobile en desktop: hoe ga je daar in je UI mee om
  • XML, data en data binding in de FireMonkey applicaties: hoe maak je dit cross-platform
  • Hoe breng ik VCL applicaties naar FireMonkey
  • Windows: mixen van VCL en FireMonkey
  • Overzicht van interessante blogs, sites en artikelen

Installatie instructies

Installatie instructies op de Windows PC

  1. Installeer RAD Studio XE2 en de on-line help (gebruik overal de default instellingen)
  2. Installeer InterBase XE Developer edition

Installatie instructies op de Mac

Voor FireMonkey Mac OS X ontwikkeling

  1. Kopieer het bestand setup_paserver.zip naar je Mac. Deze staat meestal in (X: je Windows drive):
    64-bits systeem: X:\Program Files (x86)\Embarcadero\RAD Studio\9.0\PAServer
    32-bits systeem: X:\Program Files\Embarcadero\RAD Studio\9.0\PAServer
  2. Pak de file setup_paserver.zip uit op de Mac (je krijgt dan een bestand setup_paserver)
  3. Run de setup_paserver op de Mac.
  4. InterBase Developer edition:
    volg de algemene installatie instructies op de Embarcadero site,
    gevolgd door de specifieke Mac OS X instructies op de Embarcadero site.

Voor Apple iOS (iPad, iPhone, iPod touch) ontwikkeling

  1. Download en installeer Xcode 4 van de Apple site (je moet je eerst registreren) http://developer.apple.com/xcode/
  2. Kopieer de file FireMonkey-iOS.dmg naar je Mac; deze staat meestal (X: is je Windows drive) op:
    64-bits systeem: X:\Program Files (x86)\Embarcadero\RAD Studio\9.0\FireMonkey-iOS
    32-bits systeem: X:\Program Files\Embarcadero\RAD Studio\9.0\FireMonkey-iOS
  3. De file FireMonkey-iOS.dmg is een disk image.
    Mount het DMG image op je Mac. Deze wordt dan geopend in /Volumes/FireMonkey-iOS/ en er komen 2 vensters met de installers.
  4. Installeer beide in deze volgorde:
    a. fpc-2.4.4.intel-macosx.pkg (het vertelt dat het in 2 minuten installeert; dat duurt meestal korter)
    b. FireMonkey-iOS-XE2.pkg (het vertelt dat het installeert in “less than a minute”, maar meestal duurt dit veel langer, houd rekening met een kwartier of langer)
  5. Eject in de Mac Finder de DMG die je gemount hebt

Zie ook deze twee online installatie instructies:

–jeroen

via: Delphi XE2 Hands-On Workshop met better office – Barnsten.com.

Posted in Delphi, Development, Event, FireMonkey, PowerDay, Seminar, Software Development | Leave a Comment »

Delphi XE2 installation instructions on Windows and Mac (#ekon15 conference)

Posted by jpluimers on 2011/10/24

If you are attending the EKON 15 conference and want to prepare your laptops for some hands on experience, please follow the guidelines below.

I’m looking forward meeting a lot of interesting people, and having a great conference!

And if you are not attending, the below guidelines will help you get started doing cross platform FireMonkey development in Delphi :)

Installation instructions

Installation instructions on the Windows PC

  1. Install RAD Studio XE2 and the on-line help (use the default settings in all steps)
  2. Install InterBase XE Developer edition

Installation instructions on the Mac

For FireMonkey Mac OS X development

  1. Copy the file setup_paserver.zipto your Mac. Usually you can find it in here (X: is your Windows drive):64-bits system: X:\Program Files (x86)\Embarcadero\RAD Studio\9.0\PAServer32-bits system: X:\Program Files\Embarcadero\RAD Studio\9.0\PAServer
  2. Unpack the file setup_paserver.zip on your Mac (you will get the file setup_paserver)
  3. Run the setup_paserver on the Mac.
  4. InterBase Developer edition:follow the general Installation instructions on the Embarcadero site,followed by the speficif Mac OS X instructies on the Embarcadero site.

For Apple iOS (iPad, iPhone, iPod touch) development

  1. Download and Install Xcode 4 from the Apple site (you need to register for an account first) http://developer.apple.com/xcode/
  2. Copy the file FireMonkey-iOS.dmgto your Mac; Usually you can find it in here (X: is your Windows drive):64-bits system: X:\Program Files (x86)\Embarcadero\RAD Studio\9.0\FireMonkey-iOS32-bits system: X:\Program Files\Embarcadero\RAD Studio\9.0\FireMonkey-iOS
  3. The file FireMonkey-iOS.dmgis a Mac disk image.Mount the DMG image on your Mac. It will be openend in /Volumes/FireMonkey-iOS/ and you will see 2 installers.
  4. Install both in this order:a. fpc-2.4.4.intel-macosx.pkg (it tells you that it will take 2 minutes, usually it will take less time)b. FireMonkey-iOS-XE2.pkg (it tells you it installs in “less than a minute”, usually it takes much longer, and can take more than 15 minutes)
  5. In the Mac Finder, Eject the mounted DMG

See also these two online instructions:

–jeroen

Posted in Delphi, Development, FireMonkey, Software Development | 2 Comments »

Delphi XE2 Update 1 is out; be sure to get it.

Posted by jpluimers on 2011/09/28

I’m at the BASTA.NET conference, so I need to keep this short:

Be sure to get Delphi XE2 Update 1 and read the release notes. You will need it in order to apply future updates, which will come soon and often: a big change when compared to previous product releases.

You will need do a full uninstall/install cycle, which will take a while.

On the Mac, you will also need to uninstall/install the Delphi XE 2 FireMonkey iOS support package as well.

It is worth it: tons of bug fixes, and an importent fix to comply with licensing (the first XE2 version had a license issue with the GLScene: if you have 3D apps, then Installing Update 1 and rebuilding your source will ensure that your applications have a valid redistributable license).

Bug fixes (over 120!) are in these areas:

  • FireMonkey design-time and run-time fixes
  • New VCL Styles
  • VCL Styles design-time and run-time fixes
  • IDE fixes to improve stability
  • C++ and Delphi compiler fixes

–jeroen

Posted in Delphi, Development, FireMonkey, Software Development | 4 Comments »

Dropbox – Simplify your life – easy way to sync your iOS Delphi XE2 FireMonkey stuff between your Mac and PC

Posted by jpluimers on 2011/09/20

One of the things hard when doing FireMonkey iOS development Delphi XE2 is that you have a multi stage process:

  1. Develop and test using Delphi XE2 on Windows
  2. Compile and deploy on the iOS Simulator using xCode on OS X
  3. Deploy on the real iOS hardware using xCode OS X

Basically you need to share your project files both ways between Windows and OS X.

Naturally, you would share files between your Mac and Windows using Samba. With the introduction of OS X Lion, the Samba support was rewritten, causing all sorts of problems.

One of the problems is that it uses a lot of CPU (I tried copying over a 40GB VM, and stopped because the fan in my MacBook Air was making so much noise, I was afraid it was going to take off).
I didn’t even realize it had one, but a MacBook Air has a Fan, and it vents through the keyboard :)

Now I use DropBox to share files between it. If you like that to, sign up with the URL at the end of this line. The 2GB account is free! http://db.tt/6f95UJW

And if you know a better way of sharing: please let me know!

–jeroen

Via: Dropbox – Referrals – Simplify your life.

Posted in Apple, Delphi, Development, FireMonkey, Mac OS X 10.7 Lion, Power User, Software Development | 15 Comments »

Stephen Forte`s Blog – Silverlight is Dead, Long Live XAML

Posted by jpluimers on 2011/09/10

Interesting, when you compare this with FireMonkey: native versus managed, and both good UIs.

Interesting times ahead.

In retrospect: storing the form in a DFM wasn’t such a bad idea after all :)

–jeroen

Via: Stephen Forte`s Blog – Silverlight is Dead, Long Live XAML.

Posted in .NET, Delphi, Development, FireMonkey, Software Development, XAML | 6 Comments »

#FireMonkey will be #updated early, #often and regularly. Before the end of this month, and initially multiple updates per quarter, later once per quarter (Michael Swindell on the #Embarcadero Discussion Forums)

Posted by jpluimers on 2011/09/10

Quoting Michael Swindell:

Re: Will Firemonkey be updated outside of regular product updates?

Posted: Sep 8, 2011 5:11 PM   in response to: David Schwartz

David Schwartz wrote:

The product matrix shows that Firemonkey currently supports iOS 4.2.

Apple will be introducing iOS 5 shortly.

Will Firemonkey be updated to support newer iOS features periodically (eg., iOS 5 and possibly other things)? Or just once-a-year when Delphi is updated?

Yes, since Firemonkey is 1.0 we’re going to be updating early, often, and regularly. The first update is well underway, will address a lot of great feedback, and should be out before the end of the month. We are planning updates on a regular cadence, initially several quarterly.

(I’d love to see quarterly updates.)

We’ll start out updating more often than quarterly, and settle into quarterly updates eventually. Embarcadero is behind FM in a big way, there is a lot of ongoing investment going on into this release, updates, performance enhancements, and future platform/feature support.

–jeroen

via Embarcadero Discussion Forums: Will Firemonkey be updated outside of ….

Posted in Delphi, Development, FireMonkey, Software Development | 12 Comments »

Delphi XE2 FireMonkey: the reason you should not have used assembly

Posted by jpluimers on 2011/09/09

Right now, I’m porting a bunch of stuff over to FireMonkey in Delphi XE 2 so it can run cross platform.
(Be sure to attend the RAD Studio XE2 World Tour when possible, this stuff is way cool!)

Having avoided Windows x86 assembly in my own sources for years, I’m astonished by the number of 3rd party libraries that do.

Right now, third party libraries that you want to use with FireMonkey need these requirements:

  1. In order to run on x64 or OS X:
    Don’t rely on x86 assembly instructions, or provide alternatives for other platforms than Windows x86
  2. In order to run on the an iPhone, iPad or iPod touch iOS device (which all run on Arm), or iOS simulator from the iOS SDK (which is not an emulator, it runs x86):
    Be compatible with Free Pascal 2.5.1.

And the fact that you should have separated your business logic from your UI logic years ago :)

Of course that was what the Future proofing your Delphi apps seminar from Simon Stuart was about.

What baffles me is that so little 3rd party code adheres to that.

–jeroen

PS:

Today and tomorrow I’m be at the German Delphi-Tage.de conference; I’ve already met a lot of people in the Delphi XE2 tutorial and look forward to meet more tomorrow.
Contrary to what the schedule says, my session on a pragmatic Delphi code generator will be in German, I’m sure most attendees will like that.

Sunday I’ll fly to SFO to speak at the DelphiLive.com conference in San Jose, CA.
There, my preconference tutorial on Delphi Certification and sessions on XML and XSLT will be in English, as I’m sure more people there understand that better than German :)

Posted in About, Certifications, Conferences, Delphi, Delphi-Tage.de, DelphiLive, Development, Event, FireMonkey, Personal, Software Development | 6 Comments »

EmbarcaderoTechNet’s Channel – YouTube

Posted by jpluimers on 2011/09/06

EmbarcaderoTechNet published a couple of interesting videos on YouTube covering Delphi XE2 including FireMonkey HD/3D, FireMonkey xPlatformVCL Styles and more.

All of them short (couple of minutes each) studio work with good video and audio quality (they default to 360p, but most are available in 720p HD, some just in 480p).

–jeroen

Via: EmbarcaderoTechNet’s Channel – YouTube.

Posted in Delphi, Development, FireMonkey, Software Development | Leave a Comment »