4. SOWHAT’s IN PLATE
KEY TOPICS
Topics
Time
Dura.on
Introduc)on
15
mins
Ge2ng
Started
15
mins
Android
app
Fundamentals
15
mins
User
Interface
and
Controls
60
mins
Working
with
Text
Controls
60
mins
Graphic
and
Styling
30mins
Employing
Selec)on
Widgets
30mins
7. A Little About Jelly Bean
• Everything in Jelly Bean feels fast, fluid, and smooth.
• More reactive and uniform touch responses. Boot up time 34
compared to Nexus’s 54
• improved performance throughout the system, including
faster orientation changes, faster responses when switching
between recent apps
• Introduction of PDK, Project Butter, Google Now and many
more features
9. TALK TO TEXT
• It too allows natural queries, provides
equally natural responses (much like
Siri), and the voice output sounds much
more human-like than any other.
• Improved both in accuracy and turn
around time
• Understands Indian accent to much
larger scale
• No data connection required as whole
vocabulary library is ember red within
Jelly Bean
10. SMART APP UPDATES
• Starting with Android 4.1 Jelly Bean,
each paid app is encrypted with a
device specific key. Google has
enabled “smart updates” – basically,
they only send the part of the APK file
that has changed, not the whole app all
over again.
• Saves time and bandwidth
11. PROJECT BUTTER
• Frame rate for animation is not set at
60FPS
• Reduces touch latency not only by
sync, but now VSync timing
• Triple buffering in graphic pipeline for
more constancy in rendering that
makes smoother from scroll to paging
and animation
12. ACTIONABLE NOTIFICATIONS
• The new notifications come packed with more
information and actions, enough to help you
perform all essential tasks from within the
notification drawer, without having to actually
launch each individual app.
• You will be able to drag down on a notification
with two fingers to expand it for extra info and
options
• Disable Notifications for individual apps
13. ANDROID PDK
• PDK is hardware equivalent of an SDK for manufactures
• PDK is supposed to help manufacturer to make devices for latest
versions of android before that version actually launches
• Fragmentation - would be tackled
14. TYPE PREDICTION
• Yes !! It serves are Mini-Swiftkey of Android
• Accuracy is yet unknown, but certainly is better
than default keyboard.
15. SMARTER HOME SCREEN
• The JB home screen takes a page out of the
iOS book with the addition of auto-arrange. This
feature will automatically arrange both icons and
widgets for you as you move them around and
between different home screens.
• For example, if you move a widget to a home
screen that doesn’t have enough space for it,
the widget will be resized to fit within the empty
space on said screen.
16. IMPROVED CAMERA APP
• The Camera app has been improved to facilitate faster switching between
the camera viewfinder and captured photos.
• You can swipe in from the right of the screen to jump to your captured
photos and pinch to switch to a new film strip view, where you can quickly
swipe a photo up off the screen to delete it. Accidental deletes can be
undone.
17. ANDROID BEAM
• you will be able to tap two NFC-enabled Android devices together to share
photos and videos as well.
18. CHOOSEWHICH SUITS
App Designed Using Local Resources
and is mobile os centric
NATIVE APPLICATION
Integrating app functionality with web
development techniques
MOBILE WEB APPLICATION
Wri)ng
minimal
na)ve
UI
and
loading
web
services
for
data
transmission
over
server
NATIVE & WEB APPLICATION
Using
the
respec)ve
model
to
create
cross
na)ve
apps
that
works
on
all
intended
targets
CROSS PLATFORM DEV TOOLS
TYPES OF APPS
20. APP DEVELOPMENT
KICKSTART APP STRUCTURE
Default Activity Other Activity
Libraries
Services
Content Providers
Android Manifest
Layout Values AssetsDrawable
Intent
21. SOMETHING
ABOUT ANDROID
Facts That very Few Know
Android
is
a
soJware
stack
for
mobile
device
which
includes
OS,
middleware
and
key
component/
features.Google,
Google
Services,
IDE’s
and
Programming.Google
has
many
acquisi)on
and
it
is
soon
making
into
Cloud
Arena
23. THE TEXTVIEW
EXECUTING TEXTVIEW
Features of Edittext box
Element
to
View
Text
on
GUI.
textStyle,
textColor
are
some
of
its
element
type.
Import
android.widget.EditText
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://
schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=”I’m at Goa University"
/>
24. THE EDITWAY
EXECUTING EDITTEXT
Features of Edittext box
EditText
is
a
thin
veneer
over
textview
that
configures
itself
to
be
editable
Import
android.widget.EditText
<?xml version="1.0" encoding="utf-8"?>
<EditText xmlns:android="http://
schemas.android.com/apk/res/android"
android:id="@+id/field"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:singleLine="false"
/>
25. THE EDITWAY
EXECUTING EDITTEXT
Features of Edittext box
package com.edittext;import
android.app.Activity;import
android.os.Bundle;import android.widget.EditText;
public class EdittextActivity extends Activity
{@Override
public void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.main);
EditText E=(EditText)findViewById(R.id.field);
E.setText("Lets Have a Edit Text Demo.Have a
great day ahead. Cheers!");
26. THE IMAGEVIEW
EMPLOYING IMAGES
Features of Edittext box
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
android:src="@drawable/img"/>
</LinearLayout>
27. THE CHECK(BOX)
UNDERSTANDING CHECKBOX
Advance Checkbox Functions
isChecked()
is
a
func)on
that
is
use
to
check
if
the
checkbox
has
been
checked.
CompoundBuDon.OnCheckedChangeListener()
interface
defini)on
for
a
callback
to
be
invoked
when
the
checked
state
of
a
compound
buTon
is
changed
<?xml version="1.0" encoding="utf-8"?>
<CheckBox xmlns:android="http://
schemas.android.com/apk/res/android"
android:id="@+id/check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="This checkbox is: unchecked" />
28. THE CHECK(BOX)
UNDERSTANDING CHECKBOX
package com.CB;
import android.app.Activity;
import android.os.Bundle;
import android.widget.CheckBox;
import android.widget.CompoundButton;
public class CheckboxActivity extends Activity implements CompoundButton.OnCheckedChangeListener {
CheckBox cb;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
cb=(CheckBox)findViewById(R.id.check);
cb.setOnCheckedChangeListener(this);
}
public void onCheckedChanged(CompoundButton buttonView,
boolean isChecked) {
if (isChecked) {
cb.setText("This checkbox is: checked");
}
else {
cb.setText("This checkbox is: unchecked");
}
}
}
29. THE BUTTON
UNDERSTANDING BUTTON
Simplicity Unleased
There
are
2
simple
buTon
controls
for
use
within
your
layouts:
BuTon
(android.widget.BuTon)
ImageBuTon
(android.widget.ImageBuTon)
<ImageBuTon
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="
@drawable/skater"
android:id="@+id/
ImageBuTon01"
android:layout_toRightOf="@+id/
BuTon01"></ImageBuTon>
32. THE RADIO BUTTON
MONO SELECT
Simple, yet effective
<?xml version="1.0" encoding="utf-8"?>
<RadioGroup
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<RadioButton android:id="@+id/radio1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Session" />
<RadioButton android:id="@+id/radio2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="In" />
<RadioButton android:id="@+id/radio3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=“My Department" />
</RadioGroup>
My Department
33. THE TOGGLE BUTTON
UNDERSTANDING ON/OFF
Extension to Button via XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://
schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ToggleButton
android:id="@+id/toggleButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textOn="toggle_turn_on"
android:textOff="toggle_turn_off"
android:checked="true" />
</LinearLayout>
34. LINEAR LAYOUT CONCEPT
Various Linear Layout Parameters
Fill
Model
(
layout
:width
and
layout
:
height)
OrientaJon
(
Row
/
Colomn
)
Weight
(
How
are
the
spacing
between
two
widgets?)
Gravity(layout_gravity)
Padding(padding
leT,padding
right,padding
top,padding
boDom)
THE CONTAINERS