uploadissue_resolve
This commit is contained in:
Generated
BIN
Binary file not shown.
@@ -31,8 +31,8 @@ android {
|
|||||||
versionName "4.1"*/
|
versionName "4.1"*/
|
||||||
|
|
||||||
//For Turkey
|
//For Turkey
|
||||||
/* versionCode 26
|
versionCode 27
|
||||||
versionName "3.8"*/
|
versionName "3.9"
|
||||||
|
|
||||||
//For KSA
|
//For KSA
|
||||||
/* versionCode 28
|
/* versionCode 28
|
||||||
@@ -43,15 +43,14 @@ android {
|
|||||||
|
|
||||||
|
|
||||||
//sa
|
//sa
|
||||||
/* versionCode 27
|
|
||||||
versionName "3.8"*/
|
|
||||||
|
|
||||||
/*versionCode 28
|
|
||||||
|
/* versionCode 28
|
||||||
versionName "3.9"*/
|
versionName "3.9"*/
|
||||||
|
|
||||||
//Kenya
|
//Kenya
|
||||||
versionCode 2
|
/* versionCode 2
|
||||||
versionName "1.1"
|
versionName "1.1"*/
|
||||||
//nigeria
|
//nigeria
|
||||||
/* versionCode 1
|
/* versionCode 1
|
||||||
versionName "1.0"*/
|
versionName "1.0"*/
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ import cpm.com.gskmtorange.xmlGetterSetter.TableBean;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public class GSKOrangeDB extends SQLiteOpenHelper {
|
public class GSKOrangeDB extends SQLiteOpenHelper {
|
||||||
public static final String DATABASE_NAME = "GSK_ORANGE_DB618";
|
public static final String DATABASE_NAME = "GSK_ORANGE_DB619";
|
||||||
public static final int DATABASE_VERSION = 16;
|
public static final int DATABASE_VERSION = 16;
|
||||||
TableBean tableBean;
|
TableBean tableBean;
|
||||||
private SQLiteDatabase db;
|
private SQLiteDatabase db;
|
||||||
|
|||||||
+1
-7
@@ -114,22 +114,16 @@ public class PreviousDataUploadActivity extends AppCompatActivity {
|
|||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_upload);
|
setContentView(R.layout.activity_upload);
|
||||||
|
|
||||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||||
|
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
|
||||||
CommonFunctions.updateLangResources(context, preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
userId = preferences.getString(CommonString.KEY_USERNAME, null);
|
userId = preferences.getString(CommonString.KEY_USERNAME, null);
|
||||||
app_version = preferences.getString(CommonString.KEY_VERSION, null);
|
app_version = preferences.getString(CommonString.KEY_VERSION, null);
|
||||||
|
|
||||||
db = new GSKOrangeDB(this);
|
db = new GSKOrangeDB(this);
|
||||||
db.open();
|
db.open();
|
||||||
context = this;
|
context = this;
|
||||||
Path = CommonString.FILE_PATH;
|
Path = CommonString.FILE_PATH;
|
||||||
|
CommonFunctions.updateLangResources(context, preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
//start upload
|
//start upload
|
||||||
new UploadTask(this).execute();
|
new UploadTask(this).execute();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1853,8 +1853,6 @@ public class UploadActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
if (result.contains(CommonString.KEY_SUCCESS)) {
|
if (result.contains(CommonString.KEY_SUCCESS)) {
|
||||||
//db.deleteAllTables();
|
|
||||||
|
|
||||||
File f = new File(CommonString.FILE_PATH);
|
File f = new File(CommonString.FILE_PATH);
|
||||||
//if (f != null && f.listFiles().length > 0) {
|
//if (f != null && f.listFiles().length > 0) {
|
||||||
File file[] = f.listFiles();
|
File file[] = f.listFiles();
|
||||||
|
|||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* Automatically generated file. DO NOT MODIFY
|
|
||||||
*/
|
|
||||||
package com.androidbuts.multispinnerfilter;
|
|
||||||
|
|
||||||
public final class BuildConfig {
|
|
||||||
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
||||||
public static final String LIBRARY_PACKAGE_NAME = "com.androidbuts.multispinnerfilter";
|
|
||||||
public static final String BUILD_TYPE = "debug";
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user