Jump to content
FabDev

RTL.PhotoWall Sample using BlueTooth freeze at start on Android

Recommended Posts

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 by FabDev

Share this post


Link to post

@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
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 ? :classic_huh:

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
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 by FabDev

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×