Jump to content

mausmb

Members
  • Content Count

    50
  • Joined

  • Last visited

Community Reputation

13 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mausmb

    using MediaDrm api for getting unique id on adroid

    B3B4BFBF67D02522F059BB610D9FA6A21D3042F2B45640C3E6A79AF2567B1327 with function ByteArrayToHexString(BA: TArray<Byte>; Sep: string = ''): string; var i, k: integer; begin result:=''; if Sep='' then begin for i:=low(BA) to high(BA) do result := result + IntToHex(BA, 2); end else begin k:=high(BA); for i:=low(BA) to k do begin result:= result + IntToHex(BA, 2); if k<>i then result := result + Sep; end; end; end;
  2. Now everything is ok ! regards, Marjan
  3. Hi, Certificate invalid .. regards, Marjan
  4. It's working 🙂 HowEver result is "certificate invalid" 😞 regards, Marjan
  5. mausmb

    Bug with formatfloat in crossplatform ?

    This solves all scenarios and local settings
  6. mausmb

    Bug with formatfloat in crossplatform ?

    Hi, Use System.SysUtils.FormatSettings.DecimalSeparator one example if FormatSettings.DecimalSeparator = ',' then LText := StringReplace(LText, '.', FormatSettings.DecimalSeparator, [rfReplaceAll]) else LText := StringReplace(LText, ',', FormatSettings.DecimalSeparator, [rfReplaceAll]); br, m
  7. It's configuration... you can choose .. Application store - always generate AAB, develpomnet - APK
  8. Hi, 1. You shouldn't put "targetSdkVersion" version in AndroidManifest file 2. You should upgrade to 10.4.2 (Automatic target version is 29) 3. My apps working with Android 11 (Pixel3, Pixel4,...) " android:requestLegacyExternalStorage="true" " it's only for specific purpose as @Rollo62 pointed out. (Migration storage files) AndroidManifest.template <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="%package%" android:versionCode="%versionCode%" android:versionName="%versionName%" android:installLocation="%installLocation%"> <!-- This is the platform API where NativeActivity was introduced. --> <uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" /> <%uses-permission%> <uses-feature android:glEsVersion="0x00020000" android:required="True"/> <application android:persistent="%persistent%" android:restoreAnyVersion="%restoreAnyVersion%" android:label="%label%" android:debuggable="%debuggable%" android:largeHeap="%largeHeap%" android:requestLegacyExternalStorage="true" android:icon="%icon%" android:theme="%theme%" android:hardwareAccelerated="%hardwareAccelerated%"> <%application-meta-data%> <%services%> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:label="%activityLabel%" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="%libNameValue%" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <%activity%> <%receivers%> </application> </manifest> <!-- END_INCLUDE(manifest) --> AndroidManifest.xml generated from AndroidManifest.template <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="si.ros.RosNZ" android:versionCode="28" android:versionName="1.1.0" android:installLocation="auto"> <!-- This is the platform API where NativeActivity was introduced. --> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="29" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-feature android:glEsVersion="0x00020000" android:required="True"/> <application android:persistent="False" android:restoreAnyVersion="False" android:label="RosNZ" android:debuggable="False" android:largeHeap="False" android:requestLegacyExternalStorage="true" android:icon="@drawable/ic_launcher" android:theme="@style/AppTheme" android:hardwareAccelerated="true"> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:label="RosNZ" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="TESTXXAPP" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" /> </application> </manifest> <!-- END_INCLUDE(manifest) --> Regards, Marjan
  9. Hi, if you're using storage ... Android 11 have upgraded security in AndroidManifest.xml in section application add line android:requestLegacyExternalStorage="true" regards, M
  10. Uses System.Hash; .... var md5kont:ThashMD5; s1:string ... s1:=md5kont.GetHashString(mystringtohash); br, m
  11. mausmb

    Issue with UsesCleaner..

    Duplicate post
  12. mausmb

    TListView OnChange Event Doesn't Fire

    Hi, my temporary solution is : copiing files from delphi 10.3x to local App directory br, M
  13. mausmb

    TListView OnChange Event Doesn't Fire

    Vote for it ! https://quality.embarcadero.com/browse/RSP-30771 br, M
  14. mausmb

    10.4.1 Released today

    Hi, Problems : 1. with debuger (https://quality.embarcadero.com/browse/RSP-30772?filter=-4) - object inspector not working after first selection. 2. ListView "onchange" not fired/working with mouse and/or navigation keys (https://quality.embarcadero.com/browse/RSP-30771?filter=-4) br, m
×