Other questions
56 topics in this forum
-
Добрый день. 1. Сейчас в процессе создания видео плеера, который скачивает файлы из интернета и воспроизводит на устройстве по плейлисту. Хотелось бы запретить автоблокировку экрана, чтобы при активной программе экран не затухался. Если не ошибаюсь, есть такая возможность в WakeLock. Но как задать эти флаги? Как я понял класс FMX.Helpers.Android уже нельзя использовать в FGX или я ошибаюсь? Можете показать наглядный пример? 2. Хотелось бы чтобы эта программа постоянно перезапускала себя если скрыта или завершена. Как я понял, это возможно с помощью сервисов. Можно ли сделать так чтобы только при вводе в программе, специального пароля, можно было бы отключить сер…
-
-
- 1 reply
- 87 views
- 1 follower
-
-
Я про ту панель, которая по умолчанию снизу стоит. Есть ли возможность скрыть как SystemStatusBar?
-
-
- 5 replies
- 151 views
- 1 follower
-
-
Hi, I have installed D12.2 and FGX 1.18.8.1 I try to compile FGX example. on deploy I get this error... this is output: Build started 20/01/2025 10:20:51. __________________________________________________ Project "C:\Users\staff\Documents\FGX Native\Samples\Flex - Auto wrap\AutoWrapFlexBoxDemo.dproj" (Build target(s)): Target BuildVersionResource: c:\program files (x86)\embarcadero\studio\23.0\bin\cgrc.exe -c65001 "AutoWrapFlexBoxDemo.vrc" -foAutoWrapFlexBoxDemo.res CodeGear Resource Compiler/Binder Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc. Microsoft (R) Windows (R) Resource Compiler Ve…
-
- 5 replies
- 59 views
-
-
А нет в обозримом будущем реализации TfgPhoneDialer.Call для iOS?
-
- 2 replies
- 32 views
-
-
Здравствуйте. Ниже покажу на примере куска Java-кода, что мне требуется от Accessibility. Правда данный пример взят из LAMW и предназначен для ListView , но, полагаю, в работе с TCollectionView от FGX принципиальных отличий не должно быть. Если же описать задачу простым языком, мне необходимо перехватить событие AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED для того или иного контрола... Подскажите, пожалуйста, как это проще сделать? AccessibilityManager manager = (AccessibilityManager) context.getSystemService(Context.ACCESSIBILITY_SERVICE); if (manager != null && manager.isEnabled()) { setAccessibilityDelegate(new View.AccessibilityDelegate() { @Over…
-
-
- 20 replies
- 283 views
- 2 followers
-
-
We recently updated our app on the Playstore with SDK 35. However, some users with Android 15 reported that the bottom button bar is overlapping the app. In my research, I realized that it was an addition from edge-to-edge. I wanted to know if there is any way to disable it. I tried to do the process in Manifest, but without success... Has anyone experienced this and know how to solve it?
-
-
- 19 replies
- 219 views
- 3 followers
-
-
Здравствуйте. Произвожу перенос своего проекта из Codetyphon в Delphi. Ранее использовал BASS audio library. В FGX Native пока не обнаружил ничего для работы со звуком. Есть ли у кого-нибудь опыт использования указанной библиотеки совместно с FGX Native? Что можно было бы задействовать вместо Bass? Требуется возможность потокового воспроизведения Audio и поддержка 3D-звука...
-
-
- 1 reply
- 96 views
- 1 follower
-
-
Пытаюсь сделать вход по отпечатку пальца. Использую метод отсюда: TfgBiometricAuthenticationFactory.CreateBiometricAuthentication .SetFallbackAsPasscode; .SetSubtitle('Subtitle') .SetDescription('Description') .Execute(BiometricAuthenticationResul, 'Title');Получаю ошибку на андроиде: «java.lang.IllegalStateException: FragmentManager has not been attached to a host.» Стандартный пример (с версии 1.18.13) работает. Галка в настройках проекта стоит. Что я делаю не так?
-
- 13 replies
- 71 views
- 1 follower
-
-
Hi I am trying to send text to InnerPrinter on Sunmi V2 device via bluetooth. I can connect to a device , create socket and send data. Problem is that I cannot manage to use polish letters. I am using esc/pos protocol to send bytes. So my other idea was to connect to service woyou.aidlservice.jiuiv5.ICallback which I believe is present . But I have no idea how to do that. Does anybody know how to import/use sunmi sdk. Or send proper bytes to print polish characters? Michał
-
-
- 10 replies
- 95 views
- 1 follower
-
-
Delphi 12.3, компонент BluetoothLE1. Работаю с устройством по BLE. 1. Обнаруживаю доступные устройства, 2. Подключаюсь к сервисам устройства, 3. Получаю характеристики, 4. Подписываюсь на характеристику для чтения. 5. Пишу команду в характеристику для записи, ответ от устройства в событии "OnCharacteristicRead" не приходит. Делал по стандартному FMX примеру "HeartRateMonitor". Работает. Создал новый проект на FGX 1.18.11.0, разместил компонент BluetoothLE1. Устройство обнаруживается, сервисы, характеристики доступны, подписка на характеристику для чтения проходит с результатом True. Но вот когда идёт передача от устройства, событие "OnChara…
-
-
- 11 replies
- 116 views
- 2 followers
-
-
Is there any way to disable or intercept clicks on the buttons in the Android bottom bar? I don't necessarily need to block the user from exiting the application. I just want to intercept them from exiting without a confirmation message...
-
-
- 3 replies
- 41 views
- 1 follower
-
-
I was wondering if the framework supports hot reload, because right now it is time consuming to re run the application.
-
-
- 1 reply
- 35 views
- 1 follower
-
-
I'm using the System.Zip class to extract a specific ".zip" file in the app's public directory. I download the file and extract it. On Android, the extraction works correctly, but on iOS, I get an "Error reading zip file". Is this a permission issue or am I missing something? class function TUtilFiles.ExtractZip(const ZipFile, OutputDir: string): Boolean; var FZip: TZipFile; FResult: Boolean; begin FResult := False; // Verifica se o arquivo zip existe if not FileExists(ZipFile) then begin TUtilMessages.MessageInstance.Mensagem('Arquivo zip não encontrado'); Exit; end; // Garante que o diretório de saída existe if not DirectoryExists(OutputDi…
-
-
- 4 replies
- 59 views
- 2 followers
-
-
Hi Yaroslav, thank you for asking. I'm starting a bigger update to our App in the next days. Maybe there will be more questions ... 🙂 Do you see a chance to add the macOS platform as well? The Firemonkey way doesn't feel "native" enough.
-
- 0 replies
- 40 views
- 1 follower
-
-
URL: Утилита генерации заголовочных файлов для Java (Java2Delphi) - Guides - FGX Native (fgx-native.com) How do I use this tool to generate Delphi headers for custom JAR files? example. Downloads - Facebook SDK for Android - Documentation - Facebook for Developers I want to generate headers for Facebook SDK for Android. What settings should I use to generate the header? Do you have an English example?
-
- 1 reply
- 49 views
- 1 follower
-
-
We currently use the "Secure.ANDROID_ID" method, however we have had problems with environment changes (Release x Debug), Hard Reset and changes to the Android version on the device, where the ID changes and ends up not being so unique. I would like to know if there is currently any resource that we can use to perform this process of obtaining a truly immutable unique ID...
-
-
- 1 reply
- 48 views
- 1 follower
-
-
-
- 7 replies
- 154 views
- 1 follower
-
-
I want to create onboarding tooltips, like the image below. Is this possible to do in FGX Native? If possible, how can I implement this? Image from Blog: How to use tooltips on mobile to enhance the app experience
-
-
- 14 replies
- 285 views
- 1 follower
-
-
Всем здравия. Ищу скриптовый pascal-подобный движок, который был бы совместим с LCL, VCL, FMX и, разумеется, FGX. Наверное, я слишком многого хочу, но может быть кто-то знает о существовании такого чуда? Удалось пощупать следующее: + DWScript - великолепный бесплатный движок, но только под Windows (VCL & LCL) и Linux. + FastScript - с ним работал ранее, в других средах, но при портировании в FGX столкнулся с проблемой, обусловленной директивой NEXTGEN, и тем, что FastScript активно использует string[index]). Взялся переписывать исходники, зарылся, заблудился, потерялся и разочаровался. + PascalScript - не удалось портировать, ибо в нём наличествуют ассемблер…
-
-
- 6 replies
- 212 views
- 3 followers
-
-
Hello, I have an application that produces PDF emissions on Android from native JAVA classes, now I am adjusting the application for iOS and I got into a situation where I have no solution for the same process. I would like an idea of how to perform this function... Would it be possible to use FGX to access the native classes and work with just one code? I'm sending my class (it currently only works on Android), I need an idea to adapt it for iOS. Or even if there is a library that helps natively unMSUtil.PDFPrint.pas
-
-
- 8 replies
- 138 views
- 2 followers
-
-
I would like to know if there is a way to acquire the absolute position (x-axis and y-axis) of an object in relation to the form. showHint(AOwner: TfgControl; AControl: TfgControl); The idea is to create a layout (tooltip) close to the specific component.
-
-
- 5 replies
- 92 views
- 2 followers
-
-
Вчера вышла новая версия. Ярослав, не тестили библиотеку в ней?
-
-
- 1 reply
- 48 views
-
-
HI, I wanted to ask a few simple questions as a newbie. 1 - what is the correct procedure to close an App in FGX? (I tried just "close" but it doesn't close completely) 2 - is there a way to detect the pressing of the system buttons (the ones at the bottom) in Android? 3 - the DataModule form does not exist in FGX. what is the best way to organize the components for the Database for example? Thank you. Alessandro Romano
-
-
- 4 replies
- 99 views
- 1 follower
-
-
I like to display content of a Database table on my ipad. I relized it with a TStringGrid with FMX. Is there a similar Possibilty for FGX (Or Sample ?) I tried it with CollectionView I Added 2 Styles one für ColumnHeader and 1 for ColumnContent. Showing a Table with 2 Columns works But another Table with 32 Columns, does not display correcht and can not be scrolled horizontaly Bind Item is called correct 🙂
-
- 5 replies
- 66 views
- 2 followers
-
-
Как уже где-то упоминалось, после компиляции в папке любого проекта появляются файлы System.Android.Notification.dcu, System.Android.Notification.o, System.Android.Permissions.dcu, System.Android.Permissions.o. Это баг или фича?
-
-
- 1 reply
- 39 views
- 1 follower
-
Recently Browsing 0
- No registered users viewing this page.