Questions tagged [firemonkey-fm3]
FireMonkey FM3 is a platform for building multi-device, true native apps for iOS, Windows and Mac, using a single codebase. The following development tools from Embarcadero can all be used to develop such apps: RAD Studio XE4 / Delphi XE4 / C++ Builder XE4.
72
questions
0
votes
0
answers
81
views
How to disable data mobile with firemonkey Rad 10.3?
I am looking to disable mobile data, with firemonkey (Rad 10.3), I have seen several posts, but I have not been able to find a solution.
I have reviewed these posts:
Enable/Disable mobile data
The ...
1
vote
1
answer
698
views
No 'teamID' specified and no team ID found in the archive
I'm getting following errors while trying to build a distribution version of my firemonkey app.
[PAClient Error] Error: E0776 2020-07-21 16:50:36.073 xcodebuild[2035:200954] [MT] IDEDistribution: -[...
2
votes
1
answer
153
views
Firemonkey (Rad Studio 10.3.2) current time issue on Android
If there any solution how to fix mediaplayer. Currenttime on Android (Rad studio 10.3.2) ? Values not correct (sometimes negative values), on windows work fine
0
votes
1
answer
922
views
Delphi 10.2 Tokyo Android onActivityResult Sunmi Code Scanning
I need to integrate Code Scanning into the application
(https://docs.sunmi.com/htmls/Scan%20code%20driver.html)
The application was made in Delphi 10.2 Tokyo
When I press the button, I use this code ...
1
vote
2
answers
514
views
In LiveBindings situation, how can I display the labels contained in a AdapterBindSource to a column of a grid?
We have a Members table containing a field (as integer) to define the "status of membership" by his id. By example: 0 for Inactive, 1 for Active, 2 for LifeTime, 3 for Retired, 4 for Exceptional ...
2
votes
1
answer
1k
views
Implement clipboard operations via menu
I'm developing my first commercial Firemonkey application (also my first commercial application in any language). I have used native FMX controls and also one control from TMSSoftware (TTMSFMXGrid). ...
1
vote
0
answers
768
views
Changing FMX multi-platform style property at runtime
In my app I have a design time registered TStyleBook mostly with custom styles for panels (different colors). In this TStyleBook, at design time, I've added an item, assigning the fill color, for ...
2
votes
2
answers
883
views
How to save sensitive data as a password in firemonkey?
I'm developing an android app using Firemonkey. This app makes requests to a WebApi using Rest and returning json result. The API is already developed and each request needs to send user and password ...
0
votes
1
answer
2k
views
How to store blob to database thru Datasnap REST server?
Preample:
We use a Firemonkey application then interact with a DataSnap REST Server. This server use a SQLite database. On the client side, we use FireDac Memtable to manage data. Usually for ...
1
vote
2
answers
323
views
Unicode mapping Error while opening INI files on MacOS
I'm trying to open an INI file on Mac OSX using TIniFile:
SettingsFile := TIniFile.Create(aINIFileName); //Ini vertion
Try
iUpdateMaj := SettingsFile.ReadInteger('CurrentVersion', 'Maj', 0);
...
1
vote
1
answer
515
views
Delphi consume a procedure from an Android Jni wrapper
Hello I've created an Android class using C that does some operations.
Among these procedures I want to use this one : ( just for test with Delphi )
JNIEXPORT void Java_Test_Project_Decode(JNIEnv* ...
1
vote
1
answer
1k
views
Firemonkey Gradient Colors on Android
I have come across a rather funny issue. I have a form with its Fill set to Gradient.
On Windows, IOS and OSX, the gradient is drawn as it should be. But on Android, the colors are wrong. Any ideas?
...
0
votes
1
answer
1k
views
How to show a secondary form on taskbar using FMX C++?
I'm with a little problem when trying to show more than one form on taskbar on the same time.
I found I need to use the following:
WS_EX_APPWINDOW
So I search a little bit more about and then found ...
0
votes
1
answer
561
views
How to enter memo strings between two lines without delete the content of the next line?
I just would like some help when adding contents between two lines...
If I have this on Memo:
//--------------------------------------------------
//---------- Mauro Mascarenhas de Araújo -----------
...
0
votes
1
answer
3k
views
How to get the screen size with C++ builder (Firemonkey)
I know it is a stupid question, but when changing visual libraries I found a "throuble" with FMX...
My problem is: I need to do my own border, so I set the propriety to Border Style:"None", but the ...
1
vote
0
answers
351
views
iOS deployment with Delphi XE7 with error 90209
I am trying to upload my app to the iStore.
The upload fails with the following error:
ERROR ITMS-90209: "Invalid Segment Alignment.The app binary does not have proper segment alignment".
I ...
2
votes
0
answers
873
views
Find what ListViewItem was touched onGesture
I am trying to customize a listviewitem to add a button on the right. The button will slide in on gesture (similar to swipe to delete). Since each listviewitem has that button, I need to find which ...
1
vote
2
answers
3k
views
Image canvas drawing ends up on form instead
I'm trying to draw some custom shapes on the canvas of a TImage, but the output ends up on the TImage parent form's canvas instead. It appears I have to convert my points from local to absolute to ...
0
votes
1
answer
971
views
scrolling vs selecting delphi XE6
I have a gridpanellayout that has about 16 rows and 5 columns. Each field has, for example a TRectangle set to TalignLayout.Client.. Each rectangle has an onclick event that performs an action ( e.g., ...
1
vote
1
answer
1k
views
Focus TEdit on a Dynamically loaded Embedded Form Firemonkey
I have a application which load plugins that are in the form of bpls. Each plugin contains a form to be embedded into another package called CoreInf (form name ManageF) which is just the base gui of ...
0
votes
0
answers
271
views
Center a Model3D on ViewPort3D
There seems to be a problem with Model3D dimentions ... you can set components width and height to 1 and real model stays out of bounds, but still there, with same original size (defined by scale). ...
0
votes
1
answer
2k
views
How to make my own dialog component from Firemonkey TPopUp?
[Delphi XE5 Up2]
I am trying to use TPopUp to inherit and create a component, following the same idea as exposed on the Flyouts demo for the CalendarFlyout. I will be not using the Calendar, but I ...
0
votes
1
answer
676
views
How to add new Bitmap format to TBitmapCodecManager
I have written a class for reading and writing PPM files (don't ask, I didn't chose this format). I would like it to be a part of the TBitmap loading/saving system.
Does any one know how I can add ...
0
votes
1
answer
229
views
How to terminate (kill) another application in a FireMonkey application?
Does someone know a solution to kill another application in FMX ?
Having the name of the application to terminate, I want to be able to kill a Windows or MAC OSX application.
0
votes
1
answer
575
views
How to simulate touch with left mousebutton
I'm developing a Firemonkey Application wich should run on Windows with touchscreen.
Because I have no touchscreen for my development system, I can't test the behavior of some controls. For example ...
2
votes
2
answers
841
views
how do you create a transparent demo screen for delphi android
Can I do this How do you create a transparent demo screen for an Android app? with Delphi XE5 on the Android and iOS platforms.
Thanks for your help, pointing me to the right direction
0
votes
1
answer
499
views
Maximizing fast report at run time in firemonkey application
How to maximize the fast report at run time in firemonkey application?
0
votes
1
answer
3k
views
How to set XML parser's Decimal point character?
I'm reading attribute fields in an XML document where the decimal point always is '.' and the computer local may differ from this (in my own case it is ',').
I tried to set the global FormatSettings....
3
votes
3
answers
1k
views
What is the best way to handle OnResize in FMX?
When a window is resized I want to handle the OnResize event when resizing is finished as updating the graphic takes seconds. That is tricky because resizing a window generates lots of resize events. ...
2
votes
1
answer
876
views
TColorbutton (Delphi XE5 - Mobile App) does not show text property
I'm using a component TGridlayout into a form in a FireMonkey Mobile Application.
I would like to create, at runtime, buttons with color, text and image. I am using TColorbutton and Timage ...
2
votes
1
answer
503
views
Firemonkey and Mobile Navigation
I have an interesting observation and question, but first a comment. I have been using Delphi for 14 years and have taken a job developing an iOS mobile application using XE5. This is my first time ...
-4
votes
2
answers
823
views
Delphi XE5 - Waiting for TForm.OnCreate() finish components' population
I'd like to check from Form1.OnCreate event handler procedure if Form1 constructor Create finished the job with populating all the components on Form1.
Then would like to use Form1 to loop through ...
7
votes
2
answers
592
views
How to display smooth video in FireMonkey (FMX, FM3)?
Has anyone figured out how to display smooth video (i.e. a series of bitmaps) in a FireMonkey application, HD or 3D? In VCL you could write to a canvas from a thread and this would work perfectly, but ...
0
votes
1
answer
2k
views
Supporting sockets under Delphi mobile for iOS/Android
I need to port out date ASTA components under Delphi XE5 Mobile, and found the ASTA is using TCustomClientSocket. It's mean I need adjust this class for supporting not only Windows sockets, but also ...
1
vote
1
answer
1k
views
Datasnap & Fmx Mobile App How to send a dataset containing a blob field
I had a multi tier project in which i would collect data from a microsoft sql 2005 through a FDStoredProc with a function and the function would return a dataset to the client. When the server assigns ...
8
votes
4
answers
25k
views
How to programmatically change the FontColor of a Tlabel
When I put a TLabel on a form, I can change the color of its text by changing the FontColor property. However, when I do this in my program by
Label1.FontColor := TAlphaColors.Aquamarine;
this doesn'...
14
votes
1
answer
65k
views
How to convert strings to array of byte and back
4I must write strings to a binary MIDI file. The standard requires one to know the length of the string in bytes. As I want to write for mobile as well I cannot use AnsiString, which was a good way to ...
1
vote
0
answers
120
views
FMX - Cancel URL loading
Is there any way to cancel URL loading using property TCustomWebBrowser.OnShouldStartLoadWithRequest?
Type of this property is declared as
TWebBrowserShouldStartLoadWithRequest = procedure(ASender: ...
4
votes
1
answer
6k
views
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 ...
4
votes
3
answers
11k
views
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 ...
3
votes
2
answers
2k
views
Firemonkey drawing on bitmap without interpolation
I am using the canvas draw functions drawrect and filltext to draw onto a Tbitmap but I don't want the results antialiased. Anyone know how to do that ?
Working with OSX and Delphi XE3 (but have XE4 ...
5
votes
0
answers
792
views
MultiResolution in Firemonkey Mobile Application
Is there any demo available that shows how multi-resolution images should be handled in a mobile application with button images, splash screen and a background for example? I'm trying to make an ...
1
vote
2
answers
3k
views
How to dynamically scroll in Tlistbox Delphi xe5
TListbox.topIndex is not apparent in Delphi xe5. How do I perform a similar function ? I would like to have the listbox scroll so that the selected item is at the top of the listbox.
I have found ...
3
votes
1
answer
4k
views
Detecting local IP address under FireMonkey3
Need to detect local IP address under FireMonkey3. In VCL version, I have been using unit WinSock with methods for it
WSAStartup(...)
gethostname(...)
One limitation: don't need to use any third-...
4
votes
1
answer
2k
views
How detects parent form for Control?
Need to detect the Parent Form in Delphi (FireMonkey 3) for any Control on this form.
What is the easiest way for it?
0
votes
0
answers
758
views
How to get image path from iOS?
Im working on Delphi XE5 for uploading a file on a server. Im using a php script to upload the file on the server in a directory,its working fine. the code is
Delphi code
Function Upload(sfilepath : ...
0
votes
1
answer
2k
views
firemonkey drawings on bitmap without BeginScene and EndScene
I am developing an application that should be drawing vector based like graphics. I am drawing a lot of lines (more than 50 000) on the image. After playing around and doing some research it seems ...
1
vote
0
answers
1k
views
ERROR ITMS-9000 when trying to upload to iStore
I am struggling to upload my app to the iOS store. My most recent error is: ERROR ITMS-9000: "Missing Code Signing Entitlements. No entitlements found in bundle 'myAppName' for executable 'Payload/...
2
votes
1
answer
6k
views
Livebinding JSON objects and arrays
Good evening all.
I'm currently trying to get to grips with livebindings in Delphi as I'd like to refresh one of my current projects (complete rework from the base for the purpose of pushing to other ...
1
vote
1
answer
1k
views
Delphi XE5 can not trig Space bar
With Delphi XE5, The SpaceBar Can not be trig when using FormKeyUp or KeyDown Method.
The Key value is 0 (instead of 32) if you it the spacebar. This was working on XE2.
procedure TfrmMaster.KeyDown(...