Sample PPT 1
Sample PPT 1
Presented By:
ABCD
B.Tech CSE 4th Year
AITS, Haldwani
UTU R.No: XXXXXXX
CETPA INFOTECH PVT LTD is the leader in the “specialized training” brands of India certified by ISO
9001:2008 for its best quality.
CETPA Offers –
Training -
CETPA is no 1 in the field of Software & Embedded Training programs for engineering & other students.
Consultancy -
CETPA provides job consultancy to the CETPA certified students.
Development -
CETPA development deals in software as well as embedded production development.
CETPA INFOTECH is the largest training service provider in various engineering domains for all
engineering students as well as for the working professionals
It has an extensive experience of nurturing over 200000+ students in the past few years.
CETPA, the Composition of "Computer Education & Technology Promotion Association", believes in
quality not in quantity BECAUSE KNOWLEDGE MATTERS.
CETPA has specialization in 3 important domains namely: TRAINING, DEVELOPMENT and
CONSULTANCY. The company provides specialized training in 50+ leading technologies
Android is a mobile operating system developed by
Google.
Services:
A service is a component that runs in the
background
Attributes:
1) android: orientation
+)vertical/horizontal
Spinner: Displays the multiple options, but only one can be selected at a
time.
All data regarding suggestion of words can be saved into a notepad file
Sample code:
<AutoCompleteTextView
android:id="@+id/autoCompleteTextView1“
android:layout_width="wrap_content"
android:layout_height="wrap_content“
android:layout_alignParentLeft="true“
android:layout_below="@+id/textView1“
android:layout_marginLeft="36dp“
android:layout_marginTop="17dp“
android:text="">
<requestFocus />
</AutoCompleteTextView>
Auto-
Complete Text
view
startActivity() method
Android intents are mainly used to:
Start the service
Launch an activity
Display a web page
Display a list of contacts
Broadcast a message
Dial a phone call etc.
Implicit Intents Explicit Intents
Implicit Intent: doesn't specify the component. In such case, intent provides
information of available components provided by the system that is to be invoked.
//code
Intent intent=new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("http://www.javatpoint.com"));
startActivity(intent);
Explicit Intent: specifies the component. In such case, intent provides the external
class to be invoked.
//code
Intent i = new Intent(getApplicationContext(), ActivityTwo.class);
startActivity(i);
Android Option Menus are the primary menus of android. They
can be used for settings, search, delete item etc.
Inflating the menu by calling the inflate().
Sample code
<menu xmlns:androclass="http://schemas.android.com/ap
k >
<item android:id="@+id/item1"
android:title="Item 1"/>
<item android:id="@+id/item2"
android:title="Item 2"/>
<item android:id="@+id/item3"
android:title="Item 3"/>
</menu>
Options
Menu
Android context menu appears when user
press long click on the element.
Common use of JSON parser is to read data from a web server, and display
the data in a web page.“
Sample code:
JSONObject sys = reader.getJSONObject("sys"); country =
sys.getString("country"); JSONObject main =
reader.getJSONObject("main"); temperature = main.getString("temp");