1 / 42

Network Content & Applications in Mobile Devices mobilepit/ Mohammad Hafiz bin Ismail (info@mypapit)

Network Content & Applications in Mobile Devices http://mobilepit.com/ Mohammad Hafiz bin Ismail (info@mypapit.net) Do you have Bluetooth Capable Phone ? Please turn Bluetooth on now for demonstration section Mobile Devices

lotus
Download Presentation

Network Content & Applications in Mobile Devices mobilepit/ Mohammad Hafiz bin Ismail (info@mypapit)

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Content & Applications in Mobile Deviceshttp://mobilepit.com/Mohammad Hafiz bin Ismail (info@mypapit.net)

  2. Do you have Bluetooth Capable Phone ? Please turn Bluetooth on now for demonstration section

  3. Mobile Devices Handheld electronic device with limited processing power and connectivity commonly use by end-user consumers

  4. Examples of Mobile Devices Mobile Phones / Smart Phones PDA (Pocket PC / Palm)‏ Internet Tablet (Blackberry / Nokia 880)‏ Navigation Device

  5. What is not Mobile Device Laptop Personal Computer Game Console

  6. Why Mobile Device ? Mobile devices has become increasingly popular during the last 10 years. Estimate mobile subscribers around the world 2.7 billions. Currently Malaysia alone have has about 11 millions of mobile phone users a figure which expected to increase over the years. (Agar, 2004)‏

  7. Devices Popularity (Mobref,2007)

  8. Why Mobile Device Advancement of cellular technology has allowed Greater data transfer Faster processing power Greater interactivity Wider connectivity

  9. Early “Mobile Application” Limited processing power Relies heavily on a server-side language Depends on external browser Characteristic by the use of WML, XHTML, cHTML technology Does not actually 'run' on the mobile device.

  10. Early “Mobile Application” • Relies on the server-side to provide both processing power and User Interface • Little or no client-side processing • No client side record/database storage – everything on the server • Solely depends on internet connection

  11. Emerging Trends of Mobile Application Runs natively on the mobile device itself Does not rely on external browser Depends more on Web Service API (SOAP/XML-RPC/REST) rather than the website itself. Concentrates more on usability and content delivery

  12. Why do we need Native Network Mobile Application Easy to deploy in commercial sense Tightly integrated into user interface Does not rely on external browser The application can store data on mobile phone Faster retrieval and response time The application can access mobile phone functionalities (camera/sms/caller-id/files)‏

  13. Examples “Jeffrey wants to create an application which enables him to share photos taken from his phone camera to some of his friends” Can it be done with WML/XHTML based mobile application?

  14. Types of Mobile Application Email Applications Video Streaming Multiplayer game News reader Instant Messenger Application Weather Forecast application Currency converter Location Base application Home/Security Monitoring Application

  15. Ways Mobile Internet Application Communicate Low Level TCP/IP Socket Connection UDP Datagram Bluetooth RFComm ‘Virtual’ Serial COM port (on PDA)

  16. Ways Mobile Internet Application Communicate High Level (The BEST Way!) Achieve through the use of Web Services • XML-RPC • SOAP • ATOM api • Representational-State Transfer (REST)

  17. Why Web Services is the best way? • Uses distributed computing concept • Widely accepted as a ways to publish API • Portable, Web Services only relies on HTTP/HTTPS availability • Becomes an Emerging standards of publishing services (W3C, RFC 4287)

  18. Organization that uses Web Service • Google.com (ATOM -GData, SOAP) • Yahoo.com (SOAP) • Amazon.com (SOAP) • Wordpress.com (XML-RPC) • Haze.net.my (REST) • Foxrate.org (XML-RPC)

  19. Organization that uses Web Service Amazon.com Publish Web API to enable developers to create application that can list latest Amazon product, price comparison and heavily discounted and popular items

  20. Organization that uses Web Service • Flickr.com Uses web service API to enable its users to post/update photos using any application. Mobile application that uses Flickr API : MobUp (http://mobup.blogspot.com) j2meMap (http://j2memap.sf.net) Mickr (http://www.mickr.de/)

  21. Flickr.com Client Screenshots MobUp

  22. How Web Services Architecture Works ? DB DB DB Procedure stored on the server XML-RPC API Server (http://foxrate.org) Result() = 353.71 currencyConvert(USD,MYR,100) Less of 1KB data Less than 1KB data User Interface is inside the phone

  23. But the same application can be written in WML! Why bother? Any opinion ?

  24. Web Service is better because • It separates the developers work and the service providers work • Developers only concentrates on their best expertise, developing mobile clients. • Developers does not need to maintain the information itself

  25. Web Service is better because • In mobile application, size DOES matter! • Data transfer need to be optimized for faster response time (latency) and cost) • Locally run Mobile Internet Application that uses Web Service do just that!

  26. Bandwidth & Data transfer efficiency Typical WML Application foxrate.org Request website foxrate.org Website (interface) displayed index.wml – 4KB foxrate.org User request currency exchange (process.php) – less than 1KB

  27. Bandwidth & Data transfer efficiency DB DB DB Procedure stored on the server XML-RPC API Server (http://foxrate.org) Result() = RM 353.71 currencyConvert(USD,MYR,100) Less of 1KB data Less than 1KB data Total Data transfer = 1KB + 1KB = 2KB User Interface is inside the phone

  28. Bandwidth & Data transfer efficiency Typical WML Application foxrate.org Result displayed result.wml (3KB) Total Data transfer = 4KB + 3KB + 1KB = 8KB Web Services is 4 times smaller than a typical WML application !

  29. Why? • The main reason is the user interface of WML application is stored on the server not client • By using web service we are free to create our own user interface independent of the service provider.

  30. WML Drawbacks from Commercial Aspect • WML application are hard to sell • Hard to distribute • Require constant maintenance (server) • Hard to customize on the mobile phone part (different vendor wants to put their own logo, endorsement) • WML application can’t use phone features (camera,bluetooth, GPS, InfraRed)

  31. Further Reading on Web Services XML-RPC • http://xmlrpc.com • http://www.xml-rpc.net/ SOAP • http://www.w3.org/TR/soap/ • http://www.soaprpc.com/ws_implementations.html

  32. What Next ? Location Base Application (GPS) • Car Navigation • Fishing Spot Finder • Speed Warning (GPS Auto) • GPSolat More mobile phones are equipped with GPS receiver, it’s the latest trend!

  33. Location Base Application

  34. GPSolat – Prayer time base on GPS • Prayer time is different according to location, season and direction. • GPSolat uses location data to determine the Kiblah direction and users’ current location • Base on that it can calculates prayers time. • No need to worry about prayers time when travelling anymore!!

  35. Internet Mobile Application SDK You can create Internet Mobile Application using any of these platforms • JavaME (http://sun.java.com/javame) • Symbian (http://forums.nokia.com) (Nokia) • .NET Compact Framework (http://msdn.microsoft.com/mobility/netcf/) (PDA)

  36. JavaME • The best SDK for learning • Supported by almost all modern phones • Has great documentation • Uses Java • Has a lot of libraries • Implementations guaranteed to support HTTP/HTTPS protocol for communication. • Portable

  37. .NET Compact Framework • Great for people who are familiar with .NET • Supported by Windows Mobile PDA devices only • More powerful than JavaME • Tighter integration with device (Microsoft+Microsoft)

  38. Symbian • Uses C++ • Harder to code compared with others • Very close to hardware implementation • Limited device, only supported on some Nokia and Sony Ericsson Smartphone

  39. Screenshots

  40. Why Develop Mobile Application? • The Desktop application market has been saturated and controlled by bigger companies. (i.e nobody uses other application than MS-Word, Powerpoint) • Mobile devices is the new playground. • Opportunities to develop localized content • Huge marketplace, can compete with each other fairly. • Niche Market, you can sell through telcos

  41. Places to publish Mobile Application • Handago.com • GetJar.com • Payloadz.com • PocketGear.com • MypdaCafe.com And many others!

  42. Network Content Applications in Mobile Devices Q&A

More Related