Mobile ICP4 - abndnc/CS5590-0003 GitHub Wiki
1.Google Maps:
a.Modify the LocationActivityclass to display user's current location with a marker on the map
b.Hint: Use Location service and Geocoder classes to complete the task
c.Reference: https://developers.google.com/maps/documentation/android-api/current-place-tutorial
2.Camera:Modify the CameraActivity class to capture the image
3.Audio (microphone): Modify the AudioRecordingActivityclass to record and reply the audio
4.Storage:Modify the StorageActivity class to store and display the stored text
Implementation:
Task 1: To get current location of the user, requestLocationUpdates was used to get latitude and longitude values. I think because that I were using simulator, the function returned Google company address instead. Asking permission needed to be added or else the application only returned a Google Map without a location marked.
Task 2: Simply ask user for permission for camera.
Task 3: MediaRecorder was used to initiate audio recorder. Then, values such as AudioSource, OutputFormat, AudioEncoder and mFileName were assigned.
Task 4: FileInputStream and FileOutputStream were used to manipulate string inside a text file in the storage activity.