fix bug of location to upload socket server

This commit is contained in:
zhongchao
2021-11-17 17:14:22 +08:00
parent d3d355c442
commit 444b7a4c68
23 changed files with 1113 additions and 25 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".LocationActivity">
<Button
android:id="@+id/snapshotLocStart"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="开启定位上传" />
<Button
android:id="@+id/snapshotLocStop"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="结束定位上传" />
</LinearLayout>

View File

@@ -66,6 +66,12 @@
android:layout_height="match_parent"
android:text="实时数据测试" />
<Button
android:id="@+id/btnJumpLocation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="每5秒上报" />
<Button
android:id="@+id/btnJumpRoadcondition"
android:layout_width="match_parent"