Restaurant App Template is a native Android template app to let you easily create a Food&Beverage App in minutes.
It has all the interesting features from reservation to menu listing. Clients can spot any near-by location on map for reservation.
This module has four packages with their set of classes. Main package has all activities while Utility classes have a separate package. Then there are two packages; one each for Facebook and Twitter classes. We will talk about activity classes for this app.
Main class Holds the tabbing view for the whole application. Each tab view (Menu, News, Reservation and Location) has one parent activity.
Menu tab has collection of activities comprising:
Intro activity shows images of dishes among menus. It supports swiping between images.
Listing activity highlights all menus available with the restaurant. Each menu has further detail on each menu on detail page.
Detail page has all the things about that menu. Here client can share the menu with friends over social sites like Twitter and Facebook.
News Tab follows same pattern as menu though there isn’t any intro on this tab.
On Reservation Tab, intuitively, client can call right-away or book the reservation by filling and sending relevant data. In addition the App user can see near-by franchises on Location tab map and pretty much get the instructions to locate it. Information about the franchises is quite easy to see through overlays.
Project includes restaurant.plist file that stores data about annotations. Each
<dict/> item defines one tab data which are:
Menu has two childs:
MenuItems has further menuItem childs with annotations like:
Title – of menu
Overview – about menu
ImageName – of the menu
Description – on menu.
News has children with the name newsItem following same annotation as menuItem.
Reservation has an annotation with the name of Description.
Location has locationItem children with annotation below.
Title – of location
Address – of location
Latitude – of the location
Longitude – of the location