Take your Android app offline via SMS

Preview:

Citation preview

peopledelight

Take your Android apps offline via SMS

By Pranay Airan (@pranayairan) & Gopi Krishnan(@gkrishnan)

2

Most of the connected people of the world have only a mobile phone without a data plan

Highly connected

5-10%

Area of focus

Not connected40-55%

Connected40-50%

Short Message Service (SMS) is the most widely used service by the connected populationof the world, with 2.4B active users, or 74% of all mobile phone subscribers

Note: Rough approximations to explain the concept. Information is directionally correctSource: Internet & Mobile Association of India, 2012; Wikipedia

Global approximations

Broad-band users ~15M

Inter-net users ~100

Internet+ mobile data plan users ~400M

Mobile phone users ~900 M

Total population ~1.2 B

India Example

LET’S SEE SOME APPS

3

App demo : Low Price app

4

• Scans a bar code on the book• Finds out it’s lowest price across vendors• Works without any Wi-Fi as well !!

App demo : Twitter app

5

• Simple Twitter app which gets Twitter feeds based on hashtags• Code walk through and demo of how to build an app which

works without Wi-Fi connection (via SMS)

Let’s see how we do it

6

APISearch/json

SMS Wrapper

Search/json

SMS

Android App

7

Let see Some code

API

8

API

https://dev.twitter.com/docs/api/1/get/search

https://search.twitter.com/search.json?q=%23droidcon

SMS PHP code

9

SMS Wrapper

10

What is txtWeb ?

A global platform that enables:

1. Users to discover and consume bite-size textual services on-demand, and,

2. Developers and businesses to acquire and engage users on any mobile device through simple text-based apps

Highlights:

• Simple, easy, open API

• Platform is programming language agnostic (use what you fancy – Java, PHP, Perl, Python)

• Platform provides SMS ⇌ HTTP transformation

– Makes developer’s life simple for delivering web app over SMS

– Developer focuses on building an HTTP based app

– No coding work to “integrate” with txtWeb platform

@wiki sanskrit

Sanskrit ( ), is a historical Indo-Aryan language and the primary liturgical language of Hinduism, Jainism and Buddhism.

User sends User receives

@droidconinWelcome to Bus Routes App!Reply with the following:@bus <from, to>

txtWeb Platform – How it works

12

Phone Carrier

SMStxtWeb

PlatformInternetHTTPSMS HTTP

Developer APP

High level architecture

txtWeb platform enables creation and consumption of interlinked information through SMS

Let’s see how we do it on txtWeb

• Live demo on : http://developer.txtweb.com

14

15

txtWeb on Android

• Android app Demo

Questions

16

"

Get In touch with us

Visit our Booth outside to know more about the android app and txtweb

You can reach us @ pranay_airan@intuit.com and gopi_nambiar@intuit.com

Appendix

17

Recommended