

radekc
-
Content Count
7 -
Joined
-
Last visited
Posts posted by radekc
-
-
I have same problem on RDP.
Look like Flicker happens when CodeInsight show Done (maybe they need refressh window). CodeInsight is started every time a key is pressed. Disabling CodeInsigh (and Restart LSP) block flickering but I need LSP .
-
IF you want use EXTERNAL_MANAGE_STORAGE and use same code as before (on Android 13 required, introduced in Android 11), your user must enable all access, you can invoke dialog with this code (working code based on Kastri library)
class function TMainForm.NeedsAllFilesAccessPermission: Boolean; begin Result := TOSVersion.Check(11) and not TJEnvironment.JavaClass.isExternalStorageManager; end; class function TMainForm.ShowAllFilesAccessPermissionSettings: Boolean; var LIntent: JIntent; LUri: Jnet_Uri; LAction: JString; begin Result := False; if NeedsAllFilesAccessPermission then begin LUri := TJnet_Uri.JavaClass.fromParts(StringToJString('package'), TAndroidHelper.Context.getPackageName, nil); LAction := StringToJString('android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION'); LIntent := TJIntent.JavaClass.init(LAction, LUri); TAndroidHelper.Context.startActivity(LIntent); Result := True; end; end;
-
Solved, for future: use https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxEdit.pas
as example, refactor for your JView.
-
Hi,
I wrapped 3rd party JView java component with class based on TAndroidNativeView, but now I am lost. Everything is created, dynamic library from 3rd party is loaded (debugger is show it), I can call methods, but how I show it on form or on layout?
I see created parent Layout in TAndroidNativeView, but how I parent this layout with FMX? I looked in FMX in Android MapView, but I don't know.
-
Solved:
if you use d8 for dexing, use Java 8 (as expected), but don't use
--no-desugaring
param.-
1
-
-
Hi, I am try use 3rd party library (https://developers.arcgis.com/android/latest/java/sample-code/display-a-map/)and after some battle and fixed resources I get run-time errorjava.lang.BootstrapMethodError: Exception from call site #2 bootstrap method
every solution on web recommended for Android studio
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
Multipart/form-data vs x-www-form-urlencoded (Indy HTTP server)
in Network, Cloud and Web
Posted
If you want, you can use great mime decoder from synapse, works with binary data in mime
use mimepart, mimemess, synautil