developing for windows and os x
DESCRIPTION
Developing for Windows and OS X. Primo ž Gabrijelčič. Primož Gabrije l čič programmer, consultant, speaker, trainer Delphi / Smart Mobile Studio Email: primoz @gabrijelcic.org Twitter: @thedelphigeek Skype: gabr42 The Delphi Geek – http://www.thedelphigeek.com - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/1.jpg)
Developing for Windows and OS XPrimož Gabrijelčič
![Page 2: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/2.jpg)
Primož Gabrijelčič
programmer, consultant, speaker, trainer
Delphi / Smart Mobile Studio
Email: [email protected]: @thedelphigeekSkype: gabr42
The Delphi Geek – http://www.thedelphigeek.comSmart Programmer – http://www.smartprogrammer.org
![Page 3: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/3.jpg)
![Page 4: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/4.jpg)
How do I set up environment for developing OS X
applications?
![Page 5: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/5.jpg)
Computer(s)
• Mac with Parallels• PC + Mac + gigabit Ethernet
• Multiple monitors are helpful– Windows + Delphi on one monitor– OS X + application on another
![Page 6: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/6.jpg)
Toolchain
• Delphi on Windows• Platform Assistant on OS X
• Remote Debugger
• docwiki.embarcadero.com/RADStudio/XE3/en/Mac_OS_X_Application_Development
![Page 7: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/7.jpg)
How do I create installation package for my
program?
![Page 8: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/8.jpg)
Installation
• No good cross-platform solution• docwiki.embarcadero.com/RADStudio/XE3/en/Mac_
OS_X_Application_Development describes how to create signed ‘bundle’ for Mac App Store– App Store is not a required step
• XE2: Delphi OS X Bundlerblogs.embarcadero.com/davidi/2012/06/20/41591
![Page 9: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/9.jpg)
What third party components can I use to
enhance my application?
![Page 10: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/10.jpg)
Components
• Arcana Apesuite– arcana.sivv.com/apesuite/– SVG, grid, clipboard, ribbon-like paged toolbar,
tray icon …
• TMS– www.tmssoftware.com/site/tmsfmxpack.asp– Grid, calendar, navigation bar, tile list, clock,
compass, badge …
![Page 11: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/11.jpg)
How do I work with files and folders?
![Page 12: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/12.jpg)
File System
![Page 13: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/13.jpg)
How do I handle Audio and Video playout and
recording?
![Page 14: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/14.jpg)
Media Support
• Fmx.Media– Fmx.Media.Mac– Fmx.Media.Win
• TMediaPlayer• TAudioCaptureDevice• TVideoCaptureDevice
![Page 15: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/15.jpg)
How do I create and print reports?
![Page 16: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/16.jpg)
Reporting
• FastReport• www.fast-report.com/en/products/fast-report-
firemonkey.html
• XE2/XE3
![Page 17: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/17.jpg)
How do I print from a FireMonkey application?
![Page 18: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/18.jpg)
Printing
• docwiki.embarcadero.com/RADStudio/en/Printing_from_a_FireMonkey_Application
• Fmx.Printer (.Win, .Mac)• Fmx.Dialogs– TPrintDialog– TPrinterSetupDialog– TPageSetupDialog
![Page 19: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/19.jpg)
How do I work with XML documents on OS X?
![Page 20: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/20.jpg)
XML
![Page 21: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/21.jpg)
How do I work with databases on OS X?
![Page 22: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/22.jpg)
Databases
• dbExpress– [P] InterBase, MySQL, SQLite (local)– [E, U, A] InterBase, Firebird, Oracle, MySQL, SQL
Anywhere, Informix, SQLite– DataSnap– ClientDataSet
• Visual LiveBindings
![Page 23: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/23.jpg)
Where can I learn more?
![Page 24: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/24.jpg)
Literature
• TIndex [www.tindex.net]• 31 XE3 quick videos in 31 days– blogs.embarcadero.com/davidi/2012/10/01/41686
• DelphiFeeds• StackOverflow– [delphi] [firemonkey]
![Page 25: Developing for Windows and OS X](https://reader035.vdocuments.us/reader035/viewer/2022062408/568141ff550346895daddf90/html5/thumbnails/25.jpg)
Questions?