ass="lines-num lines-num-old"> 280
                android:layout_alignParentTop="true"
281
                android:layout_centerHorizontal="true" />
279
                android:textSize="12sp" />
282 280
283 281
            <TextView
284 282
                android:id="@+id/tv_cost"
@ -286,17 +284,16 @@
286 284
                android:layout_height="wrap_content"
287 285
                android:layout_alignParentBottom="true"
288 286
                android:layout_centerHorizontal="true"
287
                android:layout_centerVertical="true"
289 288
                android:text="--"
290
                android:textSize="21sp"
291 289
                android:textColor="@color/ui_62"
292
                android:layout_centerVertical="true"/>
290
                android:textSize="21sp" />
293 291
294 292
        </RelativeLayout>
295 293
296 294
    </LinearLayout>
297 295
298 296
299
300 297
    <RelativeLayout
301 298
        android:layout_width="match_parent"
302 299
        android:layout_height="match_parent">
@ -309,7 +306,7 @@
309 306
            android:layout_alignParentRight="true"
310 307
            android:layout_marginTop="21dp"
311 308
            android:layout_marginRight="13dp"
312
            android:visibility="gone"/>
309
            android:visibility="gone" />
313 310
314 311
        <TextView
315 312
            android:id="@+id/tv_activity"
@ -319,22 +316,24 @@
319 316
            android:layout_centerHorizontal="true"
320 317
            android:paddingTop="20dp"
321 318
            android:paddingBottom="15dp"
322
            android:textSize="14sp"
323 319
            android:text=""
324 320
            android:textColor="#ffa900"
325
            android:visibility="visible"/>
321
            android:textSize="14sp"
322
            android:visibility="visible" />
326 323
327 324
        <TextView
328 325
            android:id="@+id/tv_stop"
329
            android:layout_width="165dp"
330
            android:layout_height="39dp"
331
            android:background="@drawable/bg_text_yuanlvline_whitebg"
332
            android:text="结束充电"
326
            android:layout_width="match_parent"
327
            android:layout_height="40dp"
328
            android:layout_alignParentBottom="true"
329
            android:layout_marginLeft="15dp"
330
            android:layout_marginRight="15dp"
331
            android:layout_marginBottom="15dp"
332
            android:background="@drawable/bg_tv_stop_green"
333 333
            android:gravity="center"
334
            android:layout_centerInParent="true"
335
            android:textSize="16sp"
336
            android:textColor="@color/lvse"/>
337
334
            android:text="结束充电"
335
            android:textColor="@color/white"
336
            android:textSize="16sp" />
338 337
    </RelativeLayout>
339 338
340 339
</LinearLayout>

+ 0 - 87
zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java

@ -1388,91 +1388,4 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal
1388 1388
            }
1389 1389
        });
1390 1390
    }
1391
1392
//    private void getChargingPile(final String result){
1393
//        String web_url = url+"/zhannew/basic/web/index.php/interface/info?flag=1&user_id="+user_id+"&url="+result;
1394
//        Log.e(TAG, web_url );
1395
//        OkHttpUtils.get().url(web_url).build().execute(new StringCallback() {
1396
//            @Override
1397
//            public void onError(Call call, Exception e) {
1398
//
1399
//            }
1400
//
1401
//            @Override
1402
//            public void onResponse(String response) {
1403
//                if (loadingDialog.isShowing()){
1404
//                    loadingDialog.dismiss();
1405
//                }
1406
//                Log.e(TAG, "onResponse: getChargingPile11="+response );
1407
//                String code = JsonUtils.getKeyResult(response,"code");
1408
//                if (code.equals("200")){
1409
//                    String group_id = JsonUtils.getKeyResult(response,"group_id");
1410
//                    String eletype = JsonUtils.getKeyResult(response,"eletype");
1411
//                    String type = JsonUtils.getKeyResult(response,"type");
1412
//                    String pile_code = JsonUtils.getKeyResult(response,"pile_code");
1413
//                    if (type.equals("jd")){
1414
//                        startHssy(pile_code,group_id,type);
1415
//                    }else {
1416
//                        Intent intent = new Intent();
1417
//                        intent.setClassName("com.electric.chargingpile", "com.electric.chargingpile.activity.TLDLoadingActivity");
1418
//                        intent.putExtra("type",type);
1419
//                        intent.putExtra("eletype",eletype);
1420
//                        intent.putExtra("chargingCode",pile_code);
1421
//                        intent.putExtra("group_id",group_id);
1422
//                        startActivity(intent);
1423
//                        finish();
1424
//                    }
1425
//
1426
//                }else {
1427
//                    String error_message = JsonUtils.getKeyResult(response,"error_message");
1428
////                    ToastUtils.showShort("");
1429
//                    ToastUtil.showToast(getApplicationContext(),error_message,Toast.LENGTH_SHORT);
1430
//                    new Handler().postDelayed(new Runnable() {
1431
//                        public void run() {
1432
//                            restartPreviewAfterDelay(0L);
1433
//                        }
1434
//                    }, 1500);
1435
//                }
1436
//            }
1437
//        });
1438
//    }
1439
//
1440
//    private void startHssy(String pile_code,String group_id,String type){
1441
//        long appTime1 = System.currentTimeMillis() / 1000;
1442
//        long updatetime = appTime1 - cha - 3;
1443
//        String token = String.valueOf(updatetime);
1444
//        String s = "group_id="+group_id+"&password="+user_password+"&pile_code="+pile_code+"&timer="+token+"&type="+type+"&user_id="+user_id+"&key=661f9efdcb4f46fe7ab5f2e78a705a2a";
1445
//        String web_url = url+"/zhannew/basic/web/index.php/interface/start_v2?" +
1446
//                "ver=1.0&type="+type+"&timer="+token+"&user_id="+user_id+"&pile_code="
1447
//                +pile_code+"&group_id="+group_id+"&password="+user_password+"&sign="+ Md5Util.md5(s);
1448
//        Log.e(TAG, "startHssy: url="+web_url );
1449
//        OkHttpUtils.get().url(web_url).build().execute(new StringCallback() {
1450
//            @Override
1451
//            public void onError(Call call, Exception e) {
1452
//
1453
//            }
1454
//
1455
//            @Override
1456
//            public void onResponse(String response) {
1457
//                Log.e(TAG, "onResponse: startHssy="+response );
1458
//                String code = JsonUtils.getKeyResult(response,"code");
1459
//                if (code.equals("200")){
1460
//                    Intent intent = new Intent();
1461
//                    intent.setClassName("com.electric.chargingpile", "com.electric.chargingpile.activity.ChargingStatusActivity");
1462
//                    startActivity(intent);
1463
//                    finish();
1464
//                }else {
1465
//                    String error_message = JsonUtils.getKeyResult(response,"error_message");
1466
//                    ToastUtil.showToast(getApplicationContext(),error_message,Toast.LENGTH_SHORT);
1467
//                    new Handler().postDelayed(new Runnable() {
1468
//                        public void run() {
1469
//                            restartPreviewAfterDelay(0L);
1470
//                        }
1471
//                    }, 1500);
1472
//                }
1473
//            }
1474
//        });
1475
//    }
1476
1477
1478 1391
}

cdzApp - Gogs: Go Git Service

充电桩app代码

huyuguo 6a256dfb15 代码提交 5 years ago
.idea ad7d3228bc 车主认证图片上传 5 years ago
XRefreshView 319397b60f 配置信息优化 6 years ago
app 6a256dfb15 代码提交 5 years ago
autolayout 319397b60f 配置信息优化 6 years ago
gradle b98aa2e34f 代码修改 6 years ago
keystore 06bd894653 init 7 years ago
library 319397b60f 配置信息优化 6 years ago
zxing 319397b60f 配置信息优化 6 years ago
.gitignore a90ec777b5 视频功能完成 6 years ago
README.md 9f927f0d57 列表开发 6 years ago
build.gradle 06d8b7460a 代码更新 6 years ago
gradle.properties 2ccff5dbe6 配置优化 6 years ago
gradlew 3473529e39 fix video play exception 7 years ago
gradlew.bat e1cf244fe0 remove Useless dependence 7 years ago
icon_sgreen.png e1cf244fe0 remove Useless dependence 7 years ago
settings.gradle a90ec777b5 视频功能完成 6 years ago

README.md

地图首页

MainMapActivity.java
activity_main_map.xml

智能推荐(地图首页右下角)

RecommendZhanActivity.java
activity_recommend_zhan.xml
item_recommend_zhan.xml

筛选(地图首页)

NewScreenActivity.java
activity_new_screen.xml

列表(地图首页右上角,旧功能由推荐替换)

ZhanListActivity.java
activity_zhan_list.xml

推荐

RecommendChargingStationActivity.java
activity_recommend_charging_station.xml
recommend_charging_station_item.xml

站点详情

NewZhanDetailsActivity.class
activity_new_zhan_details.xml
DetailsFragment.java
fragmen_details_new.xml

cdzApp - Gogs: Go Git Service

充电桩app代码

.gitignore 1.3KB

    # 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 */.DS_Store # 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 .idea/encodings.xml *.hprof