Android Example USB Serial service

Discussion in 'Tutorials & Examples' started by camolas, Jan 29, 2015.

  1. camolas

    camolas Member Licensed User

    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
     

    Attached Files:

    jjcc likes this.
  2. raphaelcno

    raphaelcno Active Member Licensed User

    You can change
    Code:
    Sub GetResult(Result As String , Result2 As String)
    to
    Code:
    Sub GetResult(Result As Boolean, Result2 As Boolean)
    (Boolean instead of String)
     
  3. NJDude

    NJDude Expert Licensed User

    Your sample doesn't compile on B4A 4.0, I get THIS error.
     
  4. camolas

    camolas Member Licensed User

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

    Thanks

    camolas
     
  5. camolas

    camolas Member Licensed User

    Sorry to hear that, l dont have B4A 4.0 to test it.

    Thanks

    camolas
     
  6. raphaelcno

    raphaelcno Active Member Licensed User

    Last edited: Jan 29, 2015
  7. raphaelcno

    raphaelcno Active Member Licensed User

    I just saw that you call the GetResult Sub with
    Code:
    CallSubDelayed3(Main, "GetResult"TrueFalse)
    where True and False are Boolean.
     
  8. NJDude

    NJDude Expert Licensed User

    When posting code, the author should be the one indicating what is needed, otherwise, issues like this will happen.
     
    raphaelcno likes this.
  9. camolas

    camolas Member Licensed User

    Just corrected the code, thanks for pointing that :)

    cam
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice