Jump to content

Systems permissions

  1. Hello, I would like to know if anyone knows if it is possible to block the app update through AndroidManifest, where it is published on GooglePlay with a more recent version, and the client's server does not yet support this published version.... because in some cases, the device is updating automatically and the Application Server for that version has not been updated.

  2. Started by Edrick,

    I'm following the sample code in the System Permission section of the Documentation but cannot compile due to Incompatible types. Compiler error: [DCC Error] Form.Main.pas(48): E2010 Incompatible types: 'TfgPermissionInfo' and 'System.TArray<FGX.Permissions.TfgPermissionInfo>'

  3. Добрый день! Столкнулся с такой проблемой, что открытие файла для просмотра через интент ACTION_VIEW в Андроид 6.0 не работает. Как я не пытался подставлять разные права доступа FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION, FLAG_GRANT_PREFIX_URI_PERMISSION, FLAG_GRANT_PERSISTABLE_URI_PERMISSION, ничего не получается. Всегда получаем ошибку " Gallery2/UriImage: java.io.FileNotFoundException: Permission denied" procedure TFormMain.btnViewTap(Sender: TObject); begin TfgLog.Debug('Текущий SDK API Level: '+TJBuild_VERSION.SDK_INT.ToString); var AFileName := Format('%slogo.png', [ IncludeTrailingPathDelimiter(TPath.G…

  4. Started by randydom,

    Hello , I've saved a file Eng_Loc.json in . \ Assets \ internal \ when I tried to access it via : ... Loc_File:=TPath.Combine(TPath.GetDocumentsPath,'Eng_Loc.json'); // check file exists ... here Loc_reader:=TStringList.Create; try Loc_reader.LoadFromFile(Loc_File); // Just as a test SettingsLb.text:=Loc_reader.text; finally FreeAndNil(Loc_reader); end; I get this error : Although I deployed it in the correct location : Is that related to some permissions ? or what ? PS : I know I can use AssetsManager but I want to save it in such a location for future use . Thank you all

  5. Пытаюсь скопировать файл в ранее руками созданную папку в корне устройства - пишет "Permissions denied". Даю опять же руками приложению права на память - прекрасно копирует. Далее отнимаю разрешения на память у приложения, пытаюсь создать папку из приложения - ошибок не пишет, но и папку не создаёт. Опять даю руками разрешение на память - папка создаётся. В настройках разрешений для проекта и "Read external storage" и "Write external storage" установлены в True. Какие еще надо установить права, чтобы папка создавалась и файл в эту папку копировался без того, чтобы явно руками давать приложению разрешение на память?

  6. Started by gats,

    Helo, I saved the bitmap on storage but it displays an error, this error is not a problem on Android 9 or earlier. but on Android 10 there will be an error display like this. has anyone found the same problem? i have create and accept runtime permission read and write ext storage.

  7. Есть ли возможность синхронного запроса разрешений? Что бы пока пользователь не ответил на запрос, программа не продолжала выполнение.

Recently Browsing 0

  • No registered users viewing this page.