Android Example USB Serial service

Hi all,

My contribute to the community a USB Serial service, you can add more activitys...

If you like this please press "like"

Thanks

camolas
 

Attachments

  • UsbSerial_respose_service.zip
    9.7 KB · Views: 998

raphael75

Active Member
Licensed User
Longtime User
You can change
B4X:
Sub GetResult(Result As String , Result2 As String)
to
B4X:
Sub GetResult(Result As Boolean, Result2 As Boolean)
(Boolean instead of String)
 

camolas

Member
Licensed User
Longtime User
You can change
B4X:
Sub GetResult(Result As String , Result2 As String)
to
B4X:
Sub GetResult(Result As Boolean, Result2 As Boolean)
(Boolean instead of String)

Can you please explain what are the benefits of the change ?

Thanks

camolas
 

raphael75

Active Member
Licensed User
Longtime User
Can you please explain what are the benefits of the change ?
camolas
I just saw that you call the GetResult Sub with
B4X:
CallSubDelayed3(Main, "GetResult", True, False)
where True and False are Boolean.
 
Top