

rebotea
Members-
Content Count
7 -
Joined
-
Last visited
Everything posted by rebotea
-
Any help on how to implement permision to make folder if not exist and save files since now i`m not able to do that in Delphi 12.3 before in form create i have PermissionsService.RequestPermissions(['android.permission.READ_EXTERNAL_STORAGE', 'android.permission.WRITE_EXTERNAL_STORAGE','android.permission.CAMERA'], procedure(const APermissions: TArray<string>; const AGrantResults: TArray<TPermissionStatus>) begin end );
-
Here is part of the code! function CaminhoRaiztelm: string; var MusicPathLength: integer; MusicPath, SDCardPath: string; begin MusicPath:=TPath.GetSharedMusicPath; MusicPathLength:=Length(MusicPath); SDCardPath:=Copy(MusicPath, 0, MusicPathLength-5); Result:=SDCardPath; end; PastaGrava:= trim (CaminhoRaiztelm+'Man'); ForceDirectories(PastaGrava); try rs := TResourceStream.Create(HInstance,'Resource_2',RT_RCDATA); FileName1:= (PastaGrava+'/Defeito.pdf') ; if FileExists(fileName1) then else rs.SaveToFile(FileName1); rs.Free;
-
Hi all i need to have instaled FMX.TMSFNCSignatureCapture for DXE15 is there any way to install it?
-
Hi my App uses save images and text files how can i change my path so i can continue save and load files or images? Thanks PermissionsService.RequestPermissions(['android.permission.READ_EXTERNAL_STORAGE', 'android.permission.WRITE_EXTERNAL_STORAGE','android.permission.CAMERA'], function CaminhoRaiztelm: string; var MusicPathLength: integer; MusicPath, SDCardPath: string; begin MusicPath:=TPath.GetPublicPath; MusicPathLength:=Length(MusicPath); SDCardPath:=Copy(MusicPath, 0, MusicPathLength-5); Result:=SDCardPath; end; load and save files //PastaGrava:= trim (CaminhoRaiztelm+'Manut');
-
Hi i have i issue like many people i think wit Delphi Sydney- Android compilation for 32 i have try the solution below but i have a error when load to Google. Is there another workaround? Thanks First all i use: and i change from <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="32" /> android:exported="true" and i get a error when i load file to https://play.google.com developer.android.com/about/versions/12/behavior-changes-12#exported
-
Thank´s i missed that parte!
-
my AndroidManifest.xml <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.embarcadero.ot.fileprovider" android:exported="true" android:grantUriPermissions="true"> <meta-data error Uploaded an APK or Android App Bundle that has an activity, activity alias, service, or streaming receiver with an intent filter, but no "android:exported" property set. Cannot install this file on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported