Android Chat Application
Vineeth [email protected]/1991twitter.com/vineeth4uuin.linkedin.com/in/vineethc
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
Components1. 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.
STEPS1. 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.
STEPS4. 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.
STEPS7. 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.
Want to learn more or need a resource who knows how to create an android chat application?
Drop an email to [email protected]
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.
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
Need android training? Contact: Muhammad Haris [email protected]/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
Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
Cafit Square,Hilite Business Park,Near Pantheerankavu,Kozhikode
Start up VillageEranakulam,Kerala, India.
Email: [email protected]
Contact Us
Top Related