Deepak_commit_31_05_2018

This commit is contained in:
yadavendras
2018-06-01 18:57:10 +05:30
parent 2d25c22137
commit 8a58f5fa64
4 changed files with 26 additions and 11 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
</value> </value>
</option> </option>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">
+6 -6
View File
@@ -24,17 +24,17 @@ android {
/* versionCode 14 /* versionCode 14
versionName "2.6"*/ versionName "2.6"*/
//For KSA //For UAE
/* versionCode 15 versionCode 15
versionName "2.7"*/ versionName "2.7"
//For Turkey //For Turkey
/*versionCode 15 /*versionCode 15
versionName "2.7"*/ versionName "2.7"*/
//For UAE //For KSA
versionCode 15 /* versionCode 16
versionName "2.7" versionName "2.8"*/
multiDexEnabled true multiDexEnabled true
@@ -58,7 +58,7 @@ public class POGQuestionsActivity extends AppCompatActivity {
GSKOrangeDB db; GSKOrangeDB db;
List<MSL_AvailabilityStockFacingGetterSetter> headerDataList; List<MSL_AvailabilityStockFacingGetterSetter> headerDataList;
HashMap<MSL_AvailabilityStockFacingGetterSetter, List<POGGetterSetter>> hashMapListChildData; HashMap<MSL_AvailabilityStockFacingGetterSetter, List<POGGetterSetter>> hashMapListChildData = new HashMap<>();
ExpandableListAdapter adapter; ExpandableListAdapter adapter;
@@ -209,7 +209,7 @@ public class POGQuestionsActivity extends AppCompatActivity {
quizDataList = db.getPOGSubCategoryWise(headerDataList.get(i).getSub_category_id()); quizDataList = db.getPOGSubCategoryWise(headerDataList.get(i).getSub_category_id());
} }
hashMapListChildData = new HashMap<>(); //hashMapListChildData = new HashMap<>();
ArrayList<POGGetterSetter> childListData = new ArrayList<>(); ArrayList<POGGetterSetter> childListData = new ArrayList<>();
if (quizDataList.size() > 0) { if (quizDataList.size() > 0) {
@@ -1613,6 +1613,21 @@ public class UploadActivity extends AppCompatActivity {
} }
} }
if (audit_data.get(m).getCAM_IMAGE2() != null && !audit_data.get(m).getCAM_IMAGE2().equals("")) {
if (new File(CommonString.FILE_PATH + audit_data.get(m).getCAM_IMAGE2()).exists()) {
try {
result = UploadImage(audit_data.get(m).getCAM_IMAGE2(), "AuditImages");
runOnUiThread(new Runnable() {
public void run() {
message.setText("Audit Images Uploaded");
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
}
} }
data.value = 90; data.value = 90;