Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
石璀亮
/
agenew_a16_sos
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f6297400
authored
Apr 04, 2019
by
cuiliang.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Model 界面更新
1 parent
fb6a86d8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
7 deletions
README.md
app/src/main/java/com/agenew/location_server/application/BirdService.java
app/src/main/res/layout/location_msg.xml
app/src/main/res/values/strings.xml
build.gradle
gradle/wrapper/gradle-wrapper.properties
README.md
View file @
f629740
...
...
@@ -85,3 +85,6 @@ http://202.100.179.139:8088/api
传入cfgv <= YYYYMMDDHH 下发配置,切换至url http://202.100.179.139:8088/api_b
时间间隔为 1-5的随机数
*#*
#737678#
*#*
\ No newline at end of file
app/src/main/java/com/agenew/location_server/application/BirdService.java
View file @
f629740
...
...
@@ -326,8 +326,6 @@ public class BirdService extends Service {
String
temp_model
=
Build
.
MODEL
;
mModel
=
temp_model
.
trim
().
replaceAll
(
" "
,
""
);
// mModel = "HBA7+";
}
}
app/src/main/res/layout/location_msg.xml
View file @
f629740
...
...
@@ -4,7 +4,6 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"30dp"
android:padding=
"10dp"
android:orientation=
"vertical"
>
...
...
@@ -27,7 +26,6 @@
<TextView
android:id=
"@+id/url"
android:layout_marginTop=
"20dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/url"
...
...
@@ -40,9 +38,25 @@
android:layout_height=
"wrap_content"
/>
<!--<TextView-->
<!--android:layout_marginTop="20dp"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="@string/user_tips_title"/>-->
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/user_tips_content"
/>
<!--<EditText-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="@string/other_tips"/>-->
<LinearLayout
android:layout_marginTop=
"50dp"
android:layout_width=
"match_parent"
android:layout_height=
"
match_par
ent"
>
android:layout_height=
"
wrap_cont
ent"
>
<LinearLayout
android:orientation=
"horizontal"
android:layout_width=
"0dp"
...
...
app/src/main/res/values/strings.xml
View file @
f629740
...
...
@@ -14,4 +14,7 @@
<string
name=
"save_cacel"
>
取消
</string>
<string
name=
"time_inter_tips"
>
请输入时间间隔
</string>
<string
name=
"server_tips"
>
请输入当前服务器接口地址
</string>
<string
name=
"user_tips_title"
>
使用说明:
</string>
<string
name=
"user_tips_content"
>
每次重启开机后均会发送定位信息,可保存后重启手机测试。
</string>
<string
name=
"other_tips"
>
测试接口: http://202.100.179.139:8088/api 正式接口: http://202.100.190.58:8090/api/cstmzPosition
</string>
</resources>
build.gradle
View file @
f629740
...
...
@@ -7,7 +7,7 @@ buildscript {
jcenter
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.
2.0
'
classpath
'com.android.tools.build:gradle:3.
3.2
'
// NOTE: Do not place your application dependencies here; they belong
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
f629740
#Thu Apr 04 16:04:06 CST 2019
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-4.6-all.zip
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-4.10.1-all.zip
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment