diff --git a/.gitignore b/.gitignore
index 378eac2..d76b74e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
build
+.DS_Store
diff --git a/build.gradle b/build.gradle
index 3c0f545..497a3a2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,20 +1,12 @@
apply plugin: 'com.android.library'
android {
- compileSdkVersion 25
- buildToolsVersion '25.0.0'
+ compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
- minSdkVersion 9
- targetSdkVersion 9
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
-
-// ndk {
-// moduleName "sdlsufaceview"
-// ldLibs "log"
-// abiFilter "armeabi"
-//
-// }
buildTypes {
release {
minifyEnabled false
@@ -31,27 +23,23 @@ android {
}
-
-
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
-
useLibrary 'org.apache.http.legacy'
+ namespace 'com.quseit.android'
}
dependencies {
- compile project(':qgdlib')
- compile project(':qpagerlib')
- compile project(':qftplib')
- compile files('libs/jsr305-2.0.1.jar')
- compile files('libs/libGoogleAnalytics.jar')
- //compile files('libs/mint-5.0.0.jar')
- compile 'org.apache.httpcomponents:httpcore:4.4.2'
- compile files('libs/qaysnchttplib.jar')
- compile files('libs/SOMAAndroidSDK4.5.0.jar')
-}
+ api project(':qgdlib')
+ api project(':qpagerlib')
+ api project(':qftplib')
+ api 'org.apache.httpcomponents:httpcore:4.4.2'
+ api files('libs/qaysnchttplib.jar')
+ api files('libs/jsr305-2.0.1.jar')
+ api rootProject.ext.libSupportV4
+}
\ No newline at end of file
diff --git a/qbaselib.iml b/qbaselib.iml
deleted file mode 100644
index 91f74b9..0000000
--- a/qbaselib.iml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- generateDebugSources
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml
index b683766..f34a9c2 100644
--- a/src/main/AndroidManifest.xml
+++ b/src/main/AndroidManifest.xml
@@ -1,10 +1,7 @@
diff --git a/src/main/java/com/quseit/base/MyApp.java b/src/main/java/com/quseit/base/MyApp.java
index 7546d93..efee0f7 100644
--- a/src/main/java/com/quseit/base/MyApp.java
+++ b/src/main/java/com/quseit/base/MyApp.java
@@ -18,201 +18,33 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
-
-public class MyApp extends Application {
+
+import greendroid.app.GDApplication;
+
+public class MyApp extends GDApplication {
private static final String TAG = "MyApp";
@SuppressWarnings({ "unchecked", "rawtypes" })
public ArrayList