Building applications for mobile appliances
Download
1 / 14

Building Applications for - PowerPoint PPT Presentation


  • 338 Views
  • Updated On :

Building Applications for Mobile Appliances. Sassan Sanei. April 24 , 2002. BlackBerry wireless handheld. Wear/carry “palm size” form factor Tone, vibrating, LED notification Backlit Keyboard User-selectable 13, 16 or 20 line display Ideal for displaying web content or applications

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Building Applications for' - HarrisCezar


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Building applications for mobile appliances l.jpg

Building Applications forMobile Appliances

Sassan Sanei

April 24, 2002


Blackberry wireless handheld l.jpg
BlackBerry wireless handheld

  • Wear/carry “palm size” form factor

  • Tone, vibrating, LED notification

  • Backlit Keyboard

  • User-selectable 13, 16 or 20 line display

    • Ideal for displaying web content or applications

    • Reverse backlight

  • Rechargeable lithium ion battery

    • Docking and charging cradle

  • 8MB Memory

    • Intel Flash RAM

    • Ample memory for data intensive users and third party applications

  • Built on Java Platform

    • Provides industry standard programming environment

  • Integrated Applications

    • Email, organizer, SMS, phone, browser

    • Built-in headset jack supports add-on phone application


How blackberry works l.jpg

Email is compressed and encrypted(Triple DES)

Reply is decompressed, decrypted and received like “regular” desktop email

How BlackBerry works

Desktop PC

Email Software

Email is decompressed and decrypted

BlackBerry Handhelds

User composes reply, which is compressed and encrypted (Triple DES)

Exchange

or Domino

Email Server

Bell Mobility Network

Corporate Firewall

BlackBerry Enterprise Server


The paradox of wireless applications l.jpg
The paradox of wireless applications

  • The best wireless applications use wireless the least

    • Application must be useful both in and out of coverage

    • Need to minimize airtime cost and battery consumption

  • What if all the data is stored on a remote server?

    • Example: all appointments store in a calendar on a remote server

    • Application will not work out of coverage – can’t even check meetings

    • Must use airtime for even simple operations

  • Use wireless intelligently

    • Local processing and data storage is necessary for certain applications


Java 2 platform micro edition j2me l.jpg
Java 2 Platform, Micro Edition (J2ME)

  • Java addresses the paradox of wireless applications

    • The application must be useful both in and out of coverage

    • Processing is done locally and data can be stored locally

    • Airtime cost and battery use are minimized

  • BlackBerry supports Java 2 Platform, Micro Edition (J2ME) as its core operating system and development platform

  • 3 million Java developers

    • Java is already widely used in the enterprise – no need to “sell” benefits of Java

    • No need for programmers to learn a new language – shorter development cycle


Java is standards based l.jpg
Java is standards based

  • Java uses existing Internet standards

    • HTTP is the same mechanism used to deliver web pages to your PC’s browser

    • No need for you to learn new protocols just to support wireless devices

  • Java is platform-independent

    • Write once, run anywhere

    • HTTP abstracts the network layer, so it is not necessary to learn how to address a wireless network

    • Motorola, Ericsson, Nokia, Palm, NTT DoCoMo, and others have all announced support for J2ME


What java means to wireless handhelds l.jpg
What Java means to wireless handhelds

  • Java offers secure memory management

    • No memory leaks!

    • A poorly written (or maliciously destructive) application cannot write into the memory space allocated to another application

    • Bounds checking makes it impossible to write to element 51 of a 50-element array

  • Java “byte code” is highly compact

    • Small code size means that applications can be emailed as an attachment to a BlackBerry or browsed to as a web page, even over a narrowband network

  • But portability requires an interpreted language

    • This means that Java applications run slower than C/C++ counterparts

    • New BlackBerry devices compensate for this with faster hardware


Push vs pull l.jpg
Push vs. pull

  • “Pull” means the user requests information

    • Departure times of the next 3 flights from Toronto to Montreal

    • Hotels with rooms available from April 25 to April 27 for $150 to $200

    • Directions to a good jazz bar near the hotel

    • Local weather forecast for the next 5 days

  • “Push” means alerting the user to a new event

    • You’ve got mail

    • Flight AC 565 delayed to 4:17 pm,departing from gate D11

    • Rental car is in Hertz parking slot 78,free upgrade to luxury car

    • Restaurant Le Merlot Rigolo is offeringa 2 for 1 dinner special – tonight only


Slide9 l.jpg

RIM Integrated Development Environment

Workspace view

Full Featured Editor

Class Browser



Slide11 l.jpg

Powerful Debugger

Comprehensive debug views

Conditional Breakpoints

Expressions and Variables


Slide12 l.jpg

Testing and Performance tools

Coverage Analysis

Profiler


Slide13 l.jpg

IDE debugging code in simulator

Device simulator running Java

IDE can also debug Java on RIM hardware over the serial port


Closing remarks why java matters l.jpg
Closing remarks: “Why Java matters”

Vision:

Work with ISV partners to designand deploy value-added servicesthat increase the utility of BlackBerryand the ROI for BlackBerry customers

What BlackBerry provides:

BlackBerry provides all necessaryinfrastructure and device technologiesto quickly deploy secure wireless extensionsto existing enterprise applicationsand consumer services


ad