• Save
Introduction to jil widgets
Upcoming SlideShare
Loading in...5
×
 

Introduction to jil widgets

on

  • 1,643 views

 

Statistics

Views

Total Views
1,643
Views on SlideShare
1,604
Embed Views
39

Actions

Likes
1
Downloads
0
Comments
0

5 Embeds 39

http://omkarkc.blogspot.com 34
http://omkarkc.blogspot.in 2
http://www.slideshare.net 1
http://www.omkarkc.blogspot.com 1
http://feeds.feedburner.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to jil widgets Introduction to jil widgets Presentation Transcript

    • Introduction to JIL widgets Vodafone DevEvent Madrid July, 2010
    • Widgets? • You may have heard of them as Mobile Widgets, Mobile Web Apps, HTML5 Apps, ... • Widgets allow you to use the web Javascript HTML technologies you are familiar with to create applications, and giving you CSS access to mobile device features that previously were only available to native applications (like location or access to camera) • Widgets also allow you to package and distribute your applications through standard operator stores • Essentially, a widget is a “more powerful” web application, put in a box 2 All rights reserved, copyright 2010
    • So how do I write one? • You use the same technologies you are used to for writing web pages: XHTML, Javascript, CSS • There are only 3 things that change: • you need to add a config.xml file that tells the JIL runtime how to run your widget • you need to “package” all your contents together in a ZIP file • you will have access to some extra index.html Javascript APIs, what we call Handset APIs, for enabling extra functionality (like style.css accessing the Accelerometer) main.js • for submitting your application, you would also need one step called signing, but that one can wait for now config.xml 3 All rights reserved, copyright 2010
    • JIL SDK • You can create widgets using your editor and the tools you are used to • To help out, we also have a JIL SDK available which takes care of generating some skeleton for your project and also helps with the packaging • You can download it now from our website: http://www.jil.org (note: registration needed) video in http://www.jil.org/web/jil/get-started 4 All rights reserved, copyright 2010
    • The JIL APIs • Some of the features JIL enables you to use include: • Accessing the device accelerometer to detect how user moves the device • Reading the location of the device (latitude and longitude) • Access some of the device metadata (like screen size or phone manufacturer) • Taking pictures with the device camera • Audio playing from file or streaming • Launching some of the native applications available, like the operating system browser • You can find a more detailed overview at https://developer.vodafone.com/getting-started 5 image (c) Randall Munroe’s - http://xkcd.com
    • Future planned features in JIL 1.3 (Q12011) • File access APIs (in line with W3C Webapps) • W3C Geolocation • HTML5 APIs : Canvas and Audio • Asynchronous calls in most APIs • Accelerometer and Orientation event listeners WHICH NEW APIs WE’LL HAVE IN JIL • Better support of standard web rendering 1.3? (aiming to fully support JQuery Core) • Alignment with W3C security policy framework • Any features you want to see added? 6 image (c) Randall Munroe’s - http://xkcd.com All rights reserved, copyright 2010
    • Tools of the trade • JIL SDK • available from http://www.jil.org • integrated environment based on Eclipse • includes code editor, debugging and a full emulator based on Android • simplest way to start if you’re new to JIL • MacOS X version coming soon! • Transit SDK and Firefox plugin • available from http://code.google.com/p/transit-widget-tools/ • a smaller footprint environment for adding to your existing Eclipse installation, plus a Firefox plugin that simulates some of the JIL APIs • early stage project, but very useful if you are used to work in firefox • integrates with the firefox plugins you know and love (like WebDeveloper toolbar or Firebug) 7 All rights reserved, copyright 2010
    • And let us know if we can lend a hand! • We would love to hear your suggestions and requests for future planning of the JIL platform • There will be people answering questions during the event, but afterwards feel free to post them in our forums! • http://www.jil.org/web/jil/forums • Or you can also contact us using • http://www.jil.org/web/jil/contact-us 8 image (c) - http://icanhascheezburger.com