no "Strict mode" lines.
UPDATE :
jCamera is finally working perfectly on my Android 9 device. NO Strictmode.
I had written before that I couldn't understand the error, since the code in Lawm seemed to me within what the official Android documentation points to. In fact, after countless tests and rebuilds, I decided to delete the android_wizard in lawm folder.
I Extract the original "android_wizard" folder to the correct location and did what JM indicated:
I copied jSupported.java
from lazandroidmodulewizard-master \ android_wizard \ smartdesigner \ java \ support \
to lazandroidmodulewizard-master\ android_wizard \ smartdesigner \ java \.
Then I opened the appcamerademo and did the conversion to use gladde: Tools \ [Lawm] Android Module Wizard \ Convert the project to appcompat Theme.
Next :
added in Manifest
<provider
android: name = "android.support.v4.content.FileProvider"
android: authorities = "com.example.appcamerademo.provider"
android: exported = "false"
android: grantUriPermissions = "true">
<meta-data
android: name = "android.support.FILE_PROVIDER_PATHS"
android: resource = "@ xml / provider_paths" />
</provider>
in created in res \ xml the file provider_paths.xml
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="
http://schemas.android.com/apk/res/android">
<external-path name="external_files" path="."/>
</paths>
Finally: Build Android Apk and Run (in device).
That is all.
Thanks to Jm and everyone who allows us to use Lazarus and Android.
PS :
My "config"
android-ndk-r10e-windows-x86
android-sdk_r24.4.1-windows
gradle-6.5-all
jdk-8u251-windows-x64.exe
JavaSetup8u251.exe
Important :
Everything is working as expected now. When starting New Project with "add support", jSupported.java is automatically copied and
{
............. ..........
implementation com.android.support:support-v4:28.+'
}.....
So,only add provider needed in manifest and add provider_paths.