fix bug of location to upload socket server
This commit is contained in:
23
app/src/main/res/layout/activity_location.xml
Normal file
23
app/src/main/res/layout/activity_location.xml
Normal 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>
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user