Delphi

Delphi XE5 - deploying and accessing local files on iOS and Android

Larry in Canada recently sent me an email asking a Delphi XE5 mobile multi-device question: “How do you include files and/or folders containing files with a Delphi Android application APK file?” I told him I would create a simple example and explain how to deploy a file with your application and then access it from a Delphi app for iOS and Android. To accomplish this, you create a new…
Read more
Delphi

Changing FireMonkey style at runtime

Author: Pawe Gowacki Last month Sarina DuPont blogged about loading custom FireMonkey styles on a mobile device at runtime (“How to load custom styles at runtime“). That’s a very interesting approach to compile a custom style as a resource into the mobile…
Delphi

Creating an Overflow Menu on Android

During my CodeRage 8 session I talked about creating an Action Bar with an Overflow menu, so I wanted to provide some step-by-step instructions. On Android, an Action Bar is atop(or top and bottomaligned) toolbar that is segmented into 4keyfunctional areas. One of those functional areas is an Overflow menu. The ‘Overflow’ popup menu is commonly used for additional…
Read more
Delphi

How to load custom styles at runtime

During my session at CodeRage, I briefly talked about how to load custom styles at runtime. I wanted to elaborate on this topic and provide some detailed steps. In this example, we are creating a mobile app for iOS and Android that uses the ‘Jet’ Premium…
Delphi

Mobile app lifecycle events handling in Delphi XE5

Author: Pawe Gowacki The lifecycle of a mobile app is more complex and different from a desktop app. On a mobile device an application runs either in the foreground or in the background. When a phone calls arrive or when user opens another app, our app is going to background. If you are a programmer, you might be interested in responding to changes in the application state, for example saving…
Read more
Delphi

Simple Database and Data access in Delphi XE5 for iOS and Android

Author: Blaise Þ With the release of Delphi XE5 for iOS and Android developers now have several options for connecting to databases and data both on the devices themselves as well as via our DataSnap multi-tier technology; REST application services, REST, SOAP, and XML (TXMLDocument).  You can directly use SQLite, InterBase IBLite/IBToGo in your iOS and Android applications via the FireDAC…
Read more