mobile java push on labs

Post on 11-Nov-2014

1.659 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Mobile Java Push on Labs is a framework to build mobile applications using content background push and download.

TRANSCRIPT

Mobile Java Push

A labs.ericsson.com enablerhttp://labs.ericsson.com/apis/mobile-java-push

2

Mobile Java Push

Provide 3rd party application

developers with a hosted platform for

building and deploying innovative services

Based on file push using Java ME™

or Android components

3

Why push delivery?

Any news?

No!

Any news?

No!

Any news?

No! New

content!Any news?

Yes! (News)

poll pushpushpush

Transfer content as soon as available

Save device battery

Reduce data traffic for user

4

Main features of Mobile Java PushHosted Service – Labs offers free distribution of Mobile Java Push for

application developers

– Only registered users

– Free sessions up to a limit (2000 SMS’s)

Client Library (APIs) to receive pushed content – Small footprint Java ME™ or Android library

– (Only Sony Ericsson phones supported)

Easy to use web-interface for content distribution

Developer Support– Technology and API documentation

– Sample code incl Tutorial

– Introduction video

5

Mobile Java Push overview

Web interface

Your push

Init server

Init push Push

Content

Mobile

pushserver

Web

server

Mo

bile

pu

sh

Java

ME

/An

dro

id A

PI

HTTP

SMS

6

Client API

Small footprint Java ME or Android library enables file push reception

Handles client wake-up, delivery and file system managment. Only build the user interface!

public class HalloWorld extends PushMIDlet {

public HalloWorld() {

super(“Hallo World App”);

}

public void notifyDownloadFinished(Session session, Service service) {

log(”Finished downloading ” + session.getNrOfFiles() + ” files”);

}

public void notifyAutomaticallyStarted() {

log(”Hallo World! I was auto-started!”);

}

Mobile push API

Java ME/Android core

7

Server interface

Alt 1: Web interface

– Manage services

– Push new sessions

– Provide content in the

form of HTTP URL’s

Alt 2: Web services

– Full flexibilty

– XML-RPC

8

Example applications

Warning! Take

cover

Push podcasting

Active wallpaperEmergency alerts

9

top related