Download presentation
Presentation is loading. Please wait.
Published byNigel Fletcher Modified over 9 years ago
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 Phone ApplicationReviewRatings User- friendly Phone UI Actual Price Search for Individual Food Upload PicturesMenu YelpYes NoSomeYesNo UrbanspoonYes No iCraveYes NoYes No My Food Phone ApplicationYes
8
Design Platform Architecture Application Design Implementation Design
9
Platform Android vs. iPhone AndroidiPhone Open OS source YesNo Dev SDKFree$100+ PlatformCross platformMAC only Language Java, bridges exist from J2ME, C#, etc Objective-C ProgrammingInterpreters Objective-C byte code only Install SoftwaresAny web sitesApple store only
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) Outputs:Inputs: a)Location1)Users’ Location b)Menu2)Search Range c)Rating for Food3)Rating for food d)Restaurant Name4)Food Name e)Food Price5)Restaurant Name f)Food Comment6)Food Price g)Picture7)Food Comment h)Phone Number8)Picture
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=get ResList&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 1. Stored Procedure Module 2. PHP Module 3. Java Core 4. 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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.