Dse-Iv E (Theory-Programming)
Dse-Iv E (Theory-Programming)
COURSE CONTENT
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
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
2019 Batch 2
B. Sc CS /IT/BCA ANDROID PROGRAMMING II
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
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
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
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