B4J Question Linux Port

BarryW

Active Member
Licensed User
Here is my code.

B4X:
Sub Process_Globals
    Dim serial As Serial
End Sub

Sub AppStart (Args() As String)
    serial.Initialize("")
    For Each port As String In serial.ListPorts
        Log(port)
    Next
End Sub
No logs has been printed. I used "java -jar app.java" in Linux
 

OliverA

Expert
Licensed User
Top