Hello i'm Marco.
i'm new user of this forum basic4android and beginners with java , i need write one library to read all RF information of the gsm or umts Cell (SC - CID - LAC - rxlevel - ic/io(umts) rxquality(gsm) neighbor(gsm/umts) etc).
i begin with a simple code but the result is only -1.
can you explain me where are the problem?
Thanks in advance.
Best Regards
Marco
package netmonitor;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import android.telephony.gsm.*;
@ShortName("Netmonitor")
@Version(1.0f)
@Author("Marco")
public class netmonitor {
public int cell(){
GsmCellLocation result = new GsmCellLocation();
int cid = result.getCid();
return cid;
}
}
i'm new user of this forum basic4android and beginners with java , i need write one library to read all RF information of the gsm or umts Cell (SC - CID - LAC - rxlevel - ic/io(umts) rxquality(gsm) neighbor(gsm/umts) etc).
i begin with a simple code but the result is only -1.
can you explain me where are the problem?
Thanks in advance.
Best Regards
Marco
package netmonitor;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import android.telephony.gsm.*;
@ShortName("Netmonitor")
@Version(1.0f)
@Author("Marco")
public class netmonitor {
public int cell(){
GsmCellLocation result = new GsmCellLocation();
int cid = result.getCid();
return cid;
}
}