Mobile development wml, wml script & android basic

2,615 views
2,488 views

Published on

Basic of Mobile Development, WML & WMLScript.

Published in: Education, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,615
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
76
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Mobile development wml, wml script & android basic

  1. 1. Chaudhari Technical Institute, GandhinagarMOBILE APPLICATION DEVELOPMENT&ANDROID BASICS Presentation By Mr. Vinod Pillai vinodthebest@gmail.com http://vinodthebest.wordpress.com
  2. 2. Agenda:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  3. 3. About Me:• Having 2.0 years of Industry experience in Client server applications with Java, J2EE, Struts & PHP technologies.• 2.5 years teaching experience (Subjects: C, C++, Java, Advance Java & NT-II, J2ME).• Strong Technical skills in Java, J2EE (Servlet, JSP, EJB)• Done Master of Computer Science (Wollongong University - Australia)
  4. 4. Areas of Interest:Web Application Development Mobile Application DevelopmentAndroid Application Development J2ME Application DevelopmentStruts Hibernate 3.0Cyber LAW Semantic Web ( RDFa)
  5. 5. Future Scopes: •Mobile Computing •Network Security / Wireless App •Cyber Crimes (Cyber Laws) •Cloud Computing •Semantic Web
  6. 6. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  7. 7. Part – 1 (Mobile & Wireless Computing.)
  8. 8. Scope of Mobile Application Development• As the time passes, the mobile has overcome the conception of just acting as a device to make voice calls.• It has now embedded in itself number of other features which have brought a huge revolution in the mobile application development process.• Mobile Application development is the process of developing applications which acts as an added feature in any handheld device.
  9. 9. Scope of Mobile Application Development• Applications are developed using various platforms.• Some of the platforms are Android, Blackberry, iPhone, Symbian, iPad, Windows mobile.• It covers vast range of booming sectors like business, Games, News, Weather, Education, and Money or the finance sector are some of the few categories where the mobile application development process is carried on.
  10. 10. Mobile & Wireless Computing
  11. 11. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  12. 12. Part – 2 (WAP, WML & WMLScript)
  13. 13. Key Terms: Internet/Web App. Standalone HTML/XHTML Browser App.JavaScript CSS DHTML
  14. 14. Two major parts of Mobile Development: •Web Site/Web 1 Application •Mobile 2 Application/Software
  15. 15. Website Development (Mobile)• The number of users browsing the Web from a mobile device continues to rise, creating a great web experience for users of mobile devices is much easier than you might think.• A few different types of markup are available for building a mobile web site. Youll need to choose one that suits the needs of your customers and stick with it.
  16. 16. Website Development (Mobile): WML & WMLScript XHMTL XHMTL - MP
  17. 17. WML• In the early days of mobile web devices, the only way to surf the mobile web was to browse WAP (Wireless Application Protocol) sites.• A WAP site uses WML (Wireless Markup Language) as its primary markup language.• WML is an XML markup language based on the card-and-deck metaphor.• WML is mostly used by legacy systems or by sites that explicitly target customers with low- end phones that are six years old or older.
  18. 18. WML• One potential group of customers still using WML browsers, however, is those in developing nations.• The Nokia 1100 and 1101, for example, are extremely basic, extremely cheap phones, of which an estimated 200 million units have been solid worldwide, making this phone the best- selling model to date, worldwide.• If your site is targeted to this market segment, WML might be the best solution for you.
  19. 19. WML• WML (Wireless Markup Language) is the first markup language standard for wireless devices.• WML stands for Wireless Markup Language.• It is a mark-up language inherited from HTML, but WML is based on XML, so it is much stricter than HTML.• WML is used to create pages that can be displayed in a WAP browser. Pages in WML are called DECKS. Decks are constructed as a set of CARDS.
  20. 20. WML• Only one card will be shown on the screen of the wireless device each time.• If the user goes to another card of the same deck, the mobile browser does not have to send any requests to the server since the file that contains the deck is already stored in the wireless device.
  21. 21. WML Card - 1 Desk Card - 2 Card - 3
  22. 22. WML
  23. 23. WMLCorrect Format
  24. 24. WML
  25. 25. WML
  26. 26. WML
  27. 27. WML
  28. 28. WML
  29. 29. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  30. 30. Part – 3 (XHTML & XHTML MP)
  31. 31. XHTML & XHTML-MP• Most built-in phone browsers these days can handle XHTML just fine. A mobile phone recognizes two flavours of HTML: – XHTML -- the same, basic XHTML rendered by desktop web browsers – XHTML-MP -- the MP here stands for Mobile Profile• The difference between these two languages is that XHTML-MP consists of slightly fewer elements and tighter restrictions. These differences
  32. 32. XHTML & XHTML-MP• These differences exist to make it easier for the mobile device to parse and render a web document, but writing XHTML-MP markup shouldnt introduce any significant changes to your process for writing regular XHTML.
  33. 33. XHTML • DOCTYPE Compulsory • Each and every <tag> must have closing </tag> • Every tag must be properly <nested> • All tags must be in the lower case only. • All the attributes of the tags also in lower case. • All attribute values in “ ” only.
  34. 34. XHTML (Basic Tags)
  35. 35. XHTML-MP• XHTML Mobile Profile and is designed for resource-constrained Web clients that do not support the full set of XHTML features, such as mobile phones, PDAs, pagers and set-top boxes.• It extends XHTML Basic with modules, elements and attributes to provide a richer authoring language.
  36. 36. XHTML-MP• XHTML Mobile Profile is the official markup language in the most recent WAP specification version 2.0 defined by the former WAP Forum.• The WAP Forum created XHTML Mobile Profile based on XHTML Basic, with the addition of some elements and attributes from the full version of XHTML such as <i>, <b>, <small>, <big> and <hr>. XHTML Mobile Profile supports a simplified version of cascading style sheet called WCSS / WAP CSS.
  37. 37. XHTML-MP• <!DOCTYPE html PUBLIC "- //WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml- mobile10.dtd">• The greatest advantage brought by XHTML MP is that developers can now use the same technologies for the development of both web sites and WAP sites.
  38. 38. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  39. 39. Part – 4 (J2ME Application Development.)
  40. 40. Java Key Terms: Java SDK (Standalone App.) J2EE (Web App.) J2ME (Mobile App.)
  41. 41. J2ME• Core Java was already present but however, instead of beefing up Java with additional APIs, the team at Sun, along with the Java Community Process Program, dismantled both the Java programming language and the Java Virtual Machine.• They stripped down Java APIs and the JVM to the minimum coding required to provide intelligence to embedded systems and microcomputer devices.
  42. 42. J2ME – Configuration & Profile• The result of their efforts is J2ME.• J2ME is a reduced version of the Java API and Java Virtual Machine that is designed to operate within the sparse resources available in the new breed of embedded computers and microcomputers.• There are two configurations for J2ME as of this writing. These are Connected Limited Device Configuration (CLDC) and the Connected Device Configuration (CDC).
  43. 43. J2ME - CLDC• CLDC devices use the KJava Virtual Machine (KVM) implementation, which is a stripped- down version of the JVM.• CLDC devices include pagers, personal digital assistants, cell phones, dedicated terminals, and handheld consumer devices with between 128KB and 512KB of memory.
  44. 44. J2ME - CDC• CDC devices use a 32-bit architecture, have at least two megabytes of memory available, and implement a complete functional JVM.• CDC devices include digital set-top boxes, home appliances, navigation systems, point- of-sale terminals, and smart phones.
  45. 45. J2ME - Profile• A profile consists of Java classes that enable implementation of features for either a particular small computing device or for a class of small computing devices.• Seven profiles have been defined as of this writing. These are the Foundation Profile, Game Profile, Mobile Information Device Profile, PDA Profile, Personal Profile, Personal Basis Profile, and RMI Profile.
  46. 46. Installing J2ME• Step 1. JDK 1.6 Minimum required.• Step 2. Download J2ME 3.0 (Oracle Website)• Step 3. Installing JDK 1.6• Step 4. Install J2ME 3.0
  47. 47. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  48. 48. Part – 5 (Android Conf. Eclipse)
  49. 49. Installing & Working Android• Step 1. JDK 1.6 Minimum required.• Step 2. Downloading the SDK Starter Package• Step 3. Installing the ADT Plugin for Eclipse• Step 4. Adding Platforms and Other Components• Step 5. Exploring the SDK (Optional)
  50. 50. http://www.android.com/
  51. 51. http://developer.android.com/index.html
  52. 52. http://developer.android.com/sdk/index.html
  53. 53. http://developer.android.com/sdk/requirements.html
  54. 54. http://www.oracle.com/technetwork/java/javase/downloads/index.html
  55. 55. http://www.eclipse.org/downloads/
  56. 56. http://developer.android.com/sdk/installing.html
  57. 57. Installing Android SDK
  58. 58. Installing Android SDK
  59. 59. Installing Android SDK
  60. 60. Installing Android SDK
  61. 61. http://developer.android.com/sdk/eclipse-adt.html#installingStep 3. Installing the ADT Plugin for Eclipse
  62. 62. Installing the ADT Plugin for Eclipse
  63. 63. Installing the ADT Plugin for Eclipse
  64. 64. Installing the ADT Plugin for Eclipse
  65. 65. Installing the ADT Plugin for Eclipse – Second Option
  66. 66. http://developer.android.com/sdk/eclipse-adt.html#installing
  67. 67. Configuring the ADT Plugin
  68. 68. Configuring the ADT Plugin
  69. 69. Task Completed• Step 1. Downloaded Android SDK• Step 2. Downloaded Java JDK 1.6• Step 3. Downloaded Eclipse• Step 4. Installing Android SDK• Step 5. Downloaded Eclipse ADT Plugin.• Step 6. Configuring ADT Plugin.
  70. 70. Extra: (Path)
  71. 71. http://www.android.com/
  72. 72. https://market.android.com
  73. 73. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  74. 74. Part – 6 (Blackberry Development Info.)
  75. 75. http://us.blackberry.com/developers/
  76. 76. http://us.blackberry.com/developers/started/bbdevapproach.jsp
  77. 77. http://us.blackberry.com/developers/javaappdev/javaupdate.jsp
  78. 78. Current Status:• About Me.• Area of Interest.• Future Scope.• Part – I Mobile & Wireless Computing.• Part – 2 WAP, WML & WMLScript.• Part – 3 XHTML Mobile Profile (XHTML MP)• Part – 4 J2ME Application Development.• Part – 5 Android Basics.• Part – 6 Blackberry Development Info.
  79. 79. Materials to be provided are: Nokia Browser related Software & Conf. File WML Examples J2ME related Software J2ME Complete Reference E-book Android Software + Eclipse Software Android Videos
  80. 80. Thank Youvinodthebest@gmail.com

×