3. What is Android
â˘It is an open source platform and OS for
mobile device
â˘Based On Linux Kernel
â˘Android has its own virtual machine.ie DVM
(Dalvik Virtual Machine), which is used for
executing the android application.
â˘Allows writing managed code in the Java
language
4. Components
1. Android App is built using components
⢠Activity- User visible window
⢠Service- Background service(no UI)
⢠Broadcast Receiver- Receiving broadcasts
from
⢠apps and system service.
⢠Content provider â Provides content to apps
2. Components are separate building blocks that can
be accessed by other apps.
3. Components are usually declared in application
manifest.
7. STEPS
1. Register with Google cloud messaging(GCM)
from GOOGLE API console and get Sender Id
and Api key for GCM. For more info https:
//console.developers.google.com/?
utm_referrer=http://developer.android.
com/google/gcm/gs.html
2. Set Emulator for Google cloud messaging helper
library.
3. Create server side code to save Google Cloud
Messaging registration id in our database and
send push notification to device.
8. STEPS
4. Check device is registered for web server
or not. If not registered send device imei
and gcm regid into database server and
redirected to show all registered devices
screen.
5. Select user to send message and after
selection show send message screen.
6. When user sending message then send
sender IMEI , sendto IMEI and message to
web server , webserver get user device
data (regID) from database and call gcm to
send message to regID.
9. STEPS
7. When GCM Client on device get new
message store it in SQLite database on phone
and show new notification message in
notification bar.
8. After clicking notification show message
screen will open and show all got messages
and on show message screen user can also
send message to other devices.
10. Want to learn more or need a resource who knows
how to create an android chat application?
Drop an email to info@baabtra.com
11. Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
12. Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
13. Need android training?
Contact:
Muhammad Haris NP
info@baabtra.com
in.linkedin.com/in/harisnp/ Or visit baabtra.com
US UK UAE
7002 Hana Road,
Edison NJ 08817,
United States of
America.
90 High Street,
Cherry Hinton,
Cambridge, CB1 9HZ,
United Kingdom.
Suite No: 51, Oasis Center,
Sheikh Zayed Road, Dubai,
UAE +971 4 3218852
+971 557546352
14. Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 â 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 â 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us