Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom file

  1. Started by Thierry,

    Hi, I have a problem to view pdf in Android 13, the document is not visible. In Android 12 y have no problem. Do you have a idea ? Thanks for jour help. Thierry. Pdf Preview.pdf

  2. Started by Alessandro,

    Hi, I have a problem downloading a PDF file from a remote database and viewing it on the device. right now I do something similar with an image and it works well. Basically I download the image to Assets and then assign it to an tfgimage. This is the code: ... ms := TMemoryStream.Create; try FDM.RDBFotoFotoMini.SaveToStream(ms); ms.Position := 0; TfgAssetsManager.Current.AddBitmapFromStream('FotoArticolo', ms, True); FotoArticoloTgCol.ImageName := 'FotoArticolo'; finally ms.Free; end; ...I was thinking something similar. Obviously, after inserting the PDF into the Assets folder, I should display it somehow. Any suggestions? thanks

  3. Добрый день, в стандартном примере "Сервис - поделиться", если выбрать файл, то он экспортируется с именем "universal-universal". Существует ли возможность задать ему своё имя при экспорте?

  4. Hi I deploy an SQLite DB with my app. If I have the asset manager set to overwrite the file on install, it overwrites every time the app starts. Is this normal behavior? Do I need to change something else? Thanks Alan

  5. Started by Alan,

    Hi, As part of my app I want to include 3 videos. I define them in the assets manager. When I run debug sometimes one of the files is installed sometimes none. I checked the apk and the assets are in there. but they are not being deployed. The videos are large 10 -15 mb but apk size is only 88mb. Am I missing something? I know I can deploy the videos as expansion files in android. How would I get the location of the expansion files in FGX? Thanks Alan

  6. 1. Возможно ли загрузить файл с внешнего ресурса, типа: https://mysite.com/bla_bla_bla/myapp.apk ? Используя какие компоненты это лучше сделать? IdHttp, NetClient? 2. Куда сохранить файл для последующей установки? сюда это нормально?: FileName := TPath.Combine(TPath.GetDownloadsPath, 'myapp.apk'); Пробую через IdHttp - ругается: Could not load SSL library. Что-то в uses не хватает?

  7. Started by Volk65,

    Как проиграть mp3 аудио файл на Андроид. Нашел примерно такое: procedure TFormMain.fgButton5Tap(Sender: TObject); var MP: JMediaPlayer; begin MP := TJMediaPlayer.Create; MP.setDataSource(??????); <<< Что передать сюда? MP.prepare; MP.start; end; Или как правильно?

  8. Здравствуйте. Утянуто с https://github.com/Code-Partners/firemonkey-external-file-viewer/ Теперь FGX-Friendly OpenFile использую сам Спасибо. UExternalFileViewer.zip

  9. Возник вопрос по FGX Assets Manager, имеется пример загрузки фалов по URL - TfgAssetsManager.Current.AddBitmapFromUrlAsync(ImageName, 'http://data.fgx-native.com/images/photo-demo.jpg', procedure (const AResultCode: Integer; const AResultMessage: string) begin TfgDialogs.ShowMessage('Image loading is finished: code=%d, message=%s', [AResultCode, AResultMessage]); fgActivityIndicator1.Stop; end); есть ли возможность загружать абсолютно любые файлы в TfgAssetsManager по URl с дальнейшей работой с ними через те же намерения, т.е. хотелось бы загрузить тот же файл docx по ссылке с сервера в TfgAssetsManager в определенную директорию и в дальнейшем …

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.