Dim Cell As String
Dim telMgr As JavaObject = GetContext.RunMethod("getSystemService", Array("phone"))
Dim LstCellInfo As List = telMgr.RunMethod("getAllCellInfo", Null)
If (LstCellInfo.Size > 0) Then
Cell = LstCellInfo.Get(0)
Log(Cell)
End If
The returned value from LstCellInfo.Get(0) is a CellInfo Object, It is displaying the result of the toString method from CellInfo.
If you Dim Cell As JavaObject instead of String, you will then be able to access it's methods. I don't know if there is an existing library that includes CellInfo.
The returned value from LstCellInfo.Get(0) is a CellInfo Object, It is displaying the result of the toString method from CellInfo.
If you Dim Cell As JavaObject instead of String, you will then be able to access it's methods. I don't know if there is an existing library that includes CellInfo.