Lazarus

Programming => Operating Systems => Android => Topic started by: freris on July 03, 2022, 08:27:41 am

Title: LAMW - AppShareFileDemo1 and AppBluetoothDemo1 crashes on Android 11
Post by: freris on July 03, 2022, 08:27:41 am
Hi to All !

I have tried the AppShareFileDemo1, and  AppBluetoothDemo1 apps crash when I select share file or send file.

I am on Android 11 and Samsung Galaxy A10 phone not rooted.
Also i have Location and Bluetooth open and I have given the necessary permissions.

I have the latest LAMW version, LazAndroid 2.0, Ndk = r17c and jdk1.8.0_211,

Any suggestions ?

Thank you
Title: Re: LAMW - AppShareFileDemo1 and AppBluetoothDemo1 crashes on Android 11
Post by: jmpessoa on July 05, 2022, 07:51:44 pm
Hi, freris!

regrettably, Android has become increasingly restrictive to access  phones folder .....

and in fact there is now a new paradigm and you can try it testing demo "AppPublicFoldersAccessDemo1"
Title: Re: LAMW - AppShareFileDemo1 and AppBluetoothDemo1 crashes on Android 11
Post by: freris on July 05, 2022, 09:04:46 pm
Hi jmpessoa!

Thank you very much.

Tomorrow  I will try to use intent to send file to bluetooth!

Have a nice day!
Title: Re: LAMW - AppShareFileDemo1 and AppBluetoothDemo1 crashes on Android 11
Post by: freris on July 06, 2022, 04:29:15 pm
Hi again jmpessoa!

I tryed today your advise and yes i can send files from Android to Raspberry PI.

Thank you for your advise!

Have a nice day!

TinyPortal © 2005-2018