India missed the PC revolution, we were very late for with the internet revolution but with mobile revolution India is bang on. We use the same phones as in people of any other country and so is our young developers which create apps that earn millions apps that change the way the world interacts. At itvedant the focus is not only to teach the basics of app development but to make you understand the process of app development. With expert faculties you learn the best tips and tricks right under their hands. Learning mobile app development is fun filled and challenging. From the refreshment of java to most advance application development training we take you till the zenith of app development.
Core Android : By learning core android you would be able to develop your own android application which you can upload on google playstore. To start with this module you should have knowledge of Core Java. In this module you will learn to create different layouts, linking layouts using activities, intents and developing fragments (all basics which require to develop android app) using Android studio. You will be able to develop apps like recipe app, Todo List app, Wallpaper image gallery app. Develop advanced apps by learning advanced android.
Advance Android : Simply learning core android would not help you develop all kind of apps. Get the knowledge of advanced concepts by learning advanced android. This module will help you to learn.
Accessing web services and their data which helps developing apps like amazon, ola, quicker. Managing SQLite database helps developing apps like expense manager, Personal diary, reminders. Accessing geo-location api which helps to create apps like ola, uber
Social media integration helps adding functionality of Facebook login into your app. Create aesthetic designs using Material design
3. Introduction to Android
• Open software platform for mobile development.
• A complete stack – OS, Middleware, Applications.
• An Open Handset Alliance (OHA) project.
• Powered by Linux operating system.
• Fast application development in Java.
• Open source under the Apache license
10. Develop your own Applications.
Develop apps to operate robots
11.
12. • The OHA is a group of hardware and software developers, including
Google, NTT DoCoMo, Sprint Nextel, and HTC …
• Goal
– Accelerate innovation in mobile
– Offer consumers a richer, less expensive, and better mobile experience
• OHA have developed Android™, the first complete, open, and free mobile
platform
Open Handset Alliance (OHA)
22. • Includes a set of C/C++ libraries.
• Interface through Java.
• Surface manager – Handling UI Windows.
• 2D and 3D graphics.
• Media codes, SQLite, Browser engine.
23.
24. • Android relies on Linux version 2.6 for core system services such as device
drivers, security, memory management ,process management.
• The kernel also acts as an abstraction layer between the hardware and the
rest of the software stack.
33. Components - Activity
An activity is usually a single screen:
Implemented as a single class extending
Activity.
Displays user interface controls (views).
An application typically consists of several
screens:
Each screen is implemented by one activity.
Moving to the next screen means starting a
new activity.
39. Spinner
• Touching the spinner displays a
dropdown menu with all other
available values, from which the user
can select a new one.
40. A Toast is a pop-up message, which allows you to quickly notify the user of
some event.
Toast Messages
41.
42. The first parameter is used to set the gravity itself. Second and third
parameters define by how many pixels, relative to the value set in the
first parameter.
45. Intents
Intents are messages that are sent
among major building blocks.
They trigger an activity to start
up, a service to start or stop, or
are simply broadcasts.
46.
47. Explicit Intent
Explicit intent is used to invoke the activity or perform the action
within the applications.
Implicit intent
Implicit intent is used to invoke the actvity of another applications.
This type of intent is created by specifying actions.
49. User Interface
Two Ways to Create User Interface
There are two ways to create user interface (UI) in Android. One is
declarative and the other one is programmatic. They are quite different
but often used together to get the job done.
Declarative User Interface
Programmatic User Interface
50. Views and Layouts
Android organizes its UI elements into layouts and views. Everything you
see, such as a button, label, or text box, is a view.
51. LinearLayout
In a linear layout, like the name suggests, all the elements are displayed in
a linear fashion, either Horizontally or Vertically and this behavior is set
in android:orientation which is an attribute of the node LinearLayout.
52. TableLayout
TableLayout lays out its children
in a table. TableLayout consists of
only other TableRow widgets.
TableRow represents a row in a
table and can contain other UI
widgets. TableRow widgets are
laid out next to each other
horizontally.
53. RelativeLayout
RelativeLayout lays out its
children relative to each other.
As such, it is very powerful as it
doesn’t require you to nest
unnecessary layouts in order to
achieve certain look.
58. • A Sensor is a converter that measures physical quantity and convert it into a
signal which can be read by any Observer and by any Instruments
• A Sensor is a device which receive and responds to signal when touched
What is Sensor
59. Sensor supported By Android
• Accelerometer Sensor
• Gravity Sensor
• Magnetic Field Sensor
• Pressure Sensor
• Proximity Sensor
• Temperature Sensor
• Orientation Sensor
61. • Android supports all sensors via the SensorManager like as Accelerometer.
You can access SensorManager via getSystemServices
• The Sensor class Defines several constants for accessing the different
sensors:
Sensor.TYPE_GYROSCOPE
Sensor.TYPE_MAGNETIC_FIELD
Sensor.TYPE_ORIENTATION
Sensor.TYPE_ACCELROMETER
62. You can access the sensor via the sensormanager.getDefaultSenosr() method,
which takes as parameter as Sensor type
sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
Once you acquired a sensor, you can register a SensorEventListner object on it.
This listner will get informed, if the sensor data changes
sensorManager.registerListener();
64. Obtaining user location or developing location aware application for Android
you can utilize :-
GPS – Global Positioning System
NPS – Network Positioning System
Obtaining user location
65. GPS
GPS is a technical marvel made possible
by a group of satellites in earth orbit that
transmit precise signals, allowing GPS
receivers to calculate and display
accurate location, speed, and time
information to the user
66. NPS provider determine location using shell tower and wi-fi signals. It
responds faster and consume less battery power.
NPS
67. Android Location API
LocationManager
LocationManager class provide access to the Android Location Service. The
Service allows you to access location providers,
to register location updates listeners.
LocationProvider
The LocationProvider class is the super class of different location providers
which delivers the information about the current location. This information is
stored in the Location Class
68. Location
Location class represents a Geographic location at a particular time, which is
measured by or represented by Latitude and Longitude
Latitude measures North - South position
Longitude measures West-East position
LocationListener
The LocationListener class used for receiving notification from
LocationManager when the location has been changed