Hi all,
it's very important for me, i use this code to get information for my location...
B4X:
Dim Obj1 As Reflector
Dim cid, lac As Int
Obj1.Target = Obj1.GetContext
Obj1.Target = Obj1.RunMethod2("getSystemService", "phone", "java.lang.String")
Obj1.Target = Obj1.RunMethod("getCellLocation") ' get a GsmCellLocation
cid = Obj1.RunMethod("getCid") ' gsm cell id
lac = Obj1.RunMethod("getLac") ' gsm location area code
Msgbox(cid,"gsm cell id")
Msgbox(lac,"gsm location area code")
with this permission
AddPermission (android.permission.ACCESS_COARSE_LOCATION)
briefly,,,
i mean how to Know location of Incoming calls using cell id and location area code?