Questions tagged [delphi-10.2-tokyo]

Delphi 10.2 Tokyo is a specific version of Delphi released in March 2017.

Delphi 10.2 Tokyo supports development of applications covering 32-bit and 64-bit, 32-bit, server 64-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the Mac and mobile platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

References

558 questions
0
votes
0 answers

Explanation or example of how to use ContentObserver in Delphi Application

I am currently working on an Android Application developed in Delphi 10.2 and have most of the functionality that I need working. However I am trying to get my head around the following SharedActivity.getContentResolver.registerContentObserver. I…
0
votes
0 answers

User can not find DLL

I have a program that calls a DLL stored in the same folder that the program is stored in. When I run the calling code, either from the IDE or the program directly, it finds the DLL and gives no errors. But, when the client runs the program, it…
S bossen
  • 87
  • 1
  • 5
0
votes
1 answer

Does anyone have an example how to start the web browser with Tokio delphi for an android application?

I need to start google.map from an Android Delphi application to send location and navigation information. I used TWebBrowser but the navigation does not work. URLString := 'https://maps.google.com/maps?q=loc:' + FloatToStr( ActiveLattitude ) +',' +…
Serge
  • 1
0
votes
1 answer

How can I get my Delphi TS3 Serverquery IdTelnet to run as a console application?

I need to run my Delphi application in console mode so that I can run it on my VPS as a Wine emulated application on my Linux server so that it communicates via telnet to my Teamspeak server as serverquery. It needs to stay constantly stay…
0
votes
0 answers

Datasnap Request Fails on Release Client Module

I have the following structure: A function in a class to load some data: function TClasseDatasnap.BuscarEmpresas(var Dataset: TFDJSONDataSets): Boolean; begin Try Try F_ClientModule := TF_ClientModule.Create(nil); Dataset :=…
Tallys Ferrante
  • 173
  • 1
  • 13
0
votes
2 answers

Calling Application Name FMX OSX

I apologise if this is a trivial question, but I have searched as much as I can and cannot find any solution. I have a Delphi/FMX application that creates a DLL for Win32 and a DYLIB for macOS (High Sierra), 32 bits. In a unit, I was simply using…
Kevin Black
  • 119
  • 1
  • 10
0
votes
1 answer

Delphi 10.2 How do I get Log.d to ignore % in the HTML source code?

How do I get Log.d to ignore % in the HTML source code? Or tell Log.d not to format the code? The HTML code I send to my program: The procedure I created: procedure…
El Diablo
  • 168
  • 1
  • 12
0
votes
0 answers

How to cancel an IOmniParallelSimpleLoop?

I'm starting using the OTL for a simple project but I'm currently stuck at stopping and restarting a simple parallel loop. Use case The user is able to start a query to resolve hostnames of a list of IP address by pressing a button. At any moment,…
0
votes
1 answer

HTTP POST by converting Java to Delphi using Indy

I have the following code in Java, which I want to convert in Delphi. To get a response in JSON below java code is used to get token from the server. The code in eclipse has the desired result, but when I try to convert the code in Delphi, I'm…
Fiaz
  • 30
  • 2
  • 9
0
votes
1 answer

firemonkey convert mp3 stream to hex and reverse

i try to save a audio from mobile microphone to a Tmemorystream and then convert it to hex with this function: function StreamToHexStr(AStream: TStream): string; const HexArr: array[0..15] of char = …
peiman F.
  • 1,648
  • 1
  • 19
  • 42
0
votes
0 answers

Special case: wrong order of updates for fly-away

How can I track down the location of the "Special case: wrong order of updates for fly-away!" error? This error message is defined in Datasnap.DSIntf as const ... ERRCODE_FLYAWAY_WRONGORDER = 13; { Special case: wrong order of updates for…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
0
votes
0 answers

Show selection of TEdit that does not have focus

I have a FireMonkey application and I need to change what is selected in Edit1 while the user is typing in Edit2. To be exact, Edit1 has some sample text and Edit2 has a regular expression that the user is editing. I want the user to be able to see…
Sam
  • 2,473
  • 3
  • 18
  • 29
0
votes
1 answer

SysUtils.LoadPackage replaces Aplication.OnMessage handler

I have a main form where I set a handler for the Application.OnMessage event. (Code of this handler is placed in the main form). Then, while running the program, there can be calls to SysUtils.LoadPackage that loads some bpl-package. And after that…
Daugawpils
  • 37
  • 1
0
votes
0 answers

Sorting Data in a grid using TFDTable

I have a TFDTable the is connected to a TGrid using LiveBindings and the data displays sorted by the indexes in the table itself. I want to be able to change the sort order by clicking on the header of the grid. Here is what I have done so far: void…
Sam
  • 2,473
  • 3
  • 18
  • 29
0
votes
1 answer

Delphi PAClient Error: E0776 xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH

Delphi 10.2.3 deploying to Application Store gets this error: [PAClient Error] Error: E0776 xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH The recommended solution in this question did not solve the…
Mike at Bookup
  • 1,211
  • 14
  • 32