slides

flosssnailsMobile - Wireless

Dec 10, 2013 (3 years and 7 months ago)

69 views

Next Generation

9
-
1
-
1

Android Client


Anuj Sampathkumaran


Jinhyung Park


Pranay Dalmia

Features





Real
-
time Text



Instant Messaging



Geo
-
location (PIDF
-
LO)



Image transmission


Application flow

Instant Messaging


Library used:

o
SIP Stack:

MJSIP 1.6



Used SIP MESSAGE method to send instant
-
messages
over UDP.



Listen for 200 OK from the server.


Message Time
-
out within 4 seconds if no response from
the server.


Real Time Messaging


Library used:

o
For SIP Stack


MJSIP 1.6

o
For User Session Control


Referenced SipDroid(Android VoIP Client) to
implement UserAgent Class

o
For T140 Protocol


Used SIPc T140Handler Class

Image Transmission


Uses the SIP protocol (MJSIP Stack 1.6) to send
images.



Custom camera interface to enable one
-
click send.


Invoke the Camera to get the image in JPEG format



Set the content type of SIP message to "image/jpeg"


Switch the protocol to TCP


Ensure that JPEG image is sent only as Binary data.

Geolocation


Application listens for location update call backs from
the Android run
-
time.



Once notified, construct a PIDF
-
LO using the location
data.




Send this with the first Instant Message or Real
-
time
text by sending a multi
-
part message.


After this, keep buffering the location updates.



Send this data with the next outgoing instant message
and remove from buffer.



This ensures we do not send redundant PIDF
-
LO objects
to the server.


Application Layout: IM

Application Layout: RTT

Conclusion

What we learned?



SIP Stack




Android Development Environment


Next Steps

Long
-
term



Improve User Interface



Improve Real
-
Time Text Stability



Additional Features

o
Automatically Notifying to friends by using Address
Book


Sending Video