Building Applications for Mobile Appliances Sassan Sanei April 24 , 2002
Slide 2BlackBerry remote handheld Wear/convey "palm measure" shape figure Tone, vibrating, LED notice Backlit Keyboard User-selectable 13, 16 or 20 line show Ideal for showing web substance or applications Reverse backdrop illumination Rechargeable lithium particle battery Docking and charging support 8MB Memory Intel Flash RAM Ample memory for information serious clients and outsider applications Built on Java Platform Provides industry standard programming environment Integrated Applications Email, coordinator, SMS, telephone, program Built-in headset jack underpins add-on telephone application
Slide 3Email is compacted and scrambled (Triple DES) Reply is decompressed, unscrambled and got like "consistent" desktop email How BlackBerry works Desktop PC Email Software Email is decompressed and decoded BlackBerry Handhelds User creates answer, which is packed and encoded (Triple DES) Exchange or Domino Email Server Bell Mobility Network Corporate Firewall BlackBerry Enterprise Server
Slide 4The Catch 22 of remote applications The best remote applications utilize remote the minimum Application must be valuable both all through scope Need to minimize broadcast appointment cost and battery utilization What if every one of the information is put away on a remote server? Illustration: all arrangements store in a schedule on a remote server Application won't work out of scope – can't check gatherings Must utilize broadcast appointment for even basic operations Use remote brilliantly Local preparing and information stockpiling is essential for specific applications
Slide 5Java 2 Platform, Micro Edition (J2ME) Java addresses the oddity of remote applications The application must be valuable both all through scope Processing is done locally and information can be put away locally Airtime cost and battery utilize are minimized BlackBerry bolsters Java 2 Platform, Micro Edition (J2ME) as its center working framework and advancement stage 3 million Java engineers Java is as of now generally utilized as a part of the venture – no compelling reason to "offer" advantages of Java No requirement for software engineers to take in another dialect – shorter improvement cycle
Slide 6Java is principles based Java utilizes existing Internet guidelines HTTP is a similar system used to convey site pages to your PC's program No requirement for you to learn new conventions just to bolster remote gadgets Java is stage autonomous Write once, run anyplace HTTP abstracts the system layer , so it is not important to figure out how to address a remote system Motorola, Ericsson, Nokia, Palm, NTT DoCoMo, and others have all reported support for J2ME
Slide 7What Java intends to remote handhelds Java offers secure memory administration No memory spills! An ineffectively composed (or malevolently ruinous) application can't compose into the memory space assigned to another application Bounds checking makes it difficult to keep in touch with component 51 of a 50-component exhibit Java "byte code" is exceedingly conservative Small code estimate implies that applications can be messaged as a connection to a BlackBerry or perused to as a page, even over a narrowband organize But conveyability requires a translated dialect This implies Java applications run slower than C/C++ partners New BlackBerry gadgets make up for this with speedier equipment
Slide 8Push versus pull "Force" implies the client demands data Departure times of the following 3 flights from Toronto to Montreal Hotels with rooms accessible from April 25 to April 27 for $150 to $200 Directions to a decent jazz bar close to the lodging Local climate estimate for the following 5 days "Push" implies alarming the client to another occasion You have mail Flight AC 565 postponed to 4:17 pm, leaving from entryway D11 Rental auto is in Hertz stopping opening 78, free move up to extravagance auto Restaurant Le Merlot Rigolo is putting forth a 2 for 1 supper unique – today evening time just
Slide 9RIM Integrated Development Environment Workspace see Full Featured Editor Class Browser
Slide 10Extensive J2ME agreeable class library
Slide 11Powerful Debugger Comprehensive troubleshoot sees Conditional Breakpoints Expressions and Variables
Slide 12Testing and Performance instruments Coverage Analysis Profiler
Slide 13IDE investigating code in test system Device test system running Java IDE can likewise investigate Java on RIM equipment over the serial port
Slide 14Closing comments: "Why Java matters" Vision: Work with ISV accomplices to plan and send esteem included administrations that expansion the utility of BlackBerry and the ROI for BlackBerry clients What BlackBerry gives: BlackBerry gives all essential foundation and gadget advancements to rapidly convey secure remote augmentations to existing undertaking applications and buyer administrations
SPONSORS
SPONSORS
SPONSORS