iOS Question B4i Start

Nitin Joshi

Active Member
Licensed User
Longtime User
Is there learning video to build first B4i program including linking Apple Developement account?

I will be very thankful if someone supports...
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Nitin Joshi

Active Member
Licensed User
Longtime User
Dear All, I would like to thanks everyone for support. I have successfully build first APP then i tried to upload my own project however when i clicked on run program, I faced error as attached after message popped up..."Sending data to remote compiler"

Please support...
 

Attachments

  • Error Screenshot.jpg
    Error Screenshot.jpg
    268 KB · Views: 82
Upvote 0

Nitin Joshi

Active Member
Licensed User
Longtime User
Which libraries are you using?
Attached is the screenshot.

My project includes below code to get the broadcast address...
Get Broadcast address:
Private Sub Get_Broadcast_Address As String
    Dim niIterator As JavaObject
    niIterator = niIterator.InitializeStatic("java.net.NetworkInterface").RunMethod("getNetworkInterfaces", Null)
    Do While niIterator.RunMethod("hasMoreElements", Null)
        Dim ni As JavaObject = niIterator.RunMethod("nextElement", Null)
        If ni.RunMethod("isLoopback", Null) = False Then
            Dim addresses As List = ni.RunMethod("getInterfaceAddresses", Null)
            For Each ia As JavaObject In addresses
                Dim broadcast As Object = ia.RunMethod("getBroadcast", Null)
                If broadcast <> Null Then
                    Dim b As String = broadcast
                    Return b.SubString(1)
                End If
            Next
        End If
    Loop
    Return ""
End Sub
 

Attachments

  • Libraries.jpg
    Libraries.jpg
    82.2 KB · Views: 77
Upvote 0
Top