Mobile Web
Image sources: apple.com & samsung.com
Today’s Agenda
• Know 3 innovative library mobile website designs.
• Understand how HTML, CSS, and JavaScript work together to
build mobile websites.
• Know what a mobile framework is and why they are used.
• Know 3 existing mobile services/apps that can be included in
library-created mobile websites.
• Know the best practices in mobile Web development.
• Have a step-by-step guide for implementing a mobile website.
Quick Poll
Does your library have:
Mobile-optimized Website
Native App (iOS, Android etc.)
Nothing yet, but considering an app
Nothing yet, but considering a website.
No plans; it is too expensive/complex!
Some Mobile Examples
<p><a class="call" href="tel:17273417177" accesskey="0">Call the Library</a> | (727) 341-7177<br />
<a href="wtai://wp/ap;+17273417177; SPC%20Library">[Add to Phone Book]</a><br />
A simple mobile-optimized Website can work on all devices!
Learn and borrow from sites you like.
http://m.novarelibrary.com/
Or you can build something using HTML, CSS,
and JavaScript that acts like a native app!
Built using jQTouch Built using jQuery Mobile
jQuery Mobile is …
a unified, HTML5-based user interface system
for all popular mobile device platforms.
Source: http://jquerymobile.com/
jQuery Mobile is well-documented and
there are great demos to get you started
Best Practices for Mobile Web Design
Advanced Example (Web SQL Database stores data within user’s
browser. No cookies!) HTML5 has offline storage capabilities!
Favorites List
Favorites Found: 4
Conference Committee,
Friday, 8-9am, Azalea A
Building the Next Generation
of E-Govt, Thurs. 1-2pm,
Jasmine
Opening General Session,
Wed. 9:15-11:15am, Floral
Ballroom
http://novarelibrary.com/FLAmobile/ Note: this URL is not a best practice. More later.
Although Web SQL Database worked on this Web app, the W3C recommends these
storage-related specifications: Web Storage and Indexed Database API.
http://www.w3.org/TR/webdatabase/
www.libsuccess.org
What is HTML, CSS, and JavaScript
and how do they all fit together?
Source: http://goo.gl/kWzET
HyperText Markup Language (HTML) is the skeleton.
Cascading Style Sheets (CSS) are the skin, clothes, cologne etc.
JavaScript is the personality. The character. The pizazz!
Best Practices for Mobile Web Design
Native Apps vs. Web/Browser Apps
Issues Native apps Web apps
Internet access Not required Required, except for apps written in
HTML5 (offline capabilities)
Shareable content (Twitter etc.) Only if it is built in to the app Web links can be shared. Social API’s
allow 1-click posting
Access to hardware sensors Yes: camera, gyroscope, microphone,
compass, accelerometer, GPS
Access thru browser is limited.
Geolocation works!
Development Build app for target platform (Android,
iOS [Objective-C] etc.)
Write/publish once using standard Web
technologies, view it anywhere with
URL. Speedy debugging and
development.
Distribution Most app stores require approval. No hassles.
Source: http://goo.gl/zSeDU
Best Practices for Mobile Web Design
Source: http://http://goo.gl/y8CFb
Rapid Prototyping for jQuery Mobile
Try it at http://codiqa.com/
Codiqa is not free anymore,
but it is a great tool!
Try it at http://jquerymobile.com/themeroller/
jQuery Mobile
ThemeRoller Demo
Web Design tools
3rd Party Apps/Services
http://www.gale.cengage.com/apps/
Mobile OPACs
Best Practices for Mobile Web Design
Mobile Databases
Best Practices for Mobile Web Design
Best Practices for Mobile Web Design
Powered by:
Some e-reading Apps
QR Codes etc.
Watch for Near Field
Communication (NFC) technologies!
QR (Quick Response) codes can help guide mobile users in
your physical spaces come visit your digital library spaces.
Best Practices for Mobile Web Design
Check with your vendors to see if
they have apps and/or mobile-
optimized resources.
If they don’t, put some pressure on
them to build something quickly!
Getting Started!
“Fundamentally, 'mobile'
refers to the user, not the
device or application.”
Barbara Ballard Designing the Mobile User Experience
Take an emulated look at your desktop site.
Mobile Site Desktop Site
Small Screen Rendering (260 px) using the
Web Developer add-on in Firefox
Desktop Small Screen
Note: you can determine how your
user’s are accessing your Web site (e.g.,
mobile devices, carriers, browsers , OS’s,
screen resolution etc.)
In-page Analytics
Sketch ideas
Some Best Practices
• Follow the "m" convention (m.novarelibrary.com OR
lifeonterra.com/m/)
• Keep categories (directories) short. Remember that you are creating a
page that people touch without much typing
• Limit image and markup sizes
• Limit HTML pages to 25KB to allow for caching
• "Minify" your scripts and CSS (JSLint, CleanCSS)
• Link to Full Site
• Sniff for User Agent – Detection (allow the user to decide where to go)
• One Column Layout with some whitespace
• Mobile refers to the user!
Minified CSS Code
Redirecting Mobile Users
<script type="text/javascript">
<!--
if (screen.width <= 699) {
document.location = "YOUR-MOBILE-SITE.com";
}
//-->
</script>
1.
2.
<span><script type="text/javascript">
<!--
if ((navigator.userAgent.match(/iPhone/i)) ||
(navigator.userAgent.match(/iPod/i))) {
location.replace("<a href="http://YOUR-MOBILE-
SITE.com">http://YOUR-MOBILE-SITE.com</a>");
}
-->
</script>
</span>
Note: http://www.user-agents.org has an extensive list.
<link rel="stylesheet" href="screen.css" media="screen"/>
<link rel="stylesheet" href="handheld.css" media="handheld"/>
3.
<? if (
stristr($ua, "Windows CE") or
stristr($ua, "Mobile") ) {
$DEVICE_TYPE="MOBILE";
}
if (isset($DEVICE_TYPE) and $DEVICE_TYPE=="MOBILE") {
$location='YOUR-MOBILE-SITE.com/index.php';
header ('Location: '.$location);
exit;
}
?>
4.
Using WordPress? http://wordpress.org/extend/plugins/wordpress-mobile-pack/
Source: http://goo.gl/Amfj2
Other mobile development tools/frameworks
The Future of Mobile Web App/Site Development? Responsive Web Design?
Testing and validation
Test Page Speed in Firebug
http://getfirebug.com/
W3C mobileOK Checker
http://validator.w3.org/mobile/
http://ready.mobi
Editors and Tools
• You can use a simple text editor (e.g., Notepad) or a more sophisticated application
(e.g., Dreamweaver).
• Adobe Device Central is part of Adobe’s CS.
• iUI: http://code.google.com/p/iui/ for iPhone.
• MIT Mobile Web Open Source Project
http://sourceforge.net/projects/mitmobileweb/
• Device detection? http://detectmobilebrowsers.mobi/
• To see your browser's HTTP Headers. Works on mobile browsers.
http://rabin.mobi/http
• Web Developer Toolbar in Firefox: Select Miscellaneous >>> Small Screen
Rendering (260 px) >>> the layout will be reformatted to simulate rendering by a
mobile browser.
Emulators/Simulators:
• Cowemo Mobile Emulator: http://www.mobilephoneemulator.com/
• dotMobi Emulator - http://mtld.mobi/emulator.php
• Opera Mini Simulator - http://www.opera.com/mobile/demo/
• Mimic - emulates European and Japanese models: N400i and N505i. http://pukupi.com/post/2059
• Android Emulator - http://developer.android.com/guide/developing/tools/emulator.html
• BlackBerry Device Simulators -
https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477
• iPhone Dev Center: http://developer.apple.com/iphone/
• Palm Pre - http://developer.palm.com/
• Windows Mobile - http://msdn.microsoft.com/en-us/windowsmobile/default.aspx
• JAVA ME - Java Platform Micro Edition was termed J2ME. It is considered one of the most ubiquitous
application platform for mobile devices.
http://java.sun.com/javame/reference/apis.jsp
http://www.slideshare.net/chadmairn
@cmairn
at: http://goo.gl/NZAeGReal-time notebook powered by
Some nice tools to check out: http://goo.gl/dl06LJ
Virtual Petting Zoo
Want to
hangout?
gplus.to/chadmairn
anymeeting.com/chadmairn
Let’s
Hangout!
gplus.to/chadmairn

More Related Content

PDF
Mobile Best Practices
PPTX
Mobile SEO (English Version)
PPTX
The Magic of Mobile SEO - ##CZLNY
PDF
Mobile Design at Gilt
PPTX
Designing Websites With a Mobile First Approach
PPTX
Why and How to Build a Mobile First Web Strategy
PDF
Filter
PPTX
Mobile SEO (2015) | Blue Mango Interactive (Ektor Tsolodimos)
Mobile Best Practices
Mobile SEO (English Version)
The Magic of Mobile SEO - ##CZLNY
Mobile Design at Gilt
Designing Websites With a Mobile First Approach
Why and How to Build a Mobile First Web Strategy
Filter
Mobile SEO (2015) | Blue Mango Interactive (Ektor Tsolodimos)

What's hot (20)

PDF
PDF
Your Mobile Strategy Can't Be HTML5
PPTX
Responsive Email Design
PPT
Mobile email - chasing context
PPTX
Modular email templates
PDF
Mobile Email User Experience Strategies
PDF
Mobile App Design Best Practices - Usable Interfaces for Tiny Places
PPTX
Mobile Marketing Conversion Optimization Tools & Tricks (Star Wars Edition)
PPTX
Mobile Strategy for Small Businesses - SME Mobile Strategies 2014
PPTX
Information Architecture in Mobile
PDF
Web Usability: Making Your Sites More Awesomer
PDF
Getting RCS Done as an In-house SEO | SearchLove 2012
KEY
Developing a Progressive Mobile Strategy
PDF
Mobile Information Architecture
PDF
The Death of the Desktop: The Future For Mobile SEO
PPTX
10 Digital Marketing Trends for 2017
PPTX
Mobile Email Design, Strategies, Workflow and Best Practices
PPTX
Mobile Search Trends & Best Practices
KEY
Developing a Progressive Mobile Strategy (M3 Conf version)
PDF
Mobile App Design @ ITU 2012
Your Mobile Strategy Can't Be HTML5
Responsive Email Design
Mobile email - chasing context
Modular email templates
Mobile Email User Experience Strategies
Mobile App Design Best Practices - Usable Interfaces for Tiny Places
Mobile Marketing Conversion Optimization Tools & Tricks (Star Wars Edition)
Mobile Strategy for Small Businesses - SME Mobile Strategies 2014
Information Architecture in Mobile
Web Usability: Making Your Sites More Awesomer
Getting RCS Done as an In-house SEO | SearchLove 2012
Developing a Progressive Mobile Strategy
Mobile Information Architecture
The Death of the Desktop: The Future For Mobile SEO
10 Digital Marketing Trends for 2017
Mobile Email Design, Strategies, Workflow and Best Practices
Mobile Search Trends & Best Practices
Developing a Progressive Mobile Strategy (M3 Conf version)
Mobile App Design @ ITU 2012
Ad

Similar to Best Practices for Mobile Web Design (20)

PPT
Best Practices in Mobile Development: Building Your First jQuery Mobile App
PPTX
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
PPT
Hybrid vs Native vs Web Apps
PPTX
Mobile Services for Your Library
PDF
Multi screen HTML5
PDF
Bruce lawson-over-the-air
PDF
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
PDF
HTML5: the new frontier of the web
PDF
Building Mobile Websites
PDF
How to build_a_mobile_site_with_drupal
PDF
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
PPT
Responsive web design & mobile web development - a technical and business app...
PPT
Skill Session - Web Multi Device
PDF
Developing for Mobile Web
PPT
Mobile Web
PPTX
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
PPT
The Mobile Development Landscape
PDF
Making your site mobile-friendly - DevCSI Reading 21.07.2010
PDF
Pablo Villalba -
PPTX
3 Approaches to Mobile - An A to Z Primer.
Best Practices in Mobile Development: Building Your First jQuery Mobile App
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
Hybrid vs Native vs Web Apps
Mobile Services for Your Library
Multi screen HTML5
Bruce lawson-over-the-air
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
HTML5: the new frontier of the web
Building Mobile Websites
How to build_a_mobile_site_with_drupal
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
Responsive web design & mobile web development - a technical and business app...
Skill Session - Web Multi Device
Developing for Mobile Web
Mobile Web
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
The Mobile Development Landscape
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Pablo Villalba -
3 Approaches to Mobile - An A to Z Primer.
Ad

More from St. Petersburg College (20)

PPTX
Introducing Immersive Technologies for Libraries
PPTX
Introducing How to Build a Personal Voice Assistant (AIY Edition)
PPTX
360° Tours and More
PPTX
Taking the Magical Leap with Immersive Technologies in Libraries
PPTX
Open Education Resources in Libraries
PPTX
How to Repurpose Library Space: Listening Lab Edition
PPTX
Using CoSpaces Edu to Create Virtual and Augmented Reality Experiences
PPTX
Understanding Artificial Intelligence
PPTX
Web Design Trends: 2018 Edition
PPTX
What’s New With 3D Design and Printing?
PPTX
Creating a Program to Assist Users Cutting Cable
PPTX
Understanding Artificial Intelligence
PPTX
Beginning Python Programming
PPTX
3D Design Fundamentals
PPTX
STEM Demystified
PPTX
Learn to Compose, Record, and Produce Songs and Podcasts Using GarageBand
PPTX
Open Education Resources in Libraries
PPTX
Learning Kodu: Basic Video Game Design for Kids
PPTX
Learn to Code and Have Fun Doing It!
PPTX
How to Think in the Information Age: Finding Facts in a Post-Truth World
Introducing Immersive Technologies for Libraries
Introducing How to Build a Personal Voice Assistant (AIY Edition)
360° Tours and More
Taking the Magical Leap with Immersive Technologies in Libraries
Open Education Resources in Libraries
How to Repurpose Library Space: Listening Lab Edition
Using CoSpaces Edu to Create Virtual and Augmented Reality Experiences
Understanding Artificial Intelligence
Web Design Trends: 2018 Edition
What’s New With 3D Design and Printing?
Creating a Program to Assist Users Cutting Cable
Understanding Artificial Intelligence
Beginning Python Programming
3D Design Fundamentals
STEM Demystified
Learn to Compose, Record, and Produce Songs and Podcasts Using GarageBand
Open Education Resources in Libraries
Learning Kodu: Basic Video Game Design for Kids
Learn to Code and Have Fun Doing It!
How to Think in the Information Age: Finding Facts in a Post-Truth World

Recently uploaded (20)

PDF
Decision Optimization - From Theory to Practice
PDF
Altius execution marketplace concept.pdf
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
Human Computer Interaction Miterm Lesson
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Ericsson 5G Feature,KPIs Analysis_ Overview, Dependencies & Recommendations (...
PDF
substrate PowerPoint Presentation basic one
PPTX
How to Convert Tickets Into Sales Opportunity in Odoo 18
PPTX
How to use fields_get method in Odoo 18
PDF
The AI Revolution in Customer Service - 2025
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PPTX
CRM(Customer Relationship Managmnet) Presentation
PDF
Addressing the challenges of harmonizing law and artificial intelligence tech...
PDF
State of AI in Business 2025 - MIT NANDA
PDF
Ebook - The Future of AI A Comprehensive Guide.pdf
PDF
Technical Debt in the AI Coding Era - By Antonio Bianco
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
Streamline Vulnerability Management From Minimal Images to SBOMs
Decision Optimization - From Theory to Practice
Altius execution marketplace concept.pdf
Introduction to MCP and A2A Protocols: Enabling Agent Communication
Human Computer Interaction Miterm Lesson
Data Virtualization in Action: Scaling APIs and Apps with FME
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Ericsson 5G Feature,KPIs Analysis_ Overview, Dependencies & Recommendations (...
substrate PowerPoint Presentation basic one
How to Convert Tickets Into Sales Opportunity in Odoo 18
How to use fields_get method in Odoo 18
The AI Revolution in Customer Service - 2025
EIS-Webinar-Regulated-Industries-2025-08.pdf
CRM(Customer Relationship Managmnet) Presentation
Addressing the challenges of harmonizing law and artificial intelligence tech...
State of AI in Business 2025 - MIT NANDA
Ebook - The Future of AI A Comprehensive Guide.pdf
Technical Debt in the AI Coding Era - By Antonio Bianco
Build automations faster and more reliably with UiPath ScreenPlay
CEH Module 2 Footprinting CEH V13, concepts
Streamline Vulnerability Management From Minimal Images to SBOMs

Best Practices for Mobile Web Design

  • 1. Mobile Web Image sources: apple.com & samsung.com
  • 2. Today’s Agenda • Know 3 innovative library mobile website designs. • Understand how HTML, CSS, and JavaScript work together to build mobile websites. • Know what a mobile framework is and why they are used. • Know 3 existing mobile services/apps that can be included in library-created mobile websites. • Know the best practices in mobile Web development. • Have a step-by-step guide for implementing a mobile website.
  • 3. Quick Poll Does your library have: Mobile-optimized Website Native App (iOS, Android etc.) Nothing yet, but considering an app Nothing yet, but considering a website. No plans; it is too expensive/complex!
  • 5. <p><a class="call" href="tel:17273417177" accesskey="0">Call the Library</a> | (727) 341-7177<br /> <a href="wtai://wp/ap;+17273417177; SPC%20Library">[Add to Phone Book]</a><br /> A simple mobile-optimized Website can work on all devices!
  • 6. Learn and borrow from sites you like. http://m.novarelibrary.com/
  • 7. Or you can build something using HTML, CSS, and JavaScript that acts like a native app! Built using jQTouch Built using jQuery Mobile
  • 8. jQuery Mobile is … a unified, HTML5-based user interface system for all popular mobile device platforms. Source: http://jquerymobile.com/
  • 9. jQuery Mobile is well-documented and there are great demos to get you started
  • 11. Advanced Example (Web SQL Database stores data within user’s browser. No cookies!) HTML5 has offline storage capabilities! Favorites List Favorites Found: 4 Conference Committee, Friday, 8-9am, Azalea A Building the Next Generation of E-Govt, Thurs. 1-2pm, Jasmine Opening General Session, Wed. 9:15-11:15am, Floral Ballroom http://novarelibrary.com/FLAmobile/ Note: this URL is not a best practice. More later.
  • 12. Although Web SQL Database worked on this Web app, the W3C recommends these storage-related specifications: Web Storage and Indexed Database API. http://www.w3.org/TR/webdatabase/
  • 14. What is HTML, CSS, and JavaScript and how do they all fit together?
  • 15. Source: http://goo.gl/kWzET HyperText Markup Language (HTML) is the skeleton. Cascading Style Sheets (CSS) are the skin, clothes, cologne etc. JavaScript is the personality. The character. The pizazz!
  • 17. Native Apps vs. Web/Browser Apps Issues Native apps Web apps Internet access Not required Required, except for apps written in HTML5 (offline capabilities) Shareable content (Twitter etc.) Only if it is built in to the app Web links can be shared. Social API’s allow 1-click posting Access to hardware sensors Yes: camera, gyroscope, microphone, compass, accelerometer, GPS Access thru browser is limited. Geolocation works! Development Build app for target platform (Android, iOS [Objective-C] etc.) Write/publish once using standard Web technologies, view it anywhere with URL. Speedy debugging and development. Distribution Most app stores require approval. No hassles. Source: http://goo.gl/zSeDU
  • 20. Rapid Prototyping for jQuery Mobile Try it at http://codiqa.com/ Codiqa is not free anymore, but it is a great tool!
  • 21. Try it at http://jquerymobile.com/themeroller/
  • 32. QR Codes etc. Watch for Near Field Communication (NFC) technologies!
  • 33. QR (Quick Response) codes can help guide mobile users in your physical spaces come visit your digital library spaces.
  • 35. Check with your vendors to see if they have apps and/or mobile- optimized resources. If they don’t, put some pressure on them to build something quickly!
  • 37. “Fundamentally, 'mobile' refers to the user, not the device or application.” Barbara Ballard Designing the Mobile User Experience
  • 38. Take an emulated look at your desktop site. Mobile Site Desktop Site
  • 39. Small Screen Rendering (260 px) using the Web Developer add-on in Firefox Desktop Small Screen
  • 40. Note: you can determine how your user’s are accessing your Web site (e.g., mobile devices, carriers, browsers , OS’s, screen resolution etc.) In-page Analytics
  • 42. Some Best Practices • Follow the "m" convention (m.novarelibrary.com OR lifeonterra.com/m/) • Keep categories (directories) short. Remember that you are creating a page that people touch without much typing • Limit image and markup sizes • Limit HTML pages to 25KB to allow for caching • "Minify" your scripts and CSS (JSLint, CleanCSS) • Link to Full Site • Sniff for User Agent – Detection (allow the user to decide where to go) • One Column Layout with some whitespace • Mobile refers to the user!
  • 44. Redirecting Mobile Users <script type="text/javascript"> <!-- if (screen.width <= 699) { document.location = "YOUR-MOBILE-SITE.com"; } //--> </script> 1. 2. <span><script type="text/javascript"> <!-- if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { location.replace("<a href="http://YOUR-MOBILE- SITE.com">http://YOUR-MOBILE-SITE.com</a>"); } --> </script> </span> Note: http://www.user-agents.org has an extensive list. <link rel="stylesheet" href="screen.css" media="screen"/> <link rel="stylesheet" href="handheld.css" media="handheld"/> 3. <? if ( stristr($ua, "Windows CE") or stristr($ua, "Mobile") ) { $DEVICE_TYPE="MOBILE"; } if (isset($DEVICE_TYPE) and $DEVICE_TYPE=="MOBILE") { $location='YOUR-MOBILE-SITE.com/index.php'; header ('Location: '.$location); exit; } ?> 4. Using WordPress? http://wordpress.org/extend/plugins/wordpress-mobile-pack/ Source: http://goo.gl/Amfj2
  • 45. Other mobile development tools/frameworks
  • 46. The Future of Mobile Web App/Site Development? Responsive Web Design?
  • 47. Testing and validation Test Page Speed in Firebug http://getfirebug.com/
  • 50. Editors and Tools • You can use a simple text editor (e.g., Notepad) or a more sophisticated application (e.g., Dreamweaver). • Adobe Device Central is part of Adobe’s CS. • iUI: http://code.google.com/p/iui/ for iPhone. • MIT Mobile Web Open Source Project http://sourceforge.net/projects/mitmobileweb/ • Device detection? http://detectmobilebrowsers.mobi/ • To see your browser's HTTP Headers. Works on mobile browsers. http://rabin.mobi/http • Web Developer Toolbar in Firefox: Select Miscellaneous >>> Small Screen Rendering (260 px) >>> the layout will be reformatted to simulate rendering by a mobile browser.
  • 51. Emulators/Simulators: • Cowemo Mobile Emulator: http://www.mobilephoneemulator.com/ • dotMobi Emulator - http://mtld.mobi/emulator.php • Opera Mini Simulator - http://www.opera.com/mobile/demo/ • Mimic - emulates European and Japanese models: N400i and N505i. http://pukupi.com/post/2059 • Android Emulator - http://developer.android.com/guide/developing/tools/emulator.html • BlackBerry Device Simulators - https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477 • iPhone Dev Center: http://developer.apple.com/iphone/ • Palm Pre - http://developer.palm.com/ • Windows Mobile - http://msdn.microsoft.com/en-us/windowsmobile/default.aspx • JAVA ME - Java Platform Micro Edition was termed J2ME. It is considered one of the most ubiquitous application platform for mobile devices. http://java.sun.com/javame/reference/apis.jsp
  • 53. Virtual Petting Zoo Want to hangout? gplus.to/chadmairn anymeeting.com/chadmairn