Jump to content

Ian F

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by Ian F

  1. Ian F

    OpenSSL fails to Load

    Moving My application to D 11.2 Android 13 and android 64 bit on a Pixel 4 XL. get a message that openSSL fails to load Have put libcrypto.so and libssl.so for OpenSSL 1.0.2g Android\Android\armeabi-v7a in deployment to .\assets\internal\ ( this worked on the Android32 bit app D 10.4) these were downloaded from the indy sockets/ Openssl binarys using IdSSLOpenSSLHeaders.WhichFailedToLoad() I get the result "Failed to load /data/user/0/com.embarcadero.<MyApp>/files/libcrypto.so." Tried dropping them in the above directory but ended with the same result not clear if I have the wrong versions of the *.so files ( I think the pixel processor is armabi-V8) or whether I am placing the files in the wrong folder at Deployment have found some notes in my search's that perhaps I Should " statically build OpenSSL directly into your app binary" if this is necessary can anyone point me to some notes on how to achive this thanks in advance Ian
  2. using Delphi 11.2 Android 64 bit I Have an App which reads a geo referenced pdf file and overlays it on a map worked fine on earlier versions of android but in the later versions of android when I go to file selection no files are shown I presume this is caused by the permissions changing have requested read and write external permissions but still dont see them and tried both shared documents and shard downloads paths I Use a simple file selection screen to list eligible files and select any ideas of what I need to do to make the files visible from the downloads folder would be greatly appreciated Thanks in advance Ian
  3. Ian F

    OpenSSL fails to Load

    Thanks for your informative reply Have found some binaries at dfeprado / prebuilt-openssl-1.0.2f that might work Looking at some notes of yours on Stack overflow about Static Load It Currently Targets .a files if does this need to change to .so files for android and where about do the .a or .so files need to reside so the compiler finds them Regards Ian
  4. for some time Debugging Android fails to stop at breakpoints this has been happening for some time in D10.4 so tried moving up to D11.2 same issue is occurring any help ides Greatly appreciated Regards Ian
  5. I am Moving an Android Project from D10.4 to D11.2 Have Managed to sort Most things but when I go To compile The service that allows Backgound Activity get the following [Exec Error] The command ""C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\javac" -g -Xlint:deprecation -source 11 -target 11 -encoding UTF-8 -d "E:\Data11\M-Planter\MPlanterService\JavaClasses\MPlanterService" -classpath "C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.46141.0937\platforms\android-32\android.jar"; "c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-1.5.0-rc02.jar";"c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\fmx.jar" --system "C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot" .\Android\Debug\MPlanterService.java .\Android\Debug\MPlanterServiceProxyInterface.java" exited with code 2. any Ideas or sugestions greatl appreciated Regards Ian
  6. Ian F

    error compling Android Service

    Thanks Dave worked perfectly
  7. Ian F

    error compling Android Service

    yes pretty sure have achieved that works fine on the main app
×