droidconIN 2015

The fifth edition of droidconIN

Designing Long Lived XMPP(TCP) Connections on Android

Submitted by Harshit Bangar (@bangarh) on Thursday, 8 October 2015

Section: Core Development - Crisp talk (15 minutes) Technical level: Advanced

View proposal in schedule

Abstract

Although for most of the apps rest suffices most of the Messaging apps and real time communication works by maintaining a long lived TCP connection. There are patterns for designing rest api but designing XMPP (or any other long lived TCP connection) is still a mystery. Through this talk I want to bind this gap.

Outline

How can we build a chat (or remote command execution) app without consuming much battery and network. In this talk I am going to talk about that. I am going to talk about the wakelocks and other api to design a app with persistent long running service.

Speaker bio

Currently working on my startup I have worked on Android extensively previously at Amazon and Kiwi. While working on ecommerce and gaming apps I found the knowledge of rest design (and retrofit) to be sufficient. I learned about xmpp in a hard way while working on my current startup and want to share my learning.

Slides

https://docs.google.com/presentation/d/1o25NEXTAIhfFhe_F6pLp-ituIp0YLfOwb0sZ5gxKTg4/edit?usp=sharing

Comments

Login with Twitter or Google to leave a comment