
162 ◾ PhoneGap Build
e next task after the creation of a database is the creation of tables. In this application,
we want to keep and manage information on templates. By templates we mean a string of texts
that are commonly used while sending an SMS. For example, All the Best for Exams,
Happy Birthday to you, See you tomorrow, and so on, are a couple of commonly
used templates. To store templates, we need to create a Templates table.
Using the Storage API, we want to perform the following essential tasks:
◾ Add new row(s), that is, templates to the Templates table
◾ Access templates from the Templates table
◾ Edit or modify templates in t