eee7c5fcdcc661c2a4d413b0244fL3446">3446
|
// Temperature.setText(weatherlive.getTemperature()+"°");
|
|
3447
|
|
// wind.setText(weatherlive.getWindDirection()+"风 "+weatherlive.getWindPower()+"级");
|
|
3448
|
|
// humidity.setText("湿度 "+weatherlive.getHumidity()+"%");
|
|
3449
|
3043
|
} else {
|
|
3450
|
|
// ToastUtil.show(WeatherSearchActivity.this, R.string.no_result);
|
|
3451
|
3044
|
}
|
|
3452
|
3045
|
} else {
|
|
3453
|
3046
|
ToastUtil.showToast(MainMapActivity.this, rCode + "", Toast.LENGTH_SHORT);
|
|
|
@ -3471,17 +3064,9 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
|
|
3471
|
3064
|
Log.e(TAG, "onWeatherForecastSearched: " + list.get(a).getNightWeather());
|
|
3472
|
3065
|
|
|
3473
|
3066
|
}
|
|
3474
|
|
|
|
3475
|
|
// reporttime1.setText(weatherlive.getReportTime()+"发布");
|
|
3476
|
|
// weather.setText(weatherlive.getWeather());
|
|
3477
|
|
// Temperature.setText(weatherlive.getTemperature()+"°");
|
|
3478
|
|
// wind.setText(weatherlive.getWindDirection()+"风 "+weatherlive.getWindPower()+"级");
|
|
3479
|
|
// humidity.setText("湿度 "+weatherlive.getHumidity()+"%");
|
|
3480
|
3067
|
} else {
|
|
3481
|
|
// ToastUtil.show(WeatherSearchActivity.this, R.string.no_result);
|
|
3482
|
3068
|
}
|
|
3483
|
3069
|
} else {
|
|
3484
|
|
// ToastUtil.showToast(MainMapActivity.this, rCode+"",Toast.LENGTH_SHORT);
|
|
3485
|
3070
|
}
|
|
3486
|
3071
|
}
|
|
3487
|
3072
|
|
|
|
@ -309,7 +309,7 @@ public class PrivateZhuangInfoActivity extends Activity implements View.OnClickL
|
|
309
|
309
|
selectBitmap[0] = null;
|
|
310
|
310
|
selectBitmap[1] = null;
|
|
311
|
311
|
selectBitmap[2] = null;
|
|
312
|
|
|
|
|
312
|
|
|
313
|
313
|
pop = new PopupWindow(PrivateZhuangInfoActivity.this);
|
|
314
|
314
|
|
|
315
|
315
|
View view = getLayoutInflater().inflate(R.layout.item_popupwindows, null);
|
|
|
@ -277,6 +277,7 @@ public class SearchActivity extends Activity implements OnClickListener, Inputti
|
|
277
|
277
|
@Override
|
|
278
|
278
|
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
|
279
|
279
|
Intent intent = new Intent();
|
|
|
280
|
intent.putExtra("from", "search_from_activity");
|
|
280
|
281
|
intent.putExtra("zhan_name", historyInfoList.get(position).getIds());
|
|
281
|
282
|
intent.putExtra("jing", historyInfoList.get(position).getJing());
|
|
282
|
283
|
intent.putExtra("wei", historyInfoList.get(position).getWei());
|
|
|
@ -314,6 +315,7 @@ public class SearchActivity extends Activity implements OnClickListener, Inputti
|
|
314
|
315
|
SimpleCursorAdapter historyAdapter = new SimpleCursorAdapter(SearchActivity.this, R.layout.history_item, c, from, to, 0);
|
|
315
|
316
|
historyList.setAdapter(historyAdapter);
|
|
316
|
317
|
Intent intent = new Intent();
|
|
|
318
|
intent.putExtra("from", "search_from_activity");
|
|
317
|
319
|
intent.putExtra("zhan_name", addressList.get(position).get("name"));
|
|
318
|
320
|
intent.putExtra("jing", addressList.get(position).get("jing"));
|
|
319
|
321
|
intent.putExtra("wei", addressList.get(position).get("wei"));
|
|
|
@ -84,7 +84,7 @@ public class SearchAllActivity extends AppCompatActivity {
|
|
84
|
84
|
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
|
85
|
85
|
Intent intent = new Intent();
|
|
86
|
86
|
intent.setClass(getApplicationContext(), MainMapActivity.class);
|
|
87
|
|
intent.putExtra("from", "search_all_activity");
|
|
|
87
|
intent.putExtra("from", "search_from_activity");
|
|
88
|
88
|
intent.putExtra("zhan_name", addressAllList.get(position).get("name"));
|
|
89
|
89
|
intent.putExtra("jing", addressAllList.get(position).get("jing"));
|
|
90
|
90
|
intent.putExtra("wei", addressAllList.get(position).get("wei"));
|