Questions tagged [delphi-xe5]

Delphi XE5 is a specific version of Delphi released in September 2013. Always use the [delphi] tag alongside this tag.

Delphi XE5 is a specific version of Delphi.

Delphi XE5 was released on September 12, 2013 and is available as a standalone product or as part of RAD Studio XE5.

Delphi XE5 is compiler version 26, directive symbol VER260.

Notable new features of Delphi XE5 are:

Delphi XE5 was preceded by Delphi XE4.

Always use the tag alongside this tag.

880 questions
4
votes
1 answer

Making a preview window for the camera in an app

Is it possible to have a preview function within the app of what the mobile camera is seeing? Or is this option only possible to code in Eclipse or similar programs? Using the camera component in XE5 only opens the inbuilt camera app, not displaying…
JohnGallo2
  • 51
  • 3
4
votes
1 answer

How to modify delphi property Getter/Setter with RTTI?

I would like to replace the getter/setter for properties using RTTI. I know that you can access the getter setter with TPropInfo.SetProc/GetProc and I know that these fields points to different data depending if the property uses virtual methods,…
monoceres
  • 4,722
  • 4
  • 38
  • 63
4
votes
2 answers

Where can I specify an output folder for DLLs?

I am confused a bit with a new RAD Studio version! Where can I specify a folder to put my output DLL files?
user25638
  • 49
  • 1
  • 2
4
votes
1 answer

How to paint on the canvas of a Trectangle

I need a clickable control that I can tailor to my needs. From the Delphi docs I gathered that a TRectangle would do. I need to create my TRectangles programmatically, so I created a Form, a Panel and a Button (see code below). As TRectangle is…
Arnold
  • 4,578
  • 6
  • 52
  • 91
4
votes
4 answers

Allowing keyboard input to a FireMonkey TEdit nested inside a FireMonkey TPopup

I'm struggling to get a FireMonkey TEdit nested inside a FireMonkey TPopup to receive keyboard input. Happens both for desktop and mobile projects, though it's the latter I'm interested in: Create a new FMX project. Add a TButton and a TPopup to…
Chris Rolliston
  • 4,788
  • 1
  • 16
  • 20
4
votes
3 answers

How do I detect / handle a screen rotate using FireMonkey for Delphi XE5

First of all - I am a beginner when it comes to Android and FireMonkey programming, so please bear this in mind :-). I have made a FireMonkey/Android application that can resize/reflow its controls according to the screen size and orientation, but I…
HeartWare
  • 7,464
  • 2
  • 26
  • 30
4
votes
1 answer

Java byte array to Delphi byte arry

I am working on Android Bluetooth Printing. Printer is standard POS thermal printer. This is my way to send data to printer (THIS PART IS WORKING): var Adapter: JBluetoothAdapter; remoteDevice: JBluetoothDevice; Sock:…
xJernej
  • 194
  • 2
  • 3
  • 14
4
votes
1 answer

DELPHI XE5 Android - SAVE / LOAD file from SDCard

I am using Delphi XE5 for Android developing. I like to save and load TStringList to text file on SDCard. When I save TStringList to file all is OK. After saving I can call LoadFromFile and file is loaded. The problem is when I close the application…
xJernej
  • 194
  • 2
  • 3
  • 14
4
votes
1 answer

Basic Indy TCP client/server for Win32/Android

I am trying to setup a very basic single client/server system, so I can send from my PC a string to an android tablet. The tablet does something with the string and then sends back a string to the PC. The code: server side (tablet) procedure…
Gerard
  • 135
  • 1
  • 10
4
votes
3 answers

Support for UTF-8 encoded string in TRestClient Delphi XE5

I want to send tweets using the new TRest components in Delphi XE5. I am looking for a way to UTF8 encode my tweet which contains IS0-8859-1 characters. The code below works, but involves codepage conversion etc. Is the a better way?…
user3012503
  • 43
  • 1
  • 4
4
votes
0 answers

FireMonkey - workaround for the missing OnSetValue event in TPopupColumn

Changes in the TPopupColumn (TGrid) do not trigger the OnSetValue event so I cant get the value from it set by the user (GetValue works fine). The problem was already reported in the QualityCentral:…
Roman
  • 83
  • 5
4
votes
0 answers

Delphi XE5 for android fails to copy the asset in System.StartUpCopy

I am playing with an application for IOS and Android using Delphi XE5 and Firemonkey. While on IOS the application works fine it fails to start on Android. The reason is that on the startup phase it fails in the System.StartUpCopy.pas unit. I have…
Runner
  • 6,073
  • 26
  • 38
4
votes
1 answer

Why does my Delphi TCanvas.DrawLine not appear when running on Android

I have a very simple FireMonkey application with a single form and the following code in the OnPaint event. When I run it using the Windows target, I see a red line and a red square. When I run it on my Android Nexus 7, only the square appears. I…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
4
votes
2 answers

Delphi XE5 Android. Hardware back button press

How simulate hardware back button press to close application? I need close the application by code but Application.Terminate, Close, Hide and DisposeOf do not work. So I thought to simulate hardware back button press to achieve my goal.
trexios
  • 43
  • 1
  • 4
4
votes
5 answers

What path is SQLite database deployment to Android device?

Having followed the DocWiki, I'm deploying my SQLite DB to assets\internal\ and used the following code : SQLConnection1.Params.Values['Database'] := TPath.Combine(TPath.GetDocumentsPath, 'myDB.db'); However, when I try and access one of the…
Martin Moore
  • 733
  • 2
  • 8
  • 21