S.NO | Topics | No. Classes |
1 | Core Java | Class 1 to 3( 1Hour) |
2 | Android
o Introduction o Software Installation o History of android o Features & Architecture |
Class 4 ( 1Hour)
|
3 | Deep Overview in Android Stack
o Linux Kernel o Libraries o Android Runtime o Application Framework o Dalvik VM |
|
4 | Android Components
o Activity o Services o Broadcast Receiver o Content Provider |
Class 5( 1Hour) |
5 | Creating First Android Application
o Creating Android Project o Debugging Application through o DDMS o Setting up environment o AVD Creation o Executing Project on Android Screen |
Class 6( 1Hour) |
6 | Hello World App
o Creating your first project o The manifest file o Layout resource o Running your app on Emulator |
Class 7( 1Hour) |
7 | Intents
o Implicit intent o Explicit Intent o Intent Filter o Activity Lifecycle |
Class 8( 1Hour) |
Test Date: Marks Scored: | ||
8 | Linking Activities
o Linking Activity o Passing Data using Intent o Bundle |
Class 9( 1Hour) |
9 | Building UI with Activities
o Activities o Layouts and Common UIcomponents o Creating UI through code and XML o Activity lifecycle o IntentsCommunicating data among Activities |
Class 10( 1Hour)
|
10 | Widgets
o Event Listener o Event Handling |
|
Test Date: Marks Scored: |
S.NO | Topics | No. Classes |
1 | Selection components
o ListView o Spinner o GridView o Adapters &CustomAdapters |
Class 11( 1Hour) |
2 | Advanced Selection components
o RecyclerView o CardView o Expandable ListView |
Class 12( 1Hour) & Class 13( 1Hour) |
3 | Dialogs
o Alert Dialog o Progress Dialog o Date and Time Picker o Customized Dialogs |
Class 14( 1Hour) |
4 | App Debugging
o Debugging in android application o Log cart o Validations o DDMS |
Class 15( 1Hour) |
5 | Notifications
o Toast, Custom Toast o Status bar Notifications |
Class 16( 1Hour) |
Test Date: Marks Scored: | ||
6 | Menus
o Options Menu o Context menu o Popup o Toolbar o Floating Action Button |
Class 17( 1Hour) |
7 | Fragments
o Fragments calling o Navigation Drawer o Tabs |
Class 18( 1Hour) & Class 19( 1Hour) |
8 | Animations | Class 20( 1Hour) |
9 | Styles, Themes and Material Design | Class 21( 1Hour) |
10 | Services ,BroadCast Receivers and WebView | Class 22( 1Hour) |
Test Date: Marks Scored: |
S.NO | Topics | No. Classes |
1 | Shared Preferences
o Create the File o Insert the data o Edit the Data o Remove the Data |
Class 23 ( 1 Hour) |
2 | Data Base
o SQLite Database o Create the Data Base o Insert o Update & Remove |
Class 24,25,26 ( 1 Hour) |
3 | Internal Storage & External Storage
|
Class 27 ( 1 Hour) |
4 | WIFI And Bluetooth | Class 28 ( 1 Hour) |
5 | Multimedia
o Camera o Media Player o Audio Player o VideoPlayer |
Class 29 ( 1 Hour) |
6 | Telephony manager
o Sending and Receiving SMS o Get the Telephone Details o Send SMS o Send Email o Make call & make search of Google |
Class 30 ( 1 Hour) |
Test: Marks Scored: | ||
7 | Multithreading
o Async Task o Handler o Thread |
Class 31 ( 1 Hour) |
8 | Text to Speech & Voice to text | Class 32 ( 1 Hour) |
9 | Canvas | Class 33 ( 1 Hour) |
10 | Web service
o Json o Xml o Restfull |
Class 34,35,36,37,38
( 1 Hour) |
11 | Sensor | Class 39 ( 1 Hour) |
12 | Google Map
Deploying The App To Google Play Store |
Class 40,41,42 ( 1 Hour) |
Test Date: Marks Scored: |
Android:
Android is a mobile operating system based on the LINUX OS.
An operating system is a set of hardware and software components. Here, the Android is a set of hardware and software components developed for mobile phones. Mobiles with the Android operating system are called android mobiles.
-> It was developed by Andy Rubin and his team members Nick Sears, Chris White and Rich Miner.
-> Initially, they wanted to develop an extraordinary camera. Then, they thought that there would be no much market for cameras. So, they turned their focus to the mobile operating system.
-> Android is the nickname of Andy Rubin given by his colleagues because of his love for robots.
-> While developing the operating system, they had faced some financial issues. So, they presented their idea to Samsung and asked for funding. But, it was rejected by Samsung.
-> Later, they met Google co-founder Larry Page in 2005. Larry Page had shown some interest in their idea and agreed to invest.
-> Then, Google acquired Android in 2005. Since then, Android development is under Google.
-> In 2007, Google formed a group of 84 companies to release Android as open source.
-> In 2008, the first mobile of Android was released by HTC. That is the HTC Dream. Also, T-Mobile G1 is called as the first mobile of Android.
Android Versions:
-> Android releases a new version every year with some performance enhancements, UI improvements, and some new features.
-> The versions are named after desserts. And all the version names follow alphabetical order.
-> According to sources, the initial versions of Android are called Astro – 1.0 & Bender – 1.1. These were used for Alpha & Beta testing purposes. There were no mobiles released with these versions.
-> 1.5 – Cupcake
1.6 – Donut
-> 2.1 – Eclair
2.2 – Froyo
2.3 – Gingerbread
-> 3.1, 3.2, 3.3 – Honeycomb
-> 4.0 – Icecream Sandwich
4.1, 4.2, 4.3 – Jellybean
4.4 – KitKat
-> 5.0, 5.1 – Lollipop
-> 6.0, 6.1, 6.2 – Marshmallow
-> 7.0, 7.1, 7.2 – Nougat
-> 8.0 – Oreo
Android Basic Tutorials
Architecture:
- Linux kernel contains hardware drivers.
- Android libraries: android.app /os/widget/database/text/view/webkit/content.
- Application framework: Activity manager, content providers, resource manager and system view
- Applications:
Activity lifecycle: oncreate-> onstart>pause>resume>stop>destroy.
Services: background running operations starts by invoking startService() methods when application starts, binds by bindService() method ends onCreate(),onVnind()>onUnbind(), onDestroy().
Broadcast Receivers: message passing between the application or system ex: battery status.
- create broadcast receiver by extending BroadcastReceiver class and override onRecive() method.
- Register in the manifest file.
Content Providers: Acts as mediator between application database /files. data.
we have to create by extending the contetProvider class
public class NewClass extends ContentProvider {
}
Querying database in a form a URI
<prefix>://<authority>/<data_type>/<id>
content://contacts/people/4
retrieving or updating the contact number 4.
Methods
onCreate(), query(),insert(),update(),delete(),getType(),
Fragment:
Part of an activity to handle screen view.
Ex: tablet can hold two fragments at the time but mobile only.
developer need to decide either show one fragment or two based on the need.
extending Fragment class
and overriding these methods.
Fragment Life Cycle onAttach(),onCreate, onCreateView(),onActivityCreated(),onStart(),onStop() /onResume(),onStop(),onDestroyView(), onDestroy(), onDetach().
Types: single fragments: we generally only one fragment for landscape mode, and another fragment for portrait mode.
- list fragments,
- transition fragments.
Intents and Filters:
Intent used to call another activity.
Intent: this class contains objects like Action, and data, Context, Extra, category, Flags.
Action/Data Pair & Description
ACTION_VIEW content://contacts/people/3
Intent filters
Specifies the types of intents that an activity, service, or broadcast receiver can respond to.
Specifies the capabilities of its parent component.
Android components (activity, service, or broadcast receiver, Content provider)
<intent-filter>
<action android:name=”android.intent.action.VIEW” />
<action android:name=”com.package.Name.LAUNCH” />
<category android:name=”android.intent.category.DEFAULT” />
<data android:scheme=”http” />
</intent-filter>
UI Layouts
Linear, relative, frame, tables, listview, gridview etc.
UI Widgets / Controls
Textview, Button, spinner ->seletcor in list drop-down list., Date picker, time picker, Toast, rating bar, progress bar etc.
Event Handling
just like js, jquery events
EventsHandlers: when an event occurs like onclick, ontouch these actions handle by event handlers.
EventListerns: event handler pass request to these listens so they respond the action.
Event registration: the process of above both. writing code to handle events with an event handler and even listeners.
User touch ->onTouch() -> OnTouchListener()
you need to figure out which event may occur and refer the android events documentation to implement.
the better example is Button clicks.
Styles and Themes
just like CSS.
To Apply style for entire application or activity you need to mention in the android manifest.file.
for a single, it can be done through layout XML file.
define styles here.
Location: res/values/styles.xml
call from res/layout/activity_main.xml or any activity (every activity /screen one XML file needed and some background in Java to handle the requests).
Themes
/res/values/themes.xml
Register in AndroidManifest.xml
Set colours in res/values/styles.xml
Take some time to understand the style inheritance.
Custom Components: when you are not satisfied with prebuilt android UI elements. then you can override
those another java class, extend it from the main class.
created a file called attributes in res/values/attrs.xml
modify the main XML.
DOwnload sourcecode with examples here.