Lab Exercise 1 - Getting Started
Lab Exercise 1 - Getting Started
MOBILE DEVELOPMENT
EXERCISE
1
GETTING STARTED
NAME SECTION
GJPRosales
Page |2
I. OBJECTIVES
Android Studio was announced on May 16, 2013 during the Google I/O
conference. It was in early access preview stage starting from version 0.1 in May
2013, then entered beta stage starting from version 0.8 which was released in
June 2014. The first stable build was released in December 2014, starting from
version 1.0.
1. Prepare software for the development. Download the Software Development Kit
(SDK). Follow this link https://developer.android.com/studio
2. Run the downloaded installer. Follow the procedures presented in the wizard.
GJPRosales
Page |3
3. Create a new project. Select empty activity. Click the next button
4. Configure your project by putting the name of your application. Leave the
package name untouched. For the language there are two options, kotlin and
java. Choose java. Lastly, select the minimum Software Development Kit for your
applications. This include the Android versions. The minimum SDK is the lowest
version of android where your application will run. Then click finish
5. After clicking the finish button, Android Studio will be generating files for your
application like .java files and .xml files.
GJPRosales
Page |4
1. Open your Android Virtual Device Manager. Under the ‘tools’ menu, select the AVD
Manager.
2. If you have virtual devices available, it will be listed below. If no virtual device installed,
click the create virtual device button.
3. You have now different categories you want to develop. For the mean time we’ll focus on
Phone Category. You can now select a device that you want. Depending on the size,
aspect ratio and density of the app you would like to run. Then click next.
GJPRosales
Page |5
4. Select the system image, and select the release name. click next
5. Verify your configuration, then click the finish button. Notice that in your virtual device
new entry was present. Close the window.
1. Each android SDK platform package includes the android platform and sources to an
API level. Once installed android studio will automatically check updates. Under the
‘tools’ menu, select the SDK Manager.
GJPRosales
Page |6
2. A dialog box will appear and will show the installed SDK and API versions in your
android studio. We need to install some SDK versions
3. Select Android 4.3 and 4.4 for our activities. If you have a good specification for your PC
you can install every version. You will be asked to confirm changes click OK
4. It will now download the requested components of the new SDK wait and click FINISH.
Click Apply and ok
GJPRosales
Page |7
1. Using any screen recording application record this portion. Run your application to test
your virtual device and configuration. Click the play button in the menu bar or use the
shortcut key shift-F10. Don’t forget to select the device where you would like to run the
application. Wait for your application be installed and run in your virtual device
GJPRosales
Page |8
V. REFERENCES
www.developer.android.com
GJPRosales