1 / 28

Food Phone Application

Food Phone Application. Shengyu Li CS-298 Advisor: Dr. Chris Pollett Committee members: Dr. Robert Chun Dr. Chris Tseng. Outline. Introduction Design Implementation Testing Demo Issues Improvement. Introduction.

lynda
Download Presentation

Food Phone Application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Food Phone Application Shengyu Li CS-298 Advisor: Dr. Chris Pollett Committee members: Dr. Robert Chun Dr. Chris Tseng

  2. Outline • Introduction • Design • Implementation • Testing • Demo • Issues • Improvement

  3. Introduction • For this project, I created a Food Phone Application. Some goals were to: • Help users to preview restaurant menus • Search restaurants by food items • Find these things conveniently on the phone • Let’s look at some existing products …

  4. Existing Products • Yelp on Android

  5. Existing Products • UrbanSpoon iPhone Application

  6. Existing Products • iCrave in Android

  7. Feature Comparison

  8. Design • Platform • Architecture • Application Design • Implementation Design

  9. Platform • Android vs. iPhone

  10. Architecture • Client-Server Model • Server (PC) • Client (Phone) • Database

  11. Architecture • Server + Database: • PC • Services • PHP code • Xampp • phpMyAdmin 2.6.2 • Apache 2.0 • Mysql 4.1.20 • Client: • Android Phone • Configuration • Eclipse IDE • JDK 1.5 • Android SDK 1.5

  12. Application Design • Map all possible Outputs to all possible Inputs to define functions: a) = 1), 2), 5)

  13. Activity Relationship • Android Views

  14. Implementation Design • Implementation Model:

  15. Implementation Design • PHP Module • Communicate with the database • Handle upload and download files • Java Core Module • Generate URL to send request to PHP server • Parse the response result from the server • Form Java objects for the Android Java code to use

  16. Implementation Design • Android Java Module • Handle all UI • Phone features • Location • Camera • Internet • Phone storage • Pictures

  17. Testing • PHP Module • Java Core Module • Android Java Module • Emulator • Real Phone

  18. Testing • PHP Module getResList(double LatMax, double LatMin, double LongMax, double LongMin, int str, int end) We can test this function on the PHP server side by using the following URL: http://rome.dynamiccreation.com/~admin22:8888/foodserver.php?function=getResList&LatMax=38&LatMin=37.3&LongMax=-121&LongMin=-122&str=0&end=2

  19. Testing • PHP Module

  20. Testing • Java Core Module

  21. Testing • Android Java Module

  22. Demo

  23. Issues • Emulator Functionality test • Camera • Location • Storage

  24. Issues Stored Procedure Original Design: 4 modules Stored Procedure Module PHP Module Java Core Android Java

  25. Improvement • Image Storage • SD Card? • Memory

  26. Improvement • Prefetching • Assume users want to see the next picture • Prefetching the next picture ahead of time • Shorter user waiting download time for the next picture • Smooth the process

  27. Questions?

  28. Thank You

More Related