WebAPI

  • Revision slug: WebAPI
  • Revision title: WebAPI
  • Revision id: 313511
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment WebAPI

Revision Content

WebAPIs enable acess to hardware of a device (like camera, battery or vibration) and to data which is stored or available on a device (like calendar or contacts). The WebAPI effort expands what the Web can do today and only proprietary platforms were able to do in the past.

Documentation about WebAPI

APIs implemented and drafted in a W3C specification

{{domxref("window.navigator.battery", "Battery API")}}
Provides information about the system's battery charge level.
{{domxref("window.navigator.connection", "Network information API")}}
Provides information about the system's connection, such as the current bandwidth.
{{domxref("window.navigator.vibrate", "Vibration API")}}
Pulses the vibration hardware on the device.

Implemented but not yet standardized APIs

WebSMS
WebSMS is an API that makes it possible for web content to create, send, and receive Short Message Service (SMS) text messages.
WebTelephony
WebTelephony is an API that makes it possible for web content to handle voice phone calls from JavaScript code.

View All...

Getting help from the community

Mailing lists, IRC channels, ...

  • Consult the dedicated Mozilla forum : {{ DiscussionList("dev-webapi", "mozilla.dev.webapi") }}
  • #webapi on irc.mozilla.org
  • WebAPI project page on wikimo

Don't forget about the netiquette...

 

Revision Source

<p><strong>WebAPIs </strong>enable acess to hardware of a device (like camera, battery or vibration) and to data which is stored or available on a device (like calendar or contacts). The WebAPI effort expands what the Web can do today and only proprietary platforms were able to do in the past.</p>
<table class="topicpage-table">
  <tbody>
    <tr>
      <td>
        <h2 class="Documentation" id="Documentation" name="Documentation">Documentation about WebAPI</h2>
        <h3 id="APIs_implemented_and_drafted_in_a_W3C_specification">APIs implemented and drafted in a W3C specification</h3>
        <dl>
          <dt>
            {{domxref("window.navigator.battery", "Battery API")}}</dt>
          <dd>
            Provides information about the system's battery charge level.</dd>
          <dt>
            {{domxref("window.navigator.connection", "Network information API")}}</dt>
          <dd>
            Provides information about the system's connection, such as the current bandwidth.</dd>
          <dt>
            {{domxref("window.navigator.vibrate", "Vibration API")}}</dt>
          <dd>
            Pulses the vibration hardware on the device.</dd>
        </dl>
        <h3 id="Implemented_but_not_yet_standardized_APIs">Implemented but not yet standardized APIs</h3>
        <dl>
          <dt>
            <a href="en-US/docs/API/WebSMS">WebSMS</a></dt>
          <dd>
            WebSMS is an API that makes it possible for web content to create, send, and receive Short Message Service (SMS) text messages.</dd>
          <dt>
            <a href="en-US/docs/API/WebTelephony">WebTelephony</a></dt>
          <dd>
            WebTelephony is an API that makes it possible for web content to handle voice phone calls from JavaScript code.</dd>
        </dl>
        <p><span class="alllinks"><a href="/en-US/docs/tag/WebAPI" title="Article tagged: WebAPI">View All...</a></span></p>
      </td>
      <td>
        <h2 class="Community" id="Community" name="Community">Getting help from the community</h2>
        <p>Mailing lists, IRC channels, ...</p>
        <ul>
          <li>Consult the dedicated Mozilla forum : {{ DiscussionList("dev-webapi", "mozilla.dev.webapi") }}</li>
          <li>#webapi on irc.mozilla.org</li>
          <li><a href="https://wiki.mozilla.org/WebAPI" title="https://wiki.mozilla.org/WebAPI">WebAPI project page on wikimo</a></li>
        </ul>
        <p><span class="alllinks"><a class="external" href="http://www.catb.org/~esr/faqs/smart-questions.html" title="http://www.catb.org/~esr/faqs/smart-questions.html">Don't forget about the <em>netiquette</em>...</a></span></p>
        <h2 class="Related_Topics" id="Related_Topics" name="Related_Topics">Related Topics</h2>
        <ul>
          <li>The <a href="/en-US/docs/Document_Object_Model_(DOM)" title="Document Object Model (DOM)">Document Object Model (DOM)</a> is the representation of an HTML document as a tree.</li>
          <li><a href="/en-US/docs/JavaScript" title="/en-US/docs/JavaScript">JavaScript</a> - Scripting language for the Web.</li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>
<p>&nbsp;</p>
Revert to this revision