Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
669a1347
authored
Jun 04, 2018
by
罗翻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
locationUtils修改
parent
1c571eed
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
25 deletions
app/release/app-release.apk
app/release/output.json
baseSDK/src/main/java/com/dayu/common/Constants.java
baseSDK/src/main/res/values/strings.xml
locationComponent/src/main/java/com/dayu/location/base/LocationUtils.java
app/release/app-release.apk
deleted
100644 → 0
View file @
1c571eed
File deleted
app/release/output.json
View file @
669a1347
[{
"outputType"
:{
"type"
:
"APK"
},
"apkInfo"
:{
"type"
:
"MAIN"
,
"splits"
:[],
"versionCode"
:
11
},
"path"
:
"app-release.apk"
,
"properties"
:{
"packageId"
:
"com.dayu.bigfish"
,
"split"
:
""
,
"minSdkVersion"
:
"16"
}}]
\ No newline at end of file
[{
"outputType"
:{
"type"
:
"APK"
},
"apkInfo"
:{
"type"
:
"MAIN"
,
"splits"
:[],
"versionCode"
:
11
},
"path"
:
"app-release.apk"
,
"properties"
:{
"packageId"
:
"com.dayu.bigfish.demo"
,
"split"
:
""
,
"minSdkVersion"
:
"16"
}}]
\ No newline at end of file
baseSDK/src/main/java/com/dayu/common/Constants.java
View file @
669a1347
...
...
@@ -12,16 +12,16 @@ public class Constants {
/**
* 测试环境配置.
*/
//
public static final int LOG_LEVEL = LogUtils.LEVEL_ALL;
//
public static final String ENVIROMENT = "debug";
//
public static final String BASE_URL = "http://47.94.101.239:3112";
//
public final static String UP_PHOTO = "/file/uploadMore?targetPath=test/sp/mobile/android/business/checkApply";
//
public final static String WEB_SOP = "http://47.94.101.239:9004/#/sop";
//
public final static String CHECK_MULTI_WEB_SOP = "http://47.94.101.239:9004/#/manyServiceResult";
//
public final static String MULTI_WEB_SOP = "http://47.94.101.239:9004/#/manySop";
//
public final static String WEB_SOP_DETAIL = "http://47.94.101.239:9004/#/sopdetail";
//
public final static String WEB_ZHI_SHI = "http://47.94.101.239:9004/#/detail";
//
public static final boolean IS_DEBUG = true;
public
static
final
int
LOG_LEVEL
=
LogUtils
.
LEVEL_ALL
;
public
static
final
String
ENVIROMENT
=
"debug"
;
public
static
final
String
BASE_URL
=
"http://47.94.101.239:3112"
;
public
final
static
String
UP_PHOTO
=
"/file/uploadMore?targetPath=test/sp/mobile/android/business/checkApply"
;
public
final
static
String
WEB_SOP
=
"http://47.94.101.239:9004/#/sop"
;
public
final
static
String
CHECK_MULTI_WEB_SOP
=
"http://47.94.101.239:9004/#/manyServiceResult"
;
public
final
static
String
MULTI_WEB_SOP
=
"http://47.94.101.239:9004/#/manySop"
;
public
final
static
String
WEB_SOP_DETAIL
=
"http://47.94.101.239:9004/#/sopdetail"
;
public
final
static
String
WEB_ZHI_SHI
=
"http://47.94.101.239:9004/#/detail"
;
public
static
final
boolean
IS_DEBUG
=
true
;
/**
* uat环境配置.
...
...
@@ -40,16 +40,16 @@ public class Constants {
/**
* 正式环境.
*/
public
static
final
String
ENVIROMENT
=
"release"
;
public
static
final
int
LOG_LEVEL
=
LogUtils
.
LEVEL_ALL
;
public
static
final
String
BASE_URL
=
"https://mobile.kf.ai"
;
public
final
static
String
UP_PHOTO
=
"/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply"
;
public
final
static
String
WEB_SOP
=
"https://sop.kf.ai/#/sop"
;
public
final
static
String
WEB_SOP_DETAIL
=
"https://sop.kf.ai/#/sopdetail"
;
public
final
static
String
WEB_ZHI_SHI
=
"https://sop.kf.ai/#/detail"
;
public
final
static
String
CHECK_MULTI_WEB_SOP
=
"https://sop.kf.ai/#/manyServiceResult"
;
public
final
static
String
MULTI_WEB_SOP
=
"https://sop.kf.ai/#/manySop"
;
public
static
final
boolean
IS_DEBUG
=
false
;
//
public static final String ENVIROMENT = "release";
//
public static final int LOG_LEVEL = LogUtils.LEVEL_ALL;
//
public static final String BASE_URL = "https://mobile.kf.ai";
//
public final static String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply";
//
public final static String WEB_SOP = "https://sop.kf.ai/#/sop";
//
public final static String WEB_SOP_DETAIL = "https://sop.kf.ai/#/sopdetail";
//
public final static String WEB_ZHI_SHI = "https://sop.kf.ai/#/detail";
//
public final static String CHECK_MULTI_WEB_SOP = "https://sop.kf.ai/#/manyServiceResult";
//
public final static String MULTI_WEB_SOP = "https://sop.kf.ai/#/manySop";
//
public static final boolean IS_DEBUG = false;
/**
* 演示环境
...
...
baseSDK/src/main/res/values/strings.xml
View file @
669a1347
...
...
@@ -393,7 +393,7 @@
<string
name=
"submission_of_audit"
>
提交审核
</string>
<string
name=
"title_my_header"
>
我的头像
</string>
<string
name=
"modify_header_iv"
>
修改头像
</string>
<string
name=
"dayu_bang"
>
大鱼帮
帮
</string>
<string
name=
"dayu_bang"
>
大鱼帮
</string>
<string
name=
"header_pic"
>
头像
</string>
<string
name=
"person_mobile"
>
手机号码
</string>
...
...
locationComponent/src/main/java/com/dayu/location/base/LocationUtils.java
View file @
669a1347
...
...
@@ -16,7 +16,7 @@ import com.amap.api.location.AMapLocationListener;
public
class
LocationUtils
{
private
static
AMapLocationClient
mlocationClient
;
p
ublic
static
AMapLocation
sLocation
=
null
;
p
rivate
static
AMapLocation
sLocation
=
null
;
private
static
boolean
flag
=
true
;
private
static
MyLocationListener
mListener
;
private
static
Handler
mHandler
;
...
...
@@ -92,7 +92,7 @@ public class LocationUtils {
@Override
public
void
onLocationChanged
(
AMapLocation
location
)
{
if
(
location
!=
null
&&
flag
)
{
if
(
location
!=
null
&&
location
.
getErrorCode
()
==
0
&&
flag
)
{
flag
=
false
;
mlocationClient
.
stopLocation
();
sLocation
=
location
;
...
...
@@ -112,6 +112,7 @@ public class LocationUtils {
public
static
void
destroy
()
{
mHandler
=
null
;
mlocationClient
.
onDestroy
();
mlocationClient
=
null
;
mListener
=
null
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment