Delphi Boot Camp Day 5 - Stepping up to Mobile and Database Development
Evangelist & Engineer
- Introduction to the mobile platforms
- Prototyping mobile apps on Windows
- Using platform services
- Conditional defines
- The mobile compilers
- Understanding ARC memory management
- Deployment manager
- Making the move to mobile
- Introduction to FireDAC
- Embedded Databases
A: Pro + Mobile Addon Pack + FireDAC Client Server Addon Pack = Enterprise.
Q: What components are most suitable for displaying larger amounts of formatted text and smooth scrolling in a mobile app? Apart from using WebView.
A: TListView is best. TMS Software has a RichEdit component for FMX you might check out.
Q: Is there example code to implement the equivalent of windows file explorer?
A: No, but there are some great free shell controls which implement a lot of Explorer functionality already
Q: Is a Delphi Berlin compatible with Seattle?
A: Yes. You can install both on the same computer, and projects made in Seattle can be opened in Berlin
Q: Is there an example of using identity and authentication information maintained on the Android and iOS devices? e.g. Using the authenticated Google ID in a phone to access the user's Google calendar from my app.
A: you can use a combination of lower level API calls. We do have support now for getting to the Contacts info using a component - TAddressBook - http://community.embarcadero.com/blogs/blog-menu/entry/adding-a-photo-to-a-contact-using-taddressbook-in-berlin
Q: I've heard somewhere that is possible to add multiple DFM's for each PAS, so each DFM will target a different platform. Is that true?
A: Yes! Using the multi-device designer, it's very cool. You create one UI, but tweak / change it per platform as much as you want, and the right version will be loaded when the form is created
Q: how can we add special characters to JSON? like ç ª º ~ ^
A: You can use any Unicode character in a JSON string, and there are some escape sequences for special characters like tabs. So you can just type it in the string :) Delphi strings are Unicode, JSON is Unicode, it should work fine. See http://stackoverflow.com/questions/19176024/how-to-escape-special-characters-in-building-a-json-string
Q: Is ClientDataSet still used or FireDac introduce newer DataSet classes?
A: FireDAC has datasets that are very compatible with the original CDS class
Q: Thank you for this Delphi Bootcamp. It was excellent..... :)
A: You are very welcome
A: EXE folder is not a good idea on Windows - Program Files permissions require no writing, you will find your file IO is silently redirected to a shadow path. For all platforms, use System.IOUtils.TPath.GetDocumentsPath or similar for documents (or another method for private app data.) Lots of x-plat methods there
Q: With all this talk of managing releasing of objects, does this version support TInterfacedObject?
A: Yes! Interfaces work exactly as they always have. ARC, in fact, is very like using interfaces, just for all objects not just interfaced ones.
Q: Are there noteworthy differences between Platform-versions to be aware of when developing apps? (Like apps for either iOS8, iOS9 or iOS10)
A: An FMX app should work on all of them (if they're on our supported platforms list: http://docwiki.embarcadero.com/RADStudio/Berlin/en/Supported_Target_Platforms )
Please login first in order for you to submit comments
- Page :