I have decided to use an Intent, which in Android just means I am calling other code. This is how I have decided to call the camera app which is native to the android device. I have created a button that will open the camera. After the picture is taken the user is then asked to keep or discard the photo, if they accept the photo the user is brought to a screen where the picture is displayed. I now need to implement a button that allows the user to save the photo. There are several ways in which I can save the photo. One way to save a photo is using an external memory source such as an SD card. If I choose this path, all of this saved data becomes public information and any app can use it. In other words, the photos I save for my app will be saved to the photo gallery. However, I do not want to be filling the users photo gallery with all of the photos taken for my app. Instead, I am going to use the devices internal memory. This memory slot holds all of the data only for my app. This is great for several reasons. The saved photos will not be saved to the photo gallery which will be nice for the user. Also, when the app is deleted all of the photos and data associated with the app is also deleted, so the user doesn't have to do that themselves. This means I will have to create some kind of a photo gallery inside my app so the user can see all of the photos. I first have to figure out how the filing system works and how to even save and load one picture. This is my next task.
|
garrett moodyThis is my blog about my capstone project. Archives
May 2015
Categories |