Top Banner
Mobile Java Push A labs.ericsson.com enabler http://labs.ericsson.com/apis/mobile-java-push
9

Mobile Java Push On Labs

Nov 11, 2014

Download

Technology

Mobile Java Push on Labs is a framework to build mobile applications using content background push and download.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mobile Java Push On Labs

Mobile Java Push

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

Page 2: Mobile Java Push On Labs

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

Page 3: Mobile Java Push On Labs

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

Page 4: Mobile Java Push On Labs

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

Page 5: Mobile Java Push On Labs

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

Page 6: Mobile Java Push On Labs

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

Page 7: Mobile Java Push On Labs

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

Page 8: Mobile Java Push On Labs

8

Example applications

Warning! Take

cover

Push podcasting

Active wallpaperEmergency alerts

Page 9: Mobile Java Push On Labs

9