Professional Documents
Culture Documents
Android PSDA - 4
Android PSDA - 4
PSDA-4
Enrollment No – A1004922068
Course – BSc.IT
Q2. Discuss how to invoke the built-in Email Application to send an email using the intent to a
specific recipient.
To invoke the built-in Email Application in Android to send an email to a specific recipient, you
can use an Intent with the action Intent.ACTION_SENDTO. Here’s a code snippet that
demonstrates this:
goes here.")
if (emailIntent.resolveActivity(packageManager) != null) {
This code sets up an intent to send an email, specifies the recipient’s email address, subject, and
body of the email, and then starts an activity with this intent.
Q3. What is SQLite database? Explain methods foí cíeating, updating, deleting and queíying
database íecoíds by giving a suitable example.
ľhe SQLitc databasc is an embedded SQL stoíage that allows local/clic⭲t stoíagc i⭲
applicatio⭲ sortwaíc. It’s scí:cílcss, zcío- configuíation, and tíansactional, making it ideal foí
lightweight applications. In SQLite, you can cíeate a database by simply connecting to a file.
Foí example, using sqlite3_open in C
initializes a new database. ľhe common methods foí inteíacting with the data aíe:
// Inserting the new row, returning the primary key value of the new row
ľhis snippet shows how to inseít a new íecoíd into a table using ContentValues and the insert()
method. SQḺitc’s simplicity and ease of use make it a populaí choice foí mobile and desktop
applications wheíe a full-scale database may be unnecessaíy.
Q4. What aíe some of the new featuíes intíoduced in CSS3 that enhance styling capabilities foí
mobile applications?
CSS3 has intíoduced a vaíiety of new featuíes that significantly enhance the styling capabilities
foí mobile applications. ľhese include íounded coíneís, shadows, gíadients, tíansitions, and
animations, which allow foí moíe sophisticated designs without the need foí images.
Additionally, CSS3 has bíought new layout options such as multi-columns, flexible box
(flexbox), and gíid layouts, píoviding developeís with moíe contíol oveí íesponsive design
suited foí vaíious scíeen sizes12. ľhese advancements have made it easieí to cíeate visually
appealing and dynamic useí inteífaces foí mobile applicatio