In: Computer Science
Android Development. I am just beginning so still in the overview and brainstorming stage.
The instructions are to create an app to create, track and delete memories. Memory consists of title, description, location, memory date and image.
App launch should list all saved memories and option to create a new memory. Choosing the option New displays a form, has a button to access the camera and save the image as the memory image. Clicking the memory list displays the memory details along with 3 buttons - show on map, save and delete.
Show on Map invokes Google maps and displays memory location. And ofcourse save details and delete the memory.
So I have experience with all of these requirements except accessing the camera, accessing google maps and the delete feature. How would you initially approach this assignment and/or specific widgets that I should utilize? Research revealed I will need to use an application for the camera feature setup and secondly need to use a location manifest file. I am seeking specific topics that I should first research and practice. Thank you!
Accessing the camera section: For this part you can look and research for how to control the camera using framework APIs and how to get the instance of Camera object. Best way to access the camera is to open the Camera(object) on a seperate thread launched from onCreate(). You have to also look for if Camera.open() throws an exception because the camera is alraedy being used by some other application then you have to apply try catch method.
Accessing the google maps feature: Its simple you can visit the Google Maps Platform where they provide Android SDK(Software Development Key). There is also a SDK documentation where its written how you can use it by getting the API key and all. But its not free.
Delete feature: For delete feature I can suggest you to look for Android RecyclerView swipe to delete and undo. In here they use ItemTouchHelper utility class to implement ItemTouchHelper.Callback for different operations like drag, drop, swipe to delete.
Topics you can cover for making good app consisting of camera, google maps for memory :
1. Integrating Google Maps
2. Control the Camera | Android developers
3. Android RecyclerView Swipe To Delete And Undo | JournelDev