0% found this document useful (0 votes)
67 views29 pages

Sample PPT 1

The document provides information about Cetpa InfoTech Pvt. Ltd., an Indian company that specializes in software and embedded training programs. It states that Cetpa is the leader in "specialized training" in India and is ISO 9001:2008 certified for quality. The company offers training, consultancy, and development services. It has trained over 200,000 students and specializes in 50+ leading technologies. Cetpa believes in quality over quantity and has divisions for training, development, and consultancy.

Uploaded by

Manish Pant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views29 pages

Sample PPT 1

The document provides information about Cetpa InfoTech Pvt. Ltd., an Indian company that specializes in software and embedded training programs. It states that Cetpa is the leader in "specialized training" in India and is ISO 9001:2008 certified for quality. The company offers training, consultancy, and development services. It has trained over 200,000 students and specializes in 50+ leading technologies. Cetpa believes in quality over quantity and has divisions for training, development, and consultancy.

Uploaded by

Manish Pant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

Company Name: Cetpa InfoTech Pvt. Ltd.

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.

 Java language is mainly used to write the android code


even though other languages can be used.

 HTC Dream or T-Mobile G1 is the first ever Smartphone


to run on the Android

 It is developed by Google and later the OHA

 Based on the Linux kernel.



 Android IDEs
 Android Studio
 Eclipse IDE(Deprecated)
 Microsoft Windows XP or later version.
 Mac OS X 10.5.8 or later version with Intel chip.
 Java JDK5 or later version
 Set-up Java Development Kit (JDK)
text view
 Activities: An activity represents a single screen

 Services:
A service is a component that runs in the
background

 BroadcastReceivers: A Broadcast Receiver is an Android


app component that responds to system-wide broadcast
announcements

 Content Providers: Primarily intended to be used by other


applications
 anim/ : XML files that define property animations. They are saved in res/anim/ folder and
accessed from the R.anim class.
 Color/ :XML files that define a state list of colors. They are saved in res/color/ and accessed
from the R.color class.
 drawable/ : Image files like .png, .jpg, .gif or XML files that are compiled into bitmaps, state
lists, shapes, animation drawable. They are saved in res/drawable/ and accessed from the
R.drawable class.
 layout/:XML files that define a user interface layout. They are saved in res/layout/ and
accessed from the R.layout class.
 raw/ :Arbitrary files to save in their raw form. You need to call
Resources.openRawResource() with the resource ID, which is R.raw.filename to open such
raw files.
 values/:
 R.dimen class.
 R.string class.
 R.style class.
 R.color class.
 Linear Layout is a view group that aligns all children in
either vertically or horizontally.

 Attributes:
1) android: orientation
+)vertical/horizontal

2) android: weight Sum


+) Sum up of child weight
Horizontal Orientation Vertical Orientation
 Android Relative Layout enables you to specify how child
views are positioned relative to each other.
 The position of each view can be specified as relative to
sibling elements or relative to the parent.
 Android Button: Let's learn how to perform event handling on button click.

 Custom Toast: We are able to customize the toast.

 Toggle Button: It has two states ON/OFF.

 Spinner: Displays the multiple options, but only one can be selected at a
time.

 AutoCompleteTextView: Let's see the simple example of


AutoCompleteTextView.

 Rating Bar: Rating Bar displays the rating bar.


 If you want to get suggestions , when you type in an editable text field ,
you can do this via AutoCompleteTextView.

 It provides suggestions automatically when the user is typing.

 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

Just typing the


letter u it
shows all
possible
option this
application
has
 Android Intent is the message that is passed between
components such as activities, content providers, broadcast
receivers, services.

 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.

 It is also known as floating menu.

 It doesn't support item shortcuts and icons.


 Android comes with an inbuilt feature speech to text through which
you can provide speech input to your a
 Step 1: Starting RecognizerIntent
First we need to create a RecognizerIntent by setting necessary flags
such as
ACTION_RECOGNIZE_SPEECH – Simply takes user’s speech
input and returns it to same activity
LANGUAGE_MODEL_FREE_FORM – Considers input in free
form English
EXTRA_PROMPT – Text prompt to show to the user when asking
them to speak
 Step 2: Receiving the speech response
Once the speech input is done we have to catch the response in
onActivityResult and take appropriate action needed.
In the background
how voice input works
is, the speech input
will be streamed to a
server, on the server
voice will be
converted to text and
finally text will be
sent back to our app.
 JSON stands for JavaScript Object Notation. It is an independent data
exchange format and is the best alternative than XML.

 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");

 Advantage of JSON over XML


1) JSON is faster and easier than xml for AJAX applications.
2) Unlike XML, it is shorter and quicker to read and write.
3) It uses array.
 Array([)
In a JSON file , square bracket ([) represents a JSON array
 Objects({)

In a JSON file, curly bracket ({) represents a JSON object


 Key

A JSON object contains a key that is just a string. Pairs of


key/value make up a JSON object
 Value

Each key has a value that could be string , integer or double


e.t.c
THANKYOU

You might also like