How to Build Native Android Applications powered by Lotus Notes Domino A Domino Developers guide to retooling yourself for...
Use Existing Skills <ul><li>Not necessary to learn Java </li></ul><ul><li>Create Native Android Applications using: </li><...
Android Native Features <ul><li>Geolocation </li></ul><ul><li>Camera </li></ul><ul><li>Signature Capture – using a Finger ...
Setting up your Environment <ul><li>Domino </li></ul><ul><li>Eclipse  </li></ul><ul><li>Android SDK </li></ul><ul><li>Phon...
Install the Tools <ul><li>Download and Install Eclipse </li></ul><ul><li>Download Phone Gap 9.02  </li></ul><ul><li>Instal...
Phone Gap / Domino  Design Pattern <ul><li>Build your Application in Domino </li></ul><ul><li>Preview in a Browser (Chrome...
Running Application on Android Phone <ul><li>Click on the Green Triangle in Eclipse </li></ul><ul><li>I used a Motorola Dr...
Data Transfer <ul><li>How do I get my Domino Data to my Android phone? </li></ul><ul><li>HTML5 & JSON is your Answer </li>...
Consuming JSON <ul><li>Use AJAX call from Application to request the data </li></ul><ul><li>In the Callback function you w...
Writing back to the Server <ul><li>USE AJAX Post Command </li></ul><ul><li>Fields need to match the fields on the Domino F...
 
Upcoming SlideShare
Loading in …5
×

Build native android applications with domino

2,168 views

Published on

Build native android applications with domino

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
2,168
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Build native android applications with domino

  1. 1. How to Build Native Android Applications powered by Lotus Notes Domino A Domino Developers guide to retooling yourself for the Android Mobile Marketplace. By Michael J. Butcher
  2. 2. Use Existing Skills <ul><li>Not necessary to learn Java </li></ul><ul><li>Create Native Android Applications using: </li></ul><ul><ul><li>HTML5 </li></ul></ul><ul><ul><li>Javascript </li></ul></ul><ul><ul><li>JSON </li></ul></ul><ul><ul><li>JQuery </li></ul></ul><ul><ul><li>PhoneGap </li></ul></ul>
  3. 3. Android Native Features <ul><li>Geolocation </li></ul><ul><li>Camera </li></ul><ul><li>Signature Capture – using a Finger </li></ul><ul><li>Addressbook </li></ul><ul><li>Accelerometer </li></ul><ul><li>Beep / Vibrate </li></ul><ul><li>Offline Database (Web SQL) </li></ul>
  4. 4. Setting up your Environment <ul><li>Domino </li></ul><ul><li>Eclipse </li></ul><ul><li>Android SDK </li></ul><ul><li>Phone Gap </li></ul><ul><li>Phone Gap Eclipse Plug-in </li></ul><ul><li>h ttp://www.mobiledevelopersolutions.com/home/download/pluginfilecabinet </li></ul>
  5. 5. Install the Tools <ul><li>Download and Install Eclipse </li></ul><ul><li>Download Phone Gap 9.02 </li></ul><ul><li>Install PhoneGap Plugin found Here </li></ul><ul><li>You are ready to Develop </li></ul>
  6. 6. Phone Gap / Domino Design Pattern <ul><li>Build your Application in Domino </li></ul><ul><li>Preview in a Browser (Chrome ) </li></ul><ul><li>Export the source files to your local machine </li></ul><ul><li>Place the Html Files and Javascript files in your PhoneGap Project </li></ul><ul><li>Index.html – starting page </li></ul>
  7. 7. Running Application on Android Phone <ul><li>Click on the Green Triangle in Eclipse </li></ul><ul><li>I used a Motorola Droid X </li></ul><ul><li>Launches application on the Phone </li></ul><ul><li>PhoneGap magically transforms the application to a Native Android Application </li></ul>
  8. 8. Data Transfer <ul><li>How do I get my Domino Data to my Android phone? </li></ul><ul><li>HTML5 & JSON is your Answer </li></ul><ul><li>Use a Domino View – JSON output </li></ul><ul><li>www.yourserver.com/database.nsf/view?readviewentries&outputformat=json </li></ul>
  9. 9. Consuming JSON <ul><li>Use AJAX call from Application to request the data </li></ul><ul><li>In the Callback function you write the data to a Local WebSQL database on your Android phone </li></ul><ul><li>WebSQL DB– A Lightweight SQL Database on your Phone created with javascript commands </li></ul>
  10. 10. Writing back to the Server <ul><li>USE AJAX Post Command </li></ul><ul><li>Fields need to match the fields on the Domino Form on the Server </li></ul>

×