Lab 7 - Camera App

Before you Start

ePortfolio Entries

Each entry consists of a web page and a zip file.

Programming Environment

The Lab

Model

The API of the Model class can be found here. The code of the Model class can be found here.

Controller

The API of the Controller class can be found here. The code of the Controller class can be found here.

View

Implement a view that has

Initially, the view should look like the following.

Manifest

To AndroidManifest.xml add

  <uses-permission android:name="android.permission.CAMERA"/>
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
just before </manifest>.

Required additions

Optional additions

Add more functionality to your app. For example,

Test

Before running your app, you need configure the device. Go to settings. Selects Apps. Find the Camera App. Select Permissions. Enable Camera and Storage.