/**
* Called when the activity is first created.
*/
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
log.info("Starting MapViewer");
setUpMapIfNeeded();
mDbHelper = new RealmHelper(this);
tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
// Bind to LocalService
Intent intent = new Intent(this, AimsicdService.class);
bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION |
PhoneStateListener.LISTEN_DATA_CONNECTION_STATE);
}
MapViewerOsmDroid.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:Android-IMSI-Catcher-Detector
作者:
评论列表
文章目录