Hello,
i'm using this code to get cell info :
the result is something like this :
is there any method to convert this string (Cell) to an object so i can access to the parameters (mMcc, mMnc & ...)?
i'm using this code to get cell info :
B4X:
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 result is something like this :
B4X:
CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=129299157826521ns CellIdentityWcdma:{ mMcc=432 mMnc=11 mLac=34200 mCid=2693318 mPsc=361 mUarfcn=0} CellSignalStrengthWcdma: ss=18 ber=62}
is there any method to convert this string (Cell) to an object so i can access to the parameters (mMcc, mMnc & ...)?