1) Added camera and location permissions. 2) Added attribute largeHeap=true to application tag for increasing the heap memory allocated to app. Required only when transfer of photos as they are converted to base64 and then stored to object.
Code changes to insert the 'take photo' button to all the widgets according to the takePhoto flag received from server side
Functionality for taking photo and have delete and preview feature
1) Added code to create table images for inserting captured photos to the related fact.
2) Added functions to fetch, insert and delete records from images table.
3) Also added function to delete physical photo from the folder if the record for photo is not available in the database table
1) Added code for camera activity on result and setting location listener
2) Code to pass takePhoto flag to all the widgets.
3) Added code to Camera on result activity to save photo and display photo to UI.
1) Added code to set constants for photo path and folder name to which photo will be saved.
2) Code change to send takePhoto flag to widget using which it decides to show take photo button or not.
Added code to fetch photos from the received json and insert records to database tables.
Also added code to create .png file to shelter photo folder
Required to change the minSdkVersion from 4 to 8 as base64 encode and decode requires minsdkVersion to be more than 8
Added functionality to send over the photos to the server side along with the lat/long details.Code changes to send available photos for each facts using the base64 encoding
Added map xml used for marking the components for selected slum
Added xml for selection of drawable component. Now not in used as this is been shifted to drawer.
Added xml for having tree view structure for drawable components.
Added xml for custom header in tree view for drawable components
Added confirmation screen xml
Added a button for uploading map details to shelter survey server
Added string for upload online map survey
Added colour config xml file
Added json for initializing the upload map details slum screen
Added class for expandable tree view structure for displaying the captured drawable component in tree view format
Added activity drawable component for the selection and start drawing the selected component. Currently this feature is been moved to drawer instead of having new activity for it, as this was time consuming process