Pré-Requisitos          Android SDK           ADT Plugin             Eclipse            Cordova
HelloWorld!./create <diretorio> <pacote> <projeto>
APIs Cordova   Accelerometer   File   Camera          Geolocation   Capture         Globalization   Compass         Media ...
Globalization  navigator.globalization.getPreferredLanguage(           successCallback,           errorCallback  );
Globalizationnavigator.globalization.getPreferredLanguage(  function (language) {          alert(’idioma:  + language.valu...
Notification               notification.alert           notification.confirm               notification.beep           not...
Contacts           contacts.create            contacts.find
Estrutura      <div data-role="page">               <div data-role="header">                         <h1>Cabeçalho</h1>   ...
Listview<ul data-role="listview" data-inset="true" data-filter="true">          <li><a href="#">Item 1</a></li>          <...
Botões<a href="#" data-role="button”>Botão</a><a href="#" data-role="button" data-icon="star">Estrela</a><a href=”#" data-...
Transições      <a href=”#" data-transition=”pop">transição</a>
Estrutura      <div data-role="page">               <div data-role="header">                         <h1>Cabeçalho</h1>   ...
Links        http://incubator.apache.org/cordova/              http://jquerymobile.com/           http://developer.android...
Contato  {      “nome”: “Claudio Ortiz Meinberg”,      “email”: “claudio.meinberg@googlemail.com”,      “arquivos”: [     ...
One Size Fits All
One Size Fits All
One Size Fits All
Upcoming SlideShare
Loading in …5
×

One Size Fits All

258
-1

Published on

Desenvolvendo aplicativos nativos em HTML5 para 7 plataformas utilizando o mesmo código.

Apresentação para o DevFest BR 2012.

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

  • Be the first to like this

No Downloads
Views
Total Views
258
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

One Size Fits All

  1. 1. Pré-Requisitos Android SDK ADT Plugin Eclipse Cordova
  2. 2. HelloWorld!./create <diretorio> <pacote> <projeto>
  3. 3. APIs Cordova Accelerometer File Camera Geolocation Capture Globalization Compass Media Connection Notification Contacts Splashscreen Device Storage Events
  4. 4. Globalization navigator.globalization.getPreferredLanguage( successCallback, errorCallback );
  5. 5. Globalizationnavigator.globalization.getPreferredLanguage( function (language) { alert(’idioma: + language.value + n); }, function () {alert(’Erro ao identificar idioma n);});
  6. 6. Notification notification.alert notification.confirm notification.beep notification.vibrate
  7. 7. Contacts contacts.create contacts.find
  8. 8. Estrutura <div data-role="page"> <div data-role="header"> <h1>Cabeçalho</h1> </div><!-- /header --> <div data-role="content"> <p>Hello world</p> </div><!-- /content --> <div data-role=”footer"> <p>Rodapé</p> </div><!-- /footer--> </div><!-- /page -->
  9. 9. Listview<ul data-role="listview" data-inset="true" data-filter="true"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Item 4</a></li> <li><a href="#">Item 5</a></li></ul>
  10. 10. Botões<a href="#" data-role="button”>Botão</a><a href="#" data-role="button" data-icon="star">Estrela</a><a href=”#" data-role="button" data-icon="delete"data-iconpos="notext">Delete</a>
  11. 11. Transições <a href=”#" data-transition=”pop">transição</a>
  12. 12. Estrutura <div data-role="page"> <div data-role="header"> <h1>Cabeçalho</h1> </div><!-- /header --> <div data-role="content"> <p>Hello world</p> </div><!-- /content --> <div data-role=”footer"> <p>Rodapé</p> </div><!-- /footer--> </div><!-- /page -->
  13. 13. Links http://incubator.apache.org/cordova/ http://jquerymobile.com/ http://developer.android.com/
  14. 14. Contato { “nome”: “Claudio Ortiz Meinberg”, “email”: “claudio.meinberg@googlemail.com”, “arquivos”: [ “apresentação”: { “slideshare”: “ClaudioMeinberg”, “prezi”: “ClaudioMeinberg” }, “github”: “ClaudioMeinberg” ], “twitter”: “@ClaudioMeinberg” }

×