Custom file
10 topics in this forum
-
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
-
-
- 4 replies
- 45 views
- 1 follower
-
-
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
-
-
- 18 replies
- 154 views
- 2 followers
-
-
Добрый день, в стандартном примере "Сервис - поделиться", если выбрать файл, то он экспортируется с именем "universal-universal". Существует ли возможность задать ему своё имя при экспорте?
-
- 1 reply
- 44 views
- 1 follower
-
-
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
-
- 10 replies
- 103 views
- 1 follower
-
-
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
-
- 11 replies
- 88 views
- 1 follower
-
-
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 не хватает?
-
-
- 2 replies
- 87 views
- 1 follower
-
-
Как проиграть mp3 аудио файл на Андроид. Нашел примерно такое: procedure TFormMain.fgButton5Tap(Sender: TObject); var MP: JMediaPlayer; begin MP := TJMediaPlayer.Create; MP.setDataSource(??????); <<< Что передать сюда? MP.prepare; MP.start; end; Или как правильно?
-
-
- 3 replies
- 112 views
- 2 followers
-
-
-
-
- 3 replies
- 121 views
- 1 follower
-
-
Здравствуйте. Утянуто с https://github.com/Code-Partners/firemonkey-external-file-viewer/ Теперь FGX-Friendly OpenFile использую сам Спасибо. UExternalFileViewer.zip
-
- 0 replies
- 85 views
- 1 follower
-
-
Возник вопрос по 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 в определенную директорию и в дальнейшем …
-
-
- 1 reply
- 204 views
- 1 follower
-
Recently Browsing 0
- No registered users viewing this page.