Commit 5ea03f7d by jeffrey

缓存下

parent f66c92e5
...@@ -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 25 targetSdkVersion 26
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:25.0.0' compile 'com.android.support:appcompat-v7:26.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'
......
...@@ -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);
} }
......
...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment