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 6b16c32f
authored
Apr 09, 2019
by
cuiliang.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高精度
1 parent
e80ed5e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/src/main/java/com/agenew/location_server/application/BirdService.java
app/src/main/java/com/agenew/location_server/application/BirdService.java
View file @
6b16c32
...
@@ -305,7 +305,7 @@ public class BirdService extends Service {
...
@@ -305,7 +305,7 @@ public class BirdService extends Service {
//init AMapLocationClientOption
//init AMapLocationClientOption
mLocationOption
=
new
AMapLocationClientOption
();
mLocationOption
=
new
AMapLocationClientOption
();
//set model is AMapLocationMode.Battery_Saving
//set model is AMapLocationMode.Battery_Saving
mLocationOption
.
setLocationMode
(
AMapLocationClientOption
.
AMapLocationMode
.
Battery_Saving
);
mLocationOption
.
setLocationMode
(
AMapLocationClientOption
.
AMapLocationMode
.
Hight_Accuracy
);
mLocationClient
.
setLocationOption
(
mLocationOption
);
mLocationClient
.
setLocationOption
(
mLocationOption
);
...
...
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