Posts tagged " Android "

This Month in RAD Studio – November 2019

November 29th, 2019 Posted by Embarcadero, News, This Month In RAD Studio No Comment yet

 

This month: RAD Studio 10.3.3 released, RAD Server on Docker (and why you might care even if you don’t use RAD Server), CodeRage 2019, and Interbase Temporary Tables:

(more…)

RAD Studio 10.3.3 Released and a Special Offer to celebrate

November 22nd, 2019 Posted by Embarcadero, News No Comment yet

Update: Due to customer requests, we’ve extended the special offer until December 15th.

 

Embarcadero have announced the release of RAD Studio, Delphi and C++Builder 10.3.3.

 

This update to 10.3 Rio has been eagerly awaited by many of our customers, and includes:

  • Delphi Android 64 bit support
  • iOS 13 and macOS Catalina (Delphi) Support
  • RAD Server Docker Deployment
  • Enterprise Connectors in Enterprise & Architect Edition

(more…)

This Month in RAD Studio – September 2019

September 30th, 2019 Posted by Embarcadero, This Month In RAD Studio No Comment yet

 

This month: Enterprise Connectors in, ummm, Enterprise, RAD Studio Android 64-bit beta, we get a lesson in style from Ray Kanopka, and more Windows 10 webinar replays than you can point a stick at:

(more…)

This Month in RAD Studio – August 2019

August 26th, 2019 Posted by CodeInsightTV, Embarcadero, This Month In RAD Studio No Comment yet

 

This month: It’s raining patches for 10.3.2, Update on Android 64 bit, New Enterprise Connector Drivers, Lots of Webinars and more:

 

(more…)

This Month in RAD Studio – May 2019

May 30th, 2019 Posted by CodeInsightTV, Embarcadero, This Month In RAD Studio No Comment yet

 

This month: Updated Roadmap for RAD Studio, Delphi and C++Builder, C++Builder gets a Boost, a bunch of new RAD Server resources and some ways to take back more control of your RAD Studio licensing.

(more…)

Activating Mobile Support in 10.2.3 Professional

July 3rd, 2018 Posted by Embarcadero No Comment yet

As you might be aware, with Delphi and C++Builder 10.2.3 Embarcadero added mobile support into the Professional edition. Previously it was available as a paid add-on.

In future releases I expect it’ll just be included as part of the normal Pro installation, but until then 10.2.3 Pro users need to take some extra steps to enable iOS and Android support: (more…)

Open files in external apps from Firemonkey

May 9th, 2018 Posted by Embarcadero, Mobile No Comment yet

It’s rather a common scenario when a Firemonkey mobile app needs to open a file. It might be a PDF document, an image or video. And while opening a file directly inside of Firemonkey app is totally a legit strategy, sometimes it may be not so easy to implement. TImage provides great support for various graphics formats, but what about PDF? Implementing PDF support for multiple platforms may be quite a challenge. Luckily, both iOS and Android provides a shortcut, we can ask OS to open a document in a third-party application of user’s choice.

And beyond that, mobile OS usually provides more options than just “open a file”. We can also share or print a file, which may be useful for users. (more…)

Internet connectivity state management in Firemonkey

April 12th, 2018 Posted by Embarcadero, Mobile 2 comments

It’s a common task for a Firemonkey developer to check Internet connectivity. It might be useful to notify a user that he is going to download a huge amount of data using his mobile connection, or just indicate Online/Offline mode on the UI.

This functionality is missing from RAD Studio classes, so lots of developers out there have made solutions for their needs, although most of them only solve problems of their developer and may not fulfill your needs.

In order to fill that gap I made a solution which follows these guidelines:

  • Android and iOS support
  • ability to retrieve current Internet connectivity state – disconnected, connected to WiFi, connected to mobile data
  • Internet connectivity state listener which fires every time when connectivity changes
  • a cross-platform interface with encapsulated platform-specific solutions

(more…)

Push Notifications and Aggressive Power Management on Android

February 20th, 2018 Posted by Embarcadero, Mobile No Comment yet

If you’ve done much mobile development, you’ll know that what happens to your app when you switch away from it is very much at the mercy of the OS. While this is true on the desktop and the server as well, on mobile the OS is very focussed on maximising battery life, and so will be much more restrictive about background activity.

For the most part this is not such a big problem, once you’re aware of it. Pawel wrote an article awhile ago about responding to app lifecycle events, so that you can know when the OS is about to put your app to sleep, wake it back up again, etc. You can also create Services on Android to have longer running processes that survive separately to the app. And of course, this is why we have Push Notifications, so that the OS can start the correct application when it receives a notification, even if that application is not currently running.

Or at least that’s how it’s meant to work. (more…)

Parallel (mis)Adventures

August 18th, 2017 Posted by Embarcadero 5 comments

In one of our customer projects, we had an Android app that was receiving broadcasts on a background thread (I’ll call this the Receiver thread). On receipt of a message, the Receiver thread needed to do some processing on that message and then update the main thread (the UI thread).

The initial solution to this was pretty simple, call TThread.Synchronize from the Receiver thread, passing in an anonymous method that updates the UI Thread.

Testing this on Windows worked fine, however running it on Android revealed a problem. (more…)