FabDev 8 Posted May 17, 2023 (edited) Hello, Does somebody successfully build this with Delphi 11.3 : https://docwiki.embarcadero.com/CodeExamples/Alexandria/en/RTL.PhotoWall_Sample https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object Pascal/Multi-Device Samples/Device Sensors and Services/App Tethering/PhotoWall Project "MobilePhotoApp.dpr" on Android with : AllowedAdapters := Bluetooth; Set by default (= in design time), because my App always freeze at start on Android. On IOS 15, using Bluetooth this app crash after splash screen too. Even with : TakePhotoManager.enabled:=false; TakePhotoAppProfile.enabled:=false; Tested on different Android version (8.1 and 10) and different smartphone. But it's work fine if AllowedAdapters := Network So the big question it is does Tethering work on BlueTooth on Android and IOS ? Edited May 17, 2023 by FabDev Share this post Link to post
programmerdelphi2k 237 Posted May 17, 2023 @FabDev then, try comment this line Quote procedure TForm49.FormShow(Sender: TObject); begin // FindWalls; end; now, put a new button on "MobilePhotoApp" to call "FindWalls" manually... that way, you can use Debug to trace it... understood? Share this post Link to post
FabDev 8 Posted May 17, 2023 1 hour ago, programmerdelphi2k said: @FabDev then, try comment this line Hello, Nice idea thank you. To say the truth, I haven't read the code : It's a "default" sample so it's should work ? That's true in my experience call complex functions on FormShow is never a good idea on IOS and Android ! That is more there is already a refresh button which call "FindWalls". Now the problem it is on bluetooth (with my android associated to my Microsoft Surface) list of receiver stay empty. Does somebody has been able to operate App Tethering on bluetooth between an Android and a Windows application ? I have tested using network (= wifi) and it's work fine... Share this post Link to post
programmerdelphi2k 237 Posted May 17, 2023 some Firewall/Antivirus rules active ? Share this post Link to post
FabDev 8 Posted May 24, 2023 (edited) On 5/17/2023 at 6:04 PM, programmerdelphi2k said: some Firewall/Antivirus rules active ? It's work on Wifi not Bluetooth. I have tried to add "DestopWallApp" to firewall exception or disable Firewall etc.. => No change. My Android is connected to my Windows in the bluetooth list in both side... My big question is : Does somebody has managed to operate RTL.PhotoWall Sample using BlueTooth between a Windows (Microsoft Surface for example) and an Android (or IOS) ? I only successfully do it using Network... Edited May 24, 2023 by FabDev Share this post Link to post