tivity.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

+ 1 - 1
app/src/main/java/com/electric/chargingpile/activity/PrivateZhuangInfoActivity.java

@ -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);

+ 2 - 0
app/src/main/java/com/electric/chargingpile/activity/SearchActivity.java

@ -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"));

+ 1 - 1
app/src/main/java/com/electric/chargingpile/activity/SearchAllActivity.java

@ -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"));

cdzApp - Gogs: Go Git Service

充电桩app代码

.gitignore 1.2KB

    # Created by .ignore support plugin (hsz.mobi) ### Android template # Built application files *.apk *.ap_ # Files for the ART/Dalvik VM *.dex # Java class files *.class # Generated files bin/ gen/ out/ bugly # Gradle files .gradle/ build/ # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse proguard/ # Log Files *.log # Android Studio Navigation editor temp files .navigation/ # Android Studio captures folder captures/ # IntelliJ *.iml .idea/workspace.xml .idea/tasks.xml .idea/gradle.xml .idea/assetWizardSettings.xml .idea/dictionaries .idea/libraries .idea/caches # Keystore files # Uncomment the following line if you do not want to check your keystore files in. #*.jks # External native build folder generated in Android Studio 2.2 and later .externalNativeBuild # Google Services (e.g. APIs or Firebase) google-services.json # Freeline freeline.py freeline/ freeline_project_description.json # fastlane fastlane/report.xml fastlane/Preview.html fastlane/screenshots fastlane/test_output fastlane/readme.md ### Example user template template ### Example user template .idea/codeStyles/ .idea/inspectionProfiles/ .idea/misc.xml .idea/modules.xml .idea/runConfigurations.xml .idea/vcs.xml