Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
machine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
android
machine
Commits
0a066091
Commit
0a066091
authored
Dec 03, 2022
by
wjg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add install app
parent
f572ff3a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
main_app/build.gradle
+2
-2
main_app/src/main/java/com/ihaoin/hooloo/device/network/NetworkHandler.java
+2
-2
main_app/src/main/java/com/ihaoin/hooloo/device/update/UpdateService.java
+1
-0
No files found.
main_app/build.gradle
View file @
0a066091
...
...
@@ -18,8 +18,8 @@ android {
applicationId
"com.ihaoin.hooloo.device"
minSdkVersion
26
targetSdkVersion
30
versionCode
5
versionName
"1.0.
5
"
versionCode
1
versionName
"1.0.
1
"
ndk
{
//选择要添加的对应 cpu 类型的 .so 库。
...
...
main_app/src/main/java/com/ihaoin/hooloo/device/network/NetworkHandler.java
View file @
0a066091
...
...
@@ -16,11 +16,11 @@ public abstract class NetworkHandler extends Handler {
@Override
public
void
handleMessage
(
@NonNull
Message
msg
)
{
super
.
handleMessage
(
msg
);
if
(
AppConfig
.
DEBUG
)
{
//
if (AppConfig.DEBUG) {
String
url
=
msg
.
getData
().
getString
(
"url"
);
String
msgText
=
String
.
format
(
"请求:%s, 返回状态:%s, 返回内容:%s"
,
url
,
msg
.
what
,
msg
.
obj
);
Utils
.
i
(
AppConfig
.
TAG_NETWORK
,
msgText
);
}
//
}
// if (msg == null || msg.what == 0) {
// return;
// }
...
...
main_app/src/main/java/com/ihaoin/hooloo/device/update/UpdateService.java
View file @
0a066091
...
...
@@ -41,6 +41,7 @@ public class UpdateService extends Thread {
@Override
public
void
handleMessage
(
@NonNull
Message
msg
)
{
try
{
super
.
handleMessage
(
msg
);
// CheckUpdateVo updateVo = new CheckUpdateVo();
// updateVo.setUrl("https://testapi.pecktoy.com/files/upload_test/signed-v10.apk");
// updateVo.setVersion("1.0.10");
...
...
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