看了好多个代码,大多都这么写的,不知道为啥标红线,求各位看看!
SDKInitializer.initialize( getApplicationContext() );
client = new LocationClient(getApplicationContext());
client.registerLocationListener(new MyBaiduMap());
setContentView(R.layout.activity_main);
看了好多个代码,大多都这么写的,不知道为啥标红线,求各位看看!
SDKInitializer.initialize( getApplicationContext() );
client = new LocationClient(getApplicationContext());
client.registerLocationListener(new MyBaiduMap());
setContentView(R.layout.activity_main);