Mobile Development: Information Technology and Information System Department
Mobile Development: Information Technology and Information System Department
Mobile Development: Information Technology and Information System Department
MOBILE DEVELOPMENT
EXERCISE
2
WELCOME MESSAGE
09/092020 09/092020
GJPRosales
Page |2
I. OBJECTIVES
In order to accomplish this exercise, the student must have a clear understanding of
the following topics:
• Android SDK
• Android Studio IDE
• xml structure
• Android project directory structure
• Android virtual device setup
• String value reference
1. Under the project window located in the left side of your screen. Open strings.xml
under res/values/ folder location
2. Open the strings.xml in code view and add the statement provided below.
app_name = BLOCK – SURNAME
GJPRosales
Page |3
4. From the Palette Pane, select Text, drag the TextView in view layout. Change the
textSize to 30sp (Scale-independent Pixels) under the attributes pane
GJPRosales
Page |4
6. Run your application and confirm if your app name will appear and welcome to
android development.
GJPRosales
Page |5
EXAMPLE OUTPUT:
GJPRosales
Page |6
px: our usual standard pixel which maps to the screen pixel.
pt: 1/72 of an inch, with respect to the physical screen size.
dp: Density Independent Pixel, it varies based on screen density . In 160 dpi
screen, 1 dp = 1 pixel. Except for font size, use dp always.
sp: Scale Independent Pixel, scaled based on user’s font size
V. REFERENCES
www.developer.android.com
VI. RUBRICS
GJPRosales
Page |7
results (15 –
17)
Standards Program is Few Several Program is
(20pts) stylistically well inappropriate inappropriate poorly written
designed (18 – design choices design choices (10 - 11)
20) (i.e. poor (i.e. poor
variable variable
names, names,
improper improper
indentation) (15 indentation) (12
– 17) – 14 )
Delivery The program The program The code was The code was
(10pts) was delivered was delivered within 2 weeks more than 2
on time. (10) within a week of the due date. weeks overdue
of the due date. (6 – 7) (5)
(8 – 9)
Task 1:
Task 2:
GJPRosales