|
|
|
|
2251
|
switch (v.getId()) {
|
2251
|
switch (v.getId()) {
|
2252
|
case R.id.iv_tuijian:
|
2252
|
case R.id.iv_tuijian:
|
2253
|
if (hasLocationPermission()) {
|
2253
|
if (hasLocationPermission()) {
|
|
|
2254
|
if (center == null) {
|
|
|
2255
|
Toast.makeText(getApplication(), "没有定位到您的当前位置,请稍后重试", Toast.LENGTH_SHORT).show();
|
|
|
2256
|
return;
|
|
|
2257
|
}
|
2254
|
MobclickAgent.onEvent(getApplicationContext(), "0111");
|
2258
|
MobclickAgent.onEvent(getApplicationContext(), "0111");
|
2255
|
Intent i = new Intent(getApplicationContext(), RecommendZhanActivity.class);
|
2259
|
Intent i = new Intent(getApplicationContext(), RecommendZhanActivity.class);
|
2256
|
i.putExtra("center_jing", String.valueOf(center.longitude));
|
2260
|
i.putExtra("center_jing", String.valueOf(center.longitude));
|