Question

In: Computer Science

Android Development. I am just beginning so still in the overview and brainstorming stage. The instructions...

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!

Solutions

Expert Solution

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


Related Solutions

I am working on creating a Broadcast Receiver. I am extremely new to Android development and...
I am working on creating a Broadcast Receiver. I am extremely new to Android development and Java. I added my code at the bottom. Whenever I press the button the app crashes. I'm assuming something is wrong with connecting the broadcastIntent() function. I appreciate any help :) Here are the directions from my professor: Create an empty project Create a method in MainActivity.java which creates a Broadcast. public void broadcastIntent(View view){        Intent intent = new Intent();        intent.setAction("my.CUSTOM_INTENT"); sendBroadcast(intent);...
I am working on creating a Broadcast Receiver. I am extremely new to Android development and...
I am working on creating a Broadcast Receiver. I am extremely new to Android development and Java. I added my code at the bottom of this, but whenever I press the button the app crashes. I'm assuming something is wrong with connecting the broadcastIntent() function. If you could really focus on the first part that would be great!! I appreciate any help :) Here are the directions from my professor: Create an empty project Create a method in MainActivity.java which...
Hello all, I am toward the beginning of my semseter and am still pretty rusty working...
Hello all, I am toward the beginning of my semseter and am still pretty rusty working with code. here is my following goal: basically create a structure and populate an array from a txt file which contains 98 45.70 72 15.0 12 0.0 56 43.26 83 123.0 28 931.96 123 12.38 "Create a struct named familyFinance that contains 2 members: ▪ int acctNos ▪ float balance o (prior to the while loop) Create an array financeAry (size 10), of type...
I am so lost on this. I am making a B in this class but I...
I am so lost on this. I am making a B in this class but I can not seem to get this project completed. Please help. ACC-120 Project – Financial Accounting This assignment supports the following outcomes: ·          Prepare journal and ledger entries for a service or merchandising business. ·          Prepare year-end statements for a service or merchandising business. ·          Report cost decisions using accounting principles and financial statement analysis. ·          Evaluate how knowledge, skills, and attitudes learned in this...
NOTE: I am just checking my own work so if you respond, please make sure I...
NOTE: I am just checking my own work so if you respond, please make sure I can read your handwriting. A loan officer wants to compare the interest rates for 48-month fixed-rate auto loans and 48-month variable-rate auto loans. Two independent, random samples of auto loans are selected. A sample of eight 48-month fixed-rate auto-loans have the following loan rates: 4.29%, 3.75%, 3.50%, 3.99%, 3.75%, 3.99%, 5.40%, 4.00% while a sample of five 48-month variable-rate auto loans have the loan...
I am still not satisfied with the answer regarding the retail industry. The answers are are...
I am still not satisfied with the answer regarding the retail industry. The answers are are a little too vague. please help me explain the consumer behavior, and competition. I am lost in the previous answers given to me. if would be better to give an explanation instead of a copy paste answer where everyone is copying same answers. thank you so much.
I just need 3 and 5. I am not sure what I am doing wrong. I...
I just need 3 and 5. I am not sure what I am doing wrong. I get different numbers every time. Superior Markets, Inc., operates three stores in a large metropolitan area. A segmented absorption costing income statement for the company for the last quarter is given below: Superior Markets, Inc. Income Statement For the Quarter Ended September 30 Total North Store South Store East Store Sales $ 4,800,000 $ 960,000 $ 1,920,000 $ 1,920,000 Cost of goods sold 2,640,000...
I am fed up with probabilities, so once and for all I am going totry to...
I am fed up with probabilities, so once and for all I am going totry to solveas many questions as I can; maybe that will be of some help. I choose the more difficult questions. The probability that I solve any one of them is p<1, independent of the others; and I go through a question only once, whether I am able to solve it or not. Helpme with my progress by answering the following questions; I suggest making use...
This is an Android Question. I am trying to make a FAB(Floating Action Button) show me...
This is an Android Question. I am trying to make a FAB(Floating Action Button) show me a different page when I press it.
Below are the assignment instructions, I italicized the two aspects I do not understand. I am...
Below are the assignment instructions, I italicized the two aspects I do not understand. I am not sure what the budgeting analysis of licensing and legal recognition would consist of in global expansion. I only need answers to those two aspects of this report. Assignment Instructions: Think of a company in your area that makes a product that you really like. If you cannot think of a company or product you can create one. Now, imagine you are asked to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT