Skip to content

Commit 0674959

Browse files
committed
推送 QPython 3C 3.5.4
1 parent 2287284 commit 0674959

294 files changed

Lines changed: 44589 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

qbaselib/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# About
2+
QBaselib provides basic base libraries / utils for Android project.
3+
4+
It is not a standalone project, it will be included by QPython / QPython3 as a submodule.

qbaselib/build.gradle

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion rootProject.ext.compileSdkVersion
5+
buildToolsVersion rootProject.ext.buildToolsVersion
6+
defaultConfig {
7+
minSdkVersion rootProject.ext.minSdkVersion
8+
targetSdkVersion rootProject.ext.targetSdkVersion
9+
10+
11+
}
12+
buildTypes {
13+
release {
14+
minifyEnabled false
15+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
16+
}
17+
}
18+
sourceSets {
19+
main {
20+
jniLibs.srcDirs = ['libs']
21+
22+
}
23+
}
24+
repositories {
25+
flatDir {
26+
dirs 'libs'
27+
}
28+
}
29+
30+
useLibrary 'org.apache.http.legacy'
31+
compileOptions {
32+
sourceCompatibility JavaVersion.VERSION_1_7
33+
targetCompatibility JavaVersion.VERSION_1_7
34+
}
35+
}
36+
37+
dependencies {
38+
api 'org.apache.httpcomponents:httpcore:4.4.2'
39+
api 'org.greenrobot:eventbus:3.0.0'
40+
//compile 'com.loopj.android:android-async-http:1.4.8'
41+
42+
api project(':qftplib')
43+
api files('libs/android-async-http-1.4.8.aar')
44+
//api 'com.loopj.android:android-async-http:1.4.8'
45+
46+
debugApi rootProject.ext.leakcanaryDebug
47+
releaseApi rootProject.ext.leakcanaryRelease
48+
api rootProject.ext.libSupportCardView
49+
api rootProject.ext.libSupportV4
50+
api rootProject.ext.libSupportV4Design
51+
}
97.3 KB
Binary file not shown.

qbaselib/libs/jsr305-2.0.1.jar

31.1 KB
Binary file not shown.
45.1 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.quseit.android"
3+
android:versionCode="5"
4+
android:versionName="3.0">
5+
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
7+
</manifest>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
package com.quseit.base;
2+
3+
import android.app.Application;
4+
5+
import java.util.ArrayList;
6+
7+
public class MyApp extends Application {
8+
private static final String TAG = "MyApp";
9+
10+
@SuppressWarnings({ "unchecked", "rawtypes" })
11+
public ArrayList<Object> taskQueue = new ArrayList();
12+
13+
private static MyApp instance;
14+
15+
16+
public ArrayList<Object> getTaskQueue() {
17+
return taskQueue;
18+
}
19+
20+
protected MyApp() {
21+
}
22+
public static MyApp getInstance() {
23+
if(null == instance) {
24+
instance = new MyApp();
25+
}
26+
return instance;
27+
28+
}
29+
30+
}

0 commit comments

Comments
 (0)