Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严琪
/
paysplug-in
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5ea03f7d
authored
Mar 07, 2018
by
jeffrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缓存下
parent
f66c92e5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
app/build.gradle
+5
-6
app/src/main/java/com/yuqirong/listenwechatnotification/askhttp/ActivePullCashList.java
+1
-1
app/src/main/java/com/yuqirong/listenwechatnotification/function/QRCodeFunction.java
+2
-3
No files found.
app/build.gradle
View file @
5ea03f7d
...
@@ -6,23 +6,22 @@ android {
...
@@ -6,23 +6,22 @@ android {
debug
{
debug
{
keyAlias
'demo'
keyAlias
'demo'
keyPassword
'wswy1234'
keyPassword
'wswy1234'
storeFile
file
(
'
F:/gitdemo/ListenWeChatNotification/paysplug-in/app
/NotificationListener.jks'
)
storeFile
file
(
'
.
/NotificationListener.jks'
)
storePassword
'wswy1234'
storePassword
'wswy1234'
}
}
release
{
release
{
keyAlias
'demo'
keyAlias
'demo'
keyPassword
'wswy1234'
keyPassword
'wswy1234'
storeFile
file
(
'
F:/gitdemo/ListenWeChatNotification/paysplug-in/app
/NotificationListener.jks'
)
storeFile
file
(
'
.
/NotificationListener.jks'
)
storePassword
'wswy1234'
storePassword
'wswy1234'
}
}
}
}
compileSdkVersion
25
compileSdkVersion
26
buildToolsVersion
"25.0.0"
defaultConfig
{
defaultConfig
{
applicationId
"com.yuqirong.listenwechatnotification"
applicationId
"com.yuqirong.listenwechatnotification"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
5
targetSdkVersion
2
6
versionCode
10
versionCode
10
versionName
"1.1"
versionName
"1.1"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
...
@@ -40,7 +39,7 @@ dependencies {
...
@@ -40,7 +39,7 @@ dependencies {
androidTestCompile
(
'com.android.support.test.espresso:espresso-core:2.2.2'
,
{
androidTestCompile
(
'com.android.support.test.espresso:espresso-core:2.2.2'
,
{
exclude
group:
'com.android.support'
,
module:
'support-annotations'
exclude
group:
'com.android.support'
,
module:
'support-annotations'
})
})
compile
'com.android.support:appcompat-v7:2
5.0.0
'
compile
'com.android.support:appcompat-v7:2
6.0.2
'
testCompile
'junit:junit:4.12'
testCompile
'junit:junit:4.12'
//添加retrofit-会自动下载okhttp
//添加retrofit-会自动下载okhttp
compile
'com.squareup.retrofit2:retrofit:2.1.0'
compile
'com.squareup.retrofit2:retrofit:2.1.0'
...
...
app/src/main/java/com/yuqirong/listenwechatnotification/askhttp/ActivePullCashList.java
View file @
5ea03f7d
...
@@ -38,7 +38,7 @@ public class ActivePullCashList implements HttpPresent {
...
@@ -38,7 +38,7 @@ public class ActivePullCashList implements HttpPresent {
ArrayList
<
String
>
moneylist
=
new
ArrayList
<>();
ArrayList
<
String
>
moneylist
=
new
ArrayList
<>();
moneylist
.
add
(
"11.01"
);
moneylist
.
add
(
"11.01"
);
;
EventBus
.
getDefault
().
post
(
moneylist
);
EventBus
.
getDefault
().
post
(
moneylist
);
}
}
...
...
app/src/main/java/com/yuqirong/listenwechatnotification/function/QRCodeFunction.java
View file @
5ea03f7d
...
@@ -86,8 +86,7 @@ public class QRCodeFunction extends Thread{
...
@@ -86,8 +86,7 @@ public class QRCodeFunction extends Thread{
}
}
public
void
functionQRCode
(
File
[]
files
){
public
void
functionQRCode
(
File
[]
files
){
for
(
File
f:
files
for
(
File
f:
files
)
{
)
{
parseCode
(
f
);
parseCode
(
f
);
}
}
...
@@ -97,7 +96,7 @@ public class QRCodeFunction extends Thread{
...
@@ -97,7 +96,7 @@ public class QRCodeFunction extends Thread{
}
}
public
void
parseCode
(
File
file
)
{
public
void
parseCode
(
File
file
)
{
Bitmap
obmp
=
decodeFile
(
file
.
getPath
());
;
Bitmap
obmp
=
decodeFile
(
file
.
getPath
());
int
width
=
obmp
.
getWidth
();
int
width
=
obmp
.
getWidth
();
int
height
=
obmp
.
getHeight
();
int
height
=
obmp
.
getHeight
();
int
[]
data
=
new
int
[
width
*
height
];
int
[]
data
=
new
int
[
width
*
height
];
...
...
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