<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

<channel>
    <title>Webmonkey &#187; WebAPI</title>
    <atom:link href="http://www.webmonkey.com/tag/webapi/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Video: Mozilla Developer Shows Off the Power of WebAPI</title>
        <link>http://www.webmonkey.com/2012/06/video-mozilla-developer-shows-off-the-power-of-webapi/</link>
        <comments>http://www.webmonkey.com/2012/06/video-mozilla-developer-shows-off-the-power-of-webapi/#comments</comments>
        <pubDate>Tue, 05 Jun 2012 19:44:34 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=57138</guid>
        		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[B2G]]></category>
		<category><![CDATA[Boot2Gecko]]></category>
		<category><![CDATA[WebAPI]]></category>
        <description><![CDATA[Mozilla's WebAPI project is an ambitious effort to make the web the "one ring" that rules mobile app development. It's still in the early stages, but as this video shows, WebAPI is already producing some impressive demos.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><iframe width="580" height="435" src="http://www.youtube.com/embed/1s2KmEetAhM" frameborder="0" allowfullscreen></iframe></p>
<p>It wasn&#8217;t too long ago that Mozilla <a href="http://www.webmonkey.com/2011/08/mozillas-webapi-wants-to-replace-native-apps-with-html5/">launched its WebAPI project</a>, a cross-platform, web-based API for accessing features on mobile devices. If WebAPI succeeds it could provide an open, web-based alternative to the proprietary app systems on today&#8217;s mobile devices. </p>
<p>The goal of the WebAPI effort is to help web apps access the same features that platform-specific mobile apps enjoy. That way web apps could better compete with platform-native applications. Mozilla&#8217;s various WebAPIs aim to make it easier to build web apps that <a href="http://www.webmonkey.com/2012/04/picture-better-web-apps-with-mozillas-camera-api/">access your phone&#8217;s camera</a>, GPS info, network status and accelerometer.</p>
<p>Now Mozilla&#8217;s Paul Rouget has put up a demo video of some of <a href="http://paulrouget.com/e/webapis/">Mozilla&#8217;s WebAPIs in action</a>. Rouget shows a number of demos, including what looks like it could be a very cool web-based camera app &#8212; a bit like Instagram, but available to anyone with a modern web browser.</p>
<p>If Mozilla&#8217;s WebAPI project sounds a bit familiar it may be that you&#8217;ve heard of the W3C&#8217;s <a href="http://www.w3.org/2009/dap/">Device APIs Working Group</a>, which is attempting to define standards that cover much of the same device-to-web ground. In fact, some of Mozilla&#8217;s WebAPI project may eventually be rolled into the W3C&#8217;s efforts.</p>
<p>But, as Rouget mentions in the demo video, much of Mozilla&#8217;s effort is aimed at building the company&#8217;s Boot to Gecko mobile platform. The <a href="http://www.webmonkey.com/2011/07/mozilla-eyes-mobile-os-landscape-with-new-boot-to-gecko-project/">Boot to Gecko Project</a> is Mozilla&#8217;s attempt to develop a mobile operating system that emphasizes standards-based web technologies. With that end goal in mind, Mozilla&#8217;s WebAPI may end up being somewhat different than what the W3C is trying to build.</p>
<p>For more details on Mozilla&#8217;s WebAPI efforts, check out the <a href="https://wiki.mozilla.org/WebAPI">WebAPIs wiki</a> which offers a complete list of the APIs and more details about Mozilla&#8217;s plans to standardize them.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/06/video-mozilla-developer-shows-off-the-power-of-webapi/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Mozilla Builds Video Chat App Using Nothing but Web Standards</title>
        <link>http://www.webmonkey.com/2012/04/mozilla-builds-video-chat-using-nothing-but-web-standards/</link>
        <comments>http://www.webmonkey.com/2012/04/mozilla-builds-video-chat-using-nothing-but-web-standards/#comments</comments>
        <pubDate>Mon, 09 Apr 2012 15:26:21 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=55468</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[WebAPI]]></category>
		<category><![CDATA[WebRTC]]></category>
        <description><![CDATA[Mozilla is showing off a demo of what web-based video calls might look like. The entire app is built with HTML and JavaScript, no plugins or app stores necessary.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><iframe frameborder="0"  width="580" height="300" name="vidly-frame" src="http://s.vid.ly/embeded.html?link=0l0x1b&#038;autoplay=false"><a target='_blank' href='http://vid.ly/0l0x1b'><img src='http://cf.cdn.vid.ly/0l0x1b/poster.jpg' /></a></iframe>Mozilla recently showed off a demo of a video chat app built entirely from web standards. Most of the demo runs on top of the proposed <a href="http://www.w3.org/TR/webrtc/">Web Real Time Communication (WebRTC) standard</a>, the W3C&#8217;s answer to the audio and video streaming capabilities once found only in proprietary plugins like Flash.</p>
<p>Mozilla&#8217;s demo movie shows two users signed in with BrowserID (<a href="http://www.webmonkey.com/2012/02/mozillas-persona-project-wants-to-help-manage-your-online-identity/">recently renamed Persona</a>) start a video chat right in the browser. The Persona features, combined with the <a href="https://github.com/mozilla/socialapi-dev">SocialAPI add-on for Firefox</a>, make the demo browser look a bit like Facebook or other social sites with a &#8220;buddy list&#8221; of currently signed in users available in the sidebar. Select a user from that list and just click the video chat link to start a call.</p>
<p>Currently Mozilla&#8217;s video chat demo requires <a href="https://hg.mozilla.org/projects/alder">an experimental build of Firefox</a> and actually uses &#8220;a custom API intended to simulate the getUserMedia and PeerConnection APIs currently being standardized.&#8221; In other words, video chat in Firefox is still a long way from replacing Skype, but Mozilla does plan to bring at least preliminary support to Firefox later this year.</p>
<p>The short-term goal, <a href="http://hacks.mozilla.org/2012/04/webrtc-efforts-underway-at-mozilla/">according to Mozilla hacker Anant Narayanan</a>, who narrates the video above, is to add WebRTC support to Firefox&#8217;s Nightly channel &#8220;by the end of this quarter.&#8221; Narayanan cautions that in the beginning support may be &#8220;limited to just getUserMedia and not the full PeerConnection.&#8221; </p>
<p>While the demo video focuses on making video calls work in the desktop browser, with help from some other elements in Mozilla&#8217;s larger <a href="https://wiki.mozilla.org/WebAPI">WebAPI project</a> &#8212; which is developing a set of APIs that will allow web apps to better compete with platform-native applications &#8212; web-based video chat could work on any device. We recently <a href="http://www.webmonkey.com/2012/04/picture-better-web-apps-with-mozillas-camera-api/">looked at Mozilla&#8217;s Camera API</a>, which gives developers access to your device’s camera, and, in conjunction with these video chat tools, could theoretically bring video chat to mobile browsers as well.</p>
<p>For more info on the video chat experiment, including the source code for the demo, head over to the <a href="http://hacks.mozilla.org/2012/04/webrtc-efforts-underway-at-mozilla/">Mozilla Hacks blog</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/04/mozilla-builds-video-chat-using-nothing-but-web-standards/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Picture Better Web Apps With Mozilla&#8217;s Camera API</title>
        <link>http://www.webmonkey.com/2012/04/picture-better-web-apps-with-mozillas-camera-api/</link>
        <comments>http://www.webmonkey.com/2012/04/picture-better-web-apps-with-mozillas-camera-api/#comments</comments>
        <pubDate>Mon, 02 Apr 2012 16:40:08 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=55343</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Camera API]]></category>
		<category><![CDATA[WebAPI]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/04/firefox-camera-api-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/04/firefox-camera-api.png" alt="Picture Better Web Apps With Mozilla&#8217;s Camera API" /></div>So far mobile web apps lack access to key elements of our phones. For example, your phone's browser can't take pictures like native apps can, but Mozilla's nascent Camera API is hoping to change that. It's not an official web standard just yet, but the Camera API could help put web-based photo apps on equal footing with native competitors.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_55349" class="wp-caption alignleft" style="width: 210px"><img src="http://www.webmonkey.com/wp-content/uploads/2012/04/firefox-camera-api.png" alt="" title="firefox-camera-api" width="200" height="355" class="size-full wp-image-55349" /><p class="wp-caption-text">Image: <a href='https://hacks.mozilla.org/2012/04/taking-pictures-with-the-camera-api-part-of-webapi/'>Mozilla</a></p></div>Mozilla is hard at work on a <a href="https://wiki.mozilla.org/Platform/Features/Camera_API">Camera API</a> that will give web developers a way to access your phone&#8217;s camera. The Camera API will make it possible to build websites that can take pictures with your device&#8217;s camera and then upload them to that webpage. Throw in some CSS-based filters &#8212; perhaps a bit of JavaScript to add other image effects &#8212; and you&#8217;ve got Instagram, no native app necessary.</p>
<p>The Camera API is part of Mozilla&#8217;s larger <a href="https://wiki.mozilla.org/WebAPI">WebAPI project</a>, which is developing a set of APIs that will allow <a href="http://www.webmonkey.com/2011/08/mozillas-webapi-wants-to-replace-native-apps-with-html5/">web apps to better compete with platform-native applications</a>. To do that the WebAPI project will give developers access to your device&#8217;s hardware capabilities, like the camera, the calendar and even the vibration mechanism.</p>
<p>The WebAPI effort is a long way from complete, but the Camera API will work today on most Android devices. Mozilla&#8217;s Robert Nyman has a new post over at the Mozilla Hacks blog that walks through <a href="https://hacks.mozilla.org/2012/04/taking-pictures-with-the-camera-api-part-of-webapi/">the basics of using the nascent Camera API</a>, including a working demo you can test on your Android device using either Firefox or Chrome.</p>
<p>Bear in mind that, cool as the Camera API is, it&#8217;s not yet an official web standard. As with the rest of Mozilla&#8217;s WebAPI project, the Camera API is still very much in the development stage.</p>
<p>On the other hand, for those that want to experiment, the Camera API is much further along than some of the other WebAPIs. Adding to the appeal is the fact that the Camera API is being developed in conjunction with the W3C&#8217;s <a href="http://dev.w3.org/2011/webrtc/editor/webrtc.html">WebRTC spec</a>, an effort to standardize a set of real-time audio and video streaming protocols. That means that an official standardized version of the Camera API will likely emerge sooner rather than later.</p>
<p>As it stands the Camera API is already supported in Firefox and Google Chrome on Android devices. Some of the other elements used in Nyman&#8217;s demo, like the JavaScript function <code>createObjectURL</code> are also supported in Internet Explorer 10. So far Apple&#8217;s Mobile Safari doesn&#8217;t support the Camera API or any of the JavaScript used to create the demo app.</p>
<p>For more info on Mozilla&#8217;s WebAPI efforts, check out the <a href="https://wiki.mozilla.org/WebAPI">Mozilla wiki</a> and for some additional Camera API ideas hit up the <a href="https://developer.mozilla.org/en/DOM/Using_the_Camera_API">Mozilla Developer Network docs</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/04/picture-better-web-apps-with-mozillas-camera-api/feed/</wfw:commentRss>
        <slash:comments>3</slash:comments>

        
    </item>
    
    <item>
        <title>Mozilla&#8217;s WebAPI Wants to Replace Native Apps With HTML5</title>
        <link>http://www.webmonkey.com/2011/08/mozillas-webapi-wants-to-replace-native-apps-with-html5/</link>
        <comments>http://www.webmonkey.com/2011/08/mozillas-webapi-wants-to-replace-native-apps-with-html5/#comments</comments>
        <pubDate>Wed, 24 Aug 2011 15:43:03 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=51465</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[WebAPI]]></category>
		<category><![CDATA[webapps]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2011/08/mozilla-hacks.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2011/08/mozilla-hacks.jpg" alt="Mozilla&#8217;s WebAPI Wants to Replace Native Apps With HTML5" /></div>Mozilla's WebAPI is an ambitious new project aimed at breaking down the proprietary app systems on today’s mobile devices. Forget separate apps for iOS, Android and other mobile platforms -- just write one, works-anywhere HTML5 app.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2011/08/mozilla-hacks.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2011/08/mozilla-hacks.jpg" alt="" title="mozilla-hacks" width="390" height="178" class="alignleft size-full wp-image-51473" /></a>Mozilla has launched an ambitious new project aimed at breaking down the proprietary app systems on today&#8217;s mobile devices. The project, dubbed WebAPI, is Mozilla&#8217;s effort to provide a consistent, cross-platform, web-based API for mobile app developers. </p>
<p>Using WebAPI, developers would write HTML5 applications rather than native apps for iOS, Android and other mobile platforms.</p>
<p>Mozilla isn&#8217;t just talking about <a href="http://hacks.mozilla.org/2011/08/introducing-webapi/">WebAPI</a>, it&#8217;s already hard at work. It plans to develop the APIs necessary to provide &#8220;a basic HTML5 phone experience&#8221; within six months. After that the APIs will be submitted to the W3C for standardization. </p>
<p>Among the APIs Mozilla wants to develop are a telephone and messaging API for calls and SMS, a contacts API, a camera API and <a href="http://hacks.mozilla.org/2011/08/introducing-webapi/">half a dozen more</a>.</p>
<p>If those APIs sound vaguely familiar it might be because the W3C&#8217;s <a href="http://www.w3.org/2009/dap/">Device APIs Working Group</a> is covering similar ground. </p>
<p>So, why the new effort from Mozilla? Well, Mozilla&#8217;s WebAPI is a part of its larger <a href="http://www.webmonkey.com/2011/07/mozilla-eyes-mobile-os-landscape-with-new-boot-to-gecko-project/">Boot to Gecko Project</a>, which aims to eventually develop an operating system that emphasizes standards-based web technologies. With that end goal in mind, WebAPI may end up somewhat different than what the W3C is trying to build.</p>
<p>It&#8217;s also possible that Mozilla simply doesn&#8217;t want to wait for the Device APIs Working Group. Mozilla wants WebAPI up and running in a mere six months, the W3C&#8217;s Device APIs Work Group is unlikely to move that fast. But &#8220;the idea is to collaborate with W3C and all players and together form a good solution, and not just dump it on them,&#8221; says Mozilla Technical Evangelist Robert Nyman in a comment on his post announcing WebAPI. </p>
<p>The dream of write-once, run-anywhere software is nothing new and, if history is any guide, Mozilla&#8217;s WebAPI efforts may well be doomed. The open source giant does have one thing going for it that most other efforts have not &#8212; the open web. Most write-once, run-anywhere attempts have come from companies like Adobe and were built around proprietary frameworks. WebAPI doesn&#8217;t suffer from vender lock-in the way some projects have. WebAPI&#8217;s main roadblock is convincing other mobile web browsers to support the APIs.</p>
<p>For WebAPI to appeal to developers, Mozilla will need Apple, Google and other mobile browser makers to implement the APIs so that WebAPI can compete with native applications. Before you dismiss that as an impossibility, bear in mind that Apple&#8217;s original vision for iOS app development was based around HTML applications, and you&#8217;d be hard-pressed to find a company more eager to embrace web apps than Google. Whether either company will devote any resources to implementing WebAPI remains to be seen. But if Mozilla can get WebAPI standardized by the W3C other browser makers would likely support it. </p>
<p>Mozilla&#8217;s plans for WebAPI are certainly ambitious, but the company is putting its money where its mouth is &#8212; Mozilla is currently <a href="http://hire.jobvite.com/CompanyJobs/Careers.aspx?c=qpX9Vfwa&amp;cs=9Kt9Vfw1&amp;page=Job%20Description&amp;j=oIvPVfwH">hiring several full time engineers to work on WebAPI</a>. </p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2011/08/google-mozilla-team-up-to-create-a-smarter-action-based-web/">Google, Mozilla Team Up to Create a Smarter, Action-Based Web</a></li>
<li><a href="http://www.webmonkey.com/2011/07/mozilla-eyes-mobile-os-landscape-with-new-boot-to-gecko-project/">Mozilla Eyes Mobile OS Landscape With New Boot to Gecko Project</a></li>
<li><a href="http://www.webmonkey.com/2011/03/web-notifications-api-hints-at-a-brave-new-real-time-web/">Web Notifications API Hints at a Brave New Real-Time Web</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2011/08/mozillas-webapi-wants-to-replace-native-apps-with-html5/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>