Android is an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers.
Android offers a unified approach to application development for mobile devices which means developers need only develop for Android, and their applications should be able to run on different devices powered by Android.
Multiple companies producing Android phones like Samsung, HTC, LG, Motorola,LAVA and many others.
2. Content
Content
Core Java
XML Technologies
Introduction to Android
Stack
Get Started
Project Structure
UI – Layouts and Views
Events, Dialogs and Messages
Resources
Preferences and Files
Application Components and Life Cycle
Content Providers
Database Storage
Multimedia
Graphics and Animation
Networking
Threads
Notifications
Deployment
Debugging Applications
Security Framework
Search Service
Location Service
Project
About Us
www.collaborationtech.co.in
3. Introduction
Android is an open source and Linux-based Operating
System for mobile devices such as smartphones and tablet
computers.
Android offers a unified approach to application
development for mobile devices which means developers
need only develop for Android, and their applications
should be able to run on different devices powered by
Android.
Multiple companies producing Android phones like
Samsung, HTC, LG, Motorola,LAVA and many others.
www.collaborationtech.co.in
6. Get Started
Srccomexamplehelloworld
MainActivity.java
package com.example.helloworld;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}
}
www.collaborationtech.co.in
9. Get Started
Resvaluesstrings.xml
<?xml version="1.0" encoding="utf-8"?><resources>
<string name="app_name">Hello World</string>
<string name="hello_world">Collaboration Technologies</string>
<string name="action_settings">Settings</string>
</resources>
Running the Application :
Let's try to run our Hello World! application we just created. I assume
you had created your AVD while doing environment setup. To run the
app from Eclipse, open one of your project's activity files and click
Run icon from the toolbar. Eclipse installs the app on your AVD and
starts it and if everything is fine with your setup and application, it
will display the output Emulator window.
www.collaborationtech.co.in
10. Follow us on Social
Facebook: https://www.facebook.com/collaborationtechnologies/
Twitter : https://twitter.com/collaboration09
Google Plus : https://plus.google.com/100704494006819853579
LinkedIn : https://www.linkedin.com/in/ramananda-rao-a2012545
Instagram : https://instagram.com/collaborationtechnologies
YouTube :
https://www.youtube.com/channel/UCm9nK56LRbWSqcYWbzs8CUg
Skype : facebook:ramananda.rao.7
WhatsApp : +91 9886272445
www.collaborationtech.co.in
THANK YOU