August 14, 2013

Android application with Delphi

The next version of Delphi will include a new compiler for the Android ARM Platform. This compiler is based on LLVM architecture like Delphi for IOS compiler. It will produce native code (That is ARM assembly language) which is executed on your device (Phone, tablet of whatever).

You''ll said: Native? I tough that Android was Java. Actually no. Android is based on Linux and has of course a physical processor. Most implementations use ARM architecture, but not all.

Look at the 4 Delphi for Android default icons

Every Android application is a Java application. Well, almost. The truth is that the entry point for an Android process must be in a Java application. This application may be minimal, just a simple class with the only role of loading the native code. Android for Delphi will create a shared object Library containing everything you coded in Delphi. This shared object will be loaded by a minimal application - included with Delphi - that will load the shared object. So what the user see is an normal Android application.

Everything is done transparently for you. You write your Delphi application the usual way, you hit F9, after compilation, Delphi automatically creates an APK (an Android Package Application) with all required files (manifest, resources, and the binary), Delphi deploy the application to your device using Platform Tools, and start it.

To deploy your application using Delphi, you must connect your device thru USB and enable USB debugging on it. You can also deploy the application thru GMail by sending a mail to the user which can then accept to install it on his device. No need to send your application to Android Play Store!

To do all this magic, Delphi for Android requires both the NDK and the SDK to be available on the developer machine. The SDK and NDK are free of charge from Google.

Source: http://blog.marcocantu.com/blog/compiling_android_apps_delphi.html and http://blog.marcocantu.com/blog/fire_icons_nexus_4.html

Follow me on Twitter
Follow me on LinkedIn
Follow me on Google+
Visit my website: http://www.overbyte.be

August 11, 2013

A first look at Delphi for Android

Delphi for Android has been in beta for a while now. The progress has been awesome. Since a few months, Delphi for iOS allowed us to build applications for iPhone and iPad. Now with Delphi for Android, you can simply change the target and rebuild it for Android. It's really Amazing said John Ray Thomas (AKA "JT"), director of Product Management at Embarcadero technologies.

On his blog, JT published a number of photos showing the same application running on an iPhone 5, A Samsung Galaxy S4 and an Nexus 7 tablet.


For those willing to dig into Delphi for Android, the beta program is open to the public: Register here

The roadmap for Delphi is here: http://francois-piette.blogspot.be/2013/08/rad-studio-mobile-roadmap-updated.html

Source: John Thomas blog

Follow me on Twitter
Follow me on LinkedIn
Follow me on Google+
Visit my website: http://www.overbyte.be

August 8, 2013

RAD Studio Mobile Roadmap updated

Embarcadero updated his RAD Studio Mobile Roadmap. This concern Delphi and C++ Builder for Android and iOS.

What is in development:

- Integrated C++ and Delphi Native ARM toolchains for iOS and Android (compiler, linker, debugger)
- NDK based Android Platform support (Gingerbread, ICS and Jelly Bean)
- FireMonkey mobile Framework for Android
- Mobile designer for Android
- iOS 7 support
- Mobile sensor support for Android (GPS, Camera, Gyro, Accelerometer)
- Advertizing and payment for Android and iOS
- Native Android UX w/Native UI styles
- iOS 7 UX w/Native UI style
- High performance iOS and Android mobiel DACs for popular databases
- Interbase Lite and IBtoGo for Android support
- Datasnap middleware mobile enterprise enhancements
- Cross Platform desktop/tablet/phone
- Automatic retina/Hi-Res display handling
- Integrated Android Design, development, simulation, debugging and deployment
- Rest client Framework and mobile BaaS support
- Ad Hoc and AppStore deployment

Roadmap:

- Delphi for Android: estimated fall 2013
- C++ Builder for Android: estimated winter 2013

Source: http://edn.embarcadero.com/article/42544



Follow me on Twitter
Follow me on LinkedIn
Follow me on Google+
Visit my website: http://www.overbyte.be