Please input captcha to take your serial number. View in text. Similar activation keys. Delphi & CBuilder + Prism Embarcadero RAD Studio 2010 Architect. Embarcadero RAD Studio XE2 Architect 16. Delphi Xe5 Serial Communication In Java. Delphi is one of the best programming tools to create software for. Union is serialized to two- length array. ZylGPSReceiver is an award-winning Delphi/CBuilder component collection that communicates with a GPS receiver Delphi xe5 serial communication. Delphi xe5 serial. Delphi Xe5 Serial Communication.
![]() Michael Swindell challenged us to create mobile apps using Delphi XE5 for iOS and Android with only one line of code. After thinking about this for awhile, here is my first one line of code app, 'Map My Location'. This app uses the TLocationSensor, TToolBar, TLabel and TWebBrowser components to create an Android and iOS app that displays a Google map of my current location. To start this Delphi XE5 mobile project, choose the 'File | New | FireMonkey Mobile Application - Delphi' IDE menu choice.. This brings up the Mobile Project template library. I chose the 'Blank Application' template. On the blank form I added a TToolBar component and set its alignment to Top. I added a TLabel component to the TToolBar and set the label's Text property to 'Map My Location'. I set the Label's TextAlign property to center and its Alignment proprty to alHorizCenter so that the label is in the center of the ToolBar. I added a TWebBrowser component onto the form and set its Alignment property to alClient so that it takes over the rest of the form's client area. I finally added a TLocationSensor component to the form so that I can get the latitude and longitude from the GPS sensor on my Apple iPhone and Samsung Galaxy S4. I set the TLocationSensor's Active property to True so that it gets the location whenever I run the app. Here is what the Delphi XE5 IDE looks after all of the components and property settings are made. You can click on each of the bitmaps to see larger versions of the form, object inspector and project manager. For my one line of code app, I set the TLocationSensor's OnLocationChanged event handler by selecting the TLocationSensor, switched the Object Inspector to the Events tab and double clicked on the OnLocationChanged event to create the following event handler and added my 'one line of code': The line of code takes the NewLocation Latitude and Longitude that comes from the GPS, converts the double precision floating point values (TLocationCoord2D) to strings using the ToString helper function, inserts the two values into the string using the Format function and passes the resulting string to the TWebBrowser's Navigate method. Then I compiled and deployed the app to my Android and iOS devices by activating each of the target platform choices. The resulting screen grabs on my Apple iPhone 4S and Samsung Galaxy S4 show the one line code app running on each device. What iOS and Android Delphi XE5 app can you create using one line of code? Join the fun of creating multi-device apps using Delphi and the FM Application Platform. If you don't have Delphi XE5, you can download the Instant Trial or Standard Trial at http://www.embarcadero.com/products/delphi/downloads.
Tags:AndroidDelphiednfrontExamplesFireMonkeyiOSMobileMulti-DeviceObject PascalPascalProgrammingRAD StudioSensors
Learning GitHub Basics Learn How To Execute External Commands On Linux From An Auto Tables For RAD Serv... From Vision to UX Design with RAD Studio - Webinar Replay Demo Listbox combined as master-detail relationship Comments
![]()
This is a list of third party tools and components from Embarcadero Technology Partners that support Delphi XE5 as of October 2013.
You can get an updated listing or do more detailed searches by visiting the Embarcadero Technology Partner Directory web site.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |