Download the zip file for this repository, and expand it on your file system.
- Using your favorite code editor, open blank/index.html and familiarize yourself with the single HTML page for the Employee Directory application.
- Open blank/js/dao.js and familiarize yourself with the three methods of the EmployeeDAO data access object: findByName(), findById(), and initialize().
- Open blank/js/main.js and add the code available here to implement the Employee Search View.
- Open blank/index.html in your web browser and test the application.
- In blank/js/main.js, comment out the last line: app.showHomeView();
- At the bottom of blank/js/main.js, add the code available here to implement URL routing and the Employee Details View.
- Open blank/index.html in your web browser and test the application: click an employee in the list to open the details view for the selected employee.
- Open blank/js/main.js and add the code available here to implement the device integration features: Add current location, add employee as contact, and add employee picture.
- Open blank/index.html in your web browser and test the application.
Based on the code available here, modify your own version of the application to highlight the selected row in the employee list, and to cache the HomeView.
Follow the instructions provided by your instructor to build the application for different mobile platforms using build.phonegap.com.
Follow the instructions provided by your instructor to remotely debug the application using debug.phonegap.com.