0% found this document useful (0 votes)
35 views

Dse-Iv E (Theory-Programming)

The document discusses the course content for Android Programming II. It covers topics like working with themes, styles, menus, preferences, fragments, and notifications. The course aims to illustrate how to work with themes, styles and menus. It also aims to extend students' knowledge of working with fragments, threads, files, adapters and intents. The course further aims to demonstrate working with services and notifications and perform techniques to work with SQLite databases. It also explains and applies working with tabs and custom adapters. Finally, the course covers creation and working with app widgets and deploying an app.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Dse-Iv E (Theory-Programming)

The document discusses the course content for Android Programming II. It covers topics like working with themes, styles, menus, preferences, fragments, and notifications. The course aims to illustrate how to work with themes, styles and menus. It also aims to extend students' knowledge of working with fragments, threads, files, adapters and intents. The course further aims to demonstrate working with services and notifications and perform techniques to work with SQLite databases. It also explains and applies working with tabs and custom adapters. Finally, the course covers creation and working with app widgets and deploying an app.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

B.

Sc CS /IT/BCA ANDROID PROGRAMMING II

COURSE CONTENT

RATHNAVEL SUBRAMANIAM COLLEGE OF ARTS & SCIENCE (AUTONOMOUS)


SULUR, COIMBATORE
SCHOOL OF COMPUTER STUDIES – UG
ACADEMIC YEAR 2018-2019
BATCH: 2019
Course Title : ANDROID PROGRAMMING II Course Code :
Semester : VI Course Group : DSE-IV
Teaching Scheme in Hrs (L:T:P) : 4:0:0 Credits : 4 Credits
Map Code: E (THEORY-PROGRAMMING) Total Contact Hours: 60
CIA: 25 Marks SEE # : 75 Marks
Programme: BSc-CS /BCA/B.Sc - IT 6 - Semester
End Exam

Course Title : ANDROID PROGRAMMING II Course Code :


Semester : VI Course Group : DSE-IV
Teaching Scheme in Hrs (L:T:P) : 0:0:4 Credits : 2 Credits
Map Code: G (PRACTICAL-PROGRAMMING) Total Contact Hours: 60
CIA: 40 Marks SEE # : 60 Marks
Programme: BSc-CS /BCA/B.Sc - IT 6 - Semester
End
No. Exam
Course Outcome POs & PSOs Cl. Ses CL
Illustrate to Work with Themes , Styles, Menus and
CO1 PO1, PSO1,PSO2 ,PSO3 12L + 10P Ap
Preferences
Extend work with Fragments, Threads, Files,
CO2 PO1, PSO1,PSO2 PSO3 14L+ 12P Ap
Adapters and intents.

CO3 Demonstrate work with Services and Notifications PO1, PSO1 ,PSO2 PSO3 6L+7P Ap

CO4 Perform techniques to work with SQLite databases. PO1, PSO1 ,PSO2 PSO3 6L +6P Ap

CO5 Explain and apply Tabs and Custom Adapters PO1, PSO1 ,PSO2 PSO3 9L+12P Ap

Creation and working with App widgets and deploy Ap


CO6 PO1, PSO1 ,PSO2 PSO3 13L+15P
an App.
Course Outcomes
UNIT : I (LECTURE HOURS: 12 Hours +PRACTICAL HOURS : 10 Hours = 22 Hours)

Topic(S) Sub Minutes Key Point(S) Hours / Topic


Topic(S) /

2019 Batch 1
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

Sub
Topic
A style that overrides one property, A style that
inherits a user defined style, A style that
How to define inherits a user defined style and overrides two
60 properties , Another way to code the previous
a style
style , How to inherit multiple user defined
How to work styles.
with styles How to apply The reference chooser dialog for a style 3
a style
A styles.xml file in the res\values directory
60
How to create with four user defined styles .
a style sheet

How to A styles.xml file in the res\values directory


modify a with four user defined styles
theme
How to 60 Some built in styles for controlling text
modify the appearance
text 2
How to work
appearance for
with themes
a theme
A summary of Some built in themes
built in themes
60 Theme.Holo.Light.Dialog,An
How to apply
AndroidManifest.xml file that uses a built-in
themes
theme
How to define A colors.xml file in the res\values directory
colors
How to work 120 How to apply colors to a widget,
with colors How to apply colors to a style, 2
How to apply
colors How to apply colors to a theme
An activity with an options menu that has two
An
items , The same options menu displayed from
introduction to
menus an action overflow icon

The file that contains the XML for the menu ,


How to define 60 The XML for the menu, some attributes of a
a menu menu item
How to work
2
with menus How to CreateOptionsMenu method , inflate
display
options menu
How to handle The code that displays the menu, The code that
option menu handles the menu item events
events
How to start a Code that starts a new activity, Code that uses
60
new activity menu items to start new activities

2019 Batch 2
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

An The settings activity , The dialog for the


introduction to rounding item
preferences
60 The file that contains the xml for the
How to define preferences, The xml for the preferences, Some
preferences attributes that apply to all preference items,
Some attributes that apply to List preference
How to The SettingsActivity class
How to work display
with preferences in 3
preferences an activity
How to The Settings Fragement class, The
display SettingsActivity class
120
preferences in
a fragment
A settings activity that uses dependencies , The
How to enable
xml for the preferences, The dependency
and disable
preferences attribute

Use built in 120 Java and XML code


themes
Use styles 120 Java and XML code
5
Modify a 60 Java and XML code
theme
Experiment Java and XML code
Practical with Menus 120
and settings
Work with Java and XML code 5
menus and 120
settings
Work with 60 Java and XML code
Preferences
UNIT : II (LECTURE HOURS: 14 Hours +PRACTICAL HOURS : 12 Hours = 26 Hours)

Sub Minutes
Topic(S) /
Topic(S) Key Point(S) Hours / Topic
Sub
Topic
How to use How to create 120 4
Start xml code for a fragment, use Graphical
single pane the layout for
layout editor for a fragment
layouts for a fragment
small screens How to create onCreate method and OnCreateView Method
the class for a
fragment
How to Add fragment element and use name attribute
display a to specify fully qualified name for the class.

2019 Batch 3
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

fragment in an
activity
How to create
Fragment needs to extend PreferenceFragment
a preference
class
fragment.
How to
120
display a
Use addPrefernceFormResource method to add
preference
the Preferences defined in XML file.
fragment in an
activity.
How to add
multiple Add two or more fragment elements to a layout
fragments to a file
60
layout.
How to use
How to detect
Multi-pane Create a values directory
large screens 2
layouts for
How to detect Create a values directory that uses smallest-
large screens
screen width width qualifier.
How to 60
Delete requestFocus element from body of
control the
EditText element
soft keyboard
How to work How thread Single sequential flow of control within a 4
with Threads work program

How to 60 This task runs in a separate thread in


execute background and does not tobe synchronized.
asynchronous
tasks

How to Use TimerTask and Timer classes to create a


execute timed thread that execute at specific interval
tasks 120
How to update Use post method of a view object to execute
UI thread any runnable object on UI thread

How to 60 Use Java and Android APIs to download a file


download a by reading input from Internet and writing
file from output to file system.
Internet.

How to parse Use SAX to parse XML files.


an XML file.

The Extends DefaulterHandler which contains


RSSFeedhandl override ,First two statements define instance
er class variables

2019 Batch 4
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

The RSSFeed Stores data for RSS feed which includes feed’s
class title and publication date

How to create Begins by using TextView widget to display


the Layout for the title of news feed, uses ListView Widget to
60 display items
a list view

How to use an Use SimpleAdapter class to display data.


How to work
adapter to
with Adapters 2
display data in
a list view 60
How to handle onItemClick method
events for an
adapter.

How to pass Explicit intent specify a component


data between 60
activities.

How to view Implicit intent ,code passes ACTION_VIEW


How to work constant as first argument
a URL in a
with Intents 2
web browser.
60
How to dial or ACTION_DIAL or ACTION_CALL constant
call a phone
number.

Create a new Java and XML Code


fragment
360
6
Use Fragment Java and XML Code
manager
Practical
360 Java and XML Code
Work with
asynchronous
6
tasks

UNIT : III (LECTURE HOURS: 14 Hours +PRACTICAL HOURS : 13 Hours = 27 Hours)

Sub Minutes /
Topic(S) Key Point(S) Hours / Topic
Topic(S) Sub Topic

How to work How to define Extend Application class and add instance

2019 Batch 5
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

the
Application 60 variables and methods.
object
How to
with
register the To register ,open AndroidManifest ,XML
Application 3
Application file and edit application element,
Object
object 120
How to use
To get a reference to Application Object, use
Application
getApplication method of context class
Object
The lifecycle
A unbound and bound service.
of service
How to create Implement : the service, Intent,Ibinder
a service. classes
How to
Open manifest file and add service element at
register a
same indentation level
service.
How to start
How to work 120 Start a service- calling startService method , 2
and stop a
with services provide menu Item that stops the service.
device.
How to use
threads with Use - AsyncTask class
services.
How to test a
Use Log class to print messages.
service.
How to view
Use Settings app
all services.
How
Appears as an icon in notification area at top
notification
screen, click
work
How to work
How to create 120 Passed to other app and execute, back stack 2
with
a pending sorted in order, task is cohesive unit contain
notificatiom
intent. multiple activities.
How to create
Use NotificationCompat Builder class
notification.
How to
display or Use NotificationManager to display or
remove remove a notification.
How to work
notification.
with system 60 1
How to
services
check ,if a Use ConnectivityManager to check network
network is available
available.
An introduction User interface 60 App provides personal and business,to 1
to databases for TaskList display click on tabs, edit a task.click Delete
app tasks button to remove all completed tasks.
An Three data types (String,lone,double)
introduction to
SQlite.

2019 Batch 6
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

An
introduction to Explanation - CREATE TABLE ,DROP
task list TABLE
database.
How to define Define constants for name and version.
the constants Tables names, column names, column
for a database. numbers
How to create
Build- CREATE TABLE ,DROP
How to create a or upgrade a 60 TABLE,ALTER TABLE. 1
database class database.
How to open
or close a Use methods – getReadableDatabase(),
database getWriteDatabase(), close()
connection.
How to
retrieve
Use WHERE clause
multiple rows
from a table.
60
How to
retrieve a
How to add Works by getTask Method
single row
public methods
from a table. 2
to database
How to get
class.
data from a Use getXxx method to get data
cursor.
60 Use methods –
How to insert,
Insert(table,columns,values),update(table,val
update and
ues,where,whereargs),Delete(table,where,wh
delete rows
ereargs)
Write code to create an instance of DB class
How to test the
and use public methods. After building
database class.
display in TextView widget
60
How to clear
Use settings app to delete the database for an
test data from
app.
a device.
How to test the
How to use
database class 2
DDMS
and clear its
perspective to Select directory and click “push a file”.
data.
work with
database files. 60
How to use the
Use – SQL DB browser and install SQLite
SQLite
DB browser. Create a new DB,open,view and
Databse
execute SQL statements.
browser.
Practical. Work with a
180 Java and XML Code
service 3

Use SQLite 360 Java and XML Code 6


Database

2019 Batch 7
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

Browser
Modify the
database class 240 Java and XML Code
4
for the Tasklist
app
UNIT : IV (LECTURE HOURS: 8 Hours +PRACTICAL HOURS : 12 Hours = 20 Hours)

Sub Minutes /
Topic(S) Key Point(S) Hours / Topic
Topic(S) Sub Topic
How to add
the
60 Get TabManager jar file
TabManager
class to project
The Layout for
an activity that TabHost widget defines a container for tabs
How to use display tabs
60 3
tabs . Tha class for
an activity that TabManager object to add one or more tabs
displays tabs
The class for a
fragment that
60 Use Tabhost class to get tag for current tab
uses a custom
adapter.
A layout for a
ListView widget used to display list of tasks
list view.
A class that 60
extends the Listview Widget contains complex widgets
layout for a list that extends layout
How to use view item.
custom A class for a 2
adapters customer Extends BaseAdapter class
adapter.
A class for a 60
fragment that Use custom adapter to display appropriate
uses a custom data
adapter.
The Task The user 3
Two list :Personal & business
List app interface.
The 60
activity_task_l Add Task item , Delete item
ist menu.
The 120
TaskListActivi onoptionsItemSelected method
ty class
The Use spinner to select name ,user can view
activity_add_e editable text to edit name and notes.
dit and
spinner_list

2019 Batch 8
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

layout.
The
Defines menus ,display two items 1.save item
activity_add_e
2.cancel item
dit menu 120
AddeditActivit
Creates TaskListDB
y class
Work with 360 Java and XML Code
6
Tabs
Practical. Work with a
custom 360 Java and XML Code
6
adapter
UNIT : V (LECTURE HOURS: 12 Hours +PRACTICAL HOURS : 13 Hours = 25 Hours)

Minutes /
Topic(S) Sub Topic(S) Key Point(S) Hours / Topic
Sub Topic
App icons,App
A home screen that widgets,control
has app widget widgets.create app
An introduction to widgets
120 2
app widgets Follow Procedure for
How to add app
Android 3.0 and
widgets to home
later,Prior to Android
screen.
3.0
Use Graphical layout
How to create layout.
layout editor
How to modify the
Broadcast an action
database class. 60
Extend
How to create the
AppwidgetProvider
provider class.
How to create app class
3
widgets. How to configure an Add an info file in res\
app widger. xml directory.
Appwidgetprovider
How to register an
120 extends
app widget.
broadcastreceiver class
How to test an app add app widget and
widget. test .
Application
marketplace or
How distribution
60 distribute directly to
works.
An introduction to users via email or
distribution and website. 2
monetization. Getting paid for an
How monetization app,app billing
60
works. provides in-app
products.
How to create a How to prepare an 120 After testing and 2
release build app for release. debugging ,release y

2019 Batch 9
B. Sc CS /IT/BCA ANDROID PROGRAMMING II

final check up
App must store in
How to create the
APK file signed with
signed APK file.
digital certificate
How to distribute via Create mobile friendly
How to distribute a web site. web page
60 1
directly to the user How distribute via
Attach APK file.
email
60 Upload APK file and
How to set up a
set up publisher
publisher account.
account
Name of app,brief
How to publish on How to use the description of app,two
2
Google play developer console to screenshots of an
publish an app. app,an image of an
app.
How to view the 60 Google play and
listing for an app. search for an app
Review and modify 180
Java and XML code
tasklist app widget
Add an app widget 180
that displays a count Java and XML code
Practical of task 13
Install tip calculator 180
Java and XML code
app on your device
Publish an app on 240
Java and XML code
Google play

TEXT BOOK:

T1. Training and Reference Murach’s Android programming by Joel Murach , Mike Murach
& Associates ,Inc.

Chapters 7 , 8 , 9 , 10 , 11 , 13 , 14 , 16 , 17

REFERENCE BOOK:

R1. Beginning Android Application Development by Wei-Meng Lee and Wiley Publishing,

Inc. 2011

R2. Android Programming Tutorials by Mark L. Murphy and CommonsWare, LLC., 2011

R3. Android Apps for Absolute Beginners Edition:2 A Press Wallace Jackson(2013)

2019 Batch 10

You might also like