 |
CPSC 110-08: Computing on Mobile Phones
Spring 2012
Tiny Web Db
Due: April 11, before class
|
CS Principles
This activity addresses the idea that computing is a creative
activity and focuses on the following learning objectives:
- 1: The student can use computing tools and techniques to create artifacts.
- 2: The student can analyze computational artifacts (a database).
- 4: The student can use programming as a creative tool.
Preliminaries
This lesson introduces the following App Inventor component:
- TinyWebDB: This component allows us to store data persistently in a database
that is located on the Web.
Reading Assignment
Read pages 305-312 of Chapter 22,
App Inventor, Working With
Databases. This chapter focuses on databases.
Portfolio Page
Create a page for this homework under your Homework tab and
provide answers to the following questions:
- What is the difference between storing data in a TinyDb
or in a TinyWebDb and storing data in a global variable?
- What is the difference between TinyDb and TinyWebDb?
- What role does the tag play in storing and retrieving data
from a database?
In Class
We will complete
the Shopping with Friends
tutorial.
This lesson requires that your phone is connected to Wifi or has
a Mobile plan. Before coming to class, make sure your phones
are connected to Trinair:
- Turn on the phone's WiFi nextwork and login to Trinair:
- Go to settings --> wireless & networks --> check the WiFi box (to
turn on WiFi).
- Tap WiFi Settings --> tap TrinAir --> a pop-up should appear.
- Scroll to the bottom of the pop-up.
- Identity: cmpcntr\YOUR USERNAME example: cmpcntr\plakealm
- Password: YOUR TRINITY PASSWORD