A simple Android app for ordering pizza, allowing users to choose pizza size, crust, and toppings. The app also contains a form where users can enter their name, and a settings and help menu. 🍕
- Home Screen 🏠: User enters their name to get started with the pizza order.
- Menu Screen 🍽️: Users can choose pizza size, crust, and toppings.
- Help Menu ❓: Provides instructions for the user on how to use the app.
- Exit Confirmation ❌: Prompts user to confirm before exiting the app.
- SQLite Database 💾: Stores pizza orders with details like size, crust, and toppings.
To build and run this application, you need to have the following:
- Android Studio (or any preferred Android IDE) 💻
- Android SDK 📱
- Java Development Kit (JDK) ☕
git clone https://github.com/ujwalakopparthi/PizzaOrderJavaApp.git
cd pizza-order-app- Open Android Studio.
- Select File > Open.
- Choose the directory of the project.
- Android Studio will sync and install any required dependencies.
- Select your preferred device (or emulator) and click on the Run button in Android Studio.
The app is organized as follows:
OrderPage.java: Activity that shows the order menu for pizza.Pizza.java: Main activity for the app where users enter their name and start the order.PizzaData.java: SQLite database helper class to manage the pizza order data.strings.xml: Contains all the string resources for text displayed in the app.colors.xml: Contains color resources for the app.dimens.xml: Contains dimension values for layout.menu.xml: Defines the app’s menu options (Settings, Help, Exit).AndroidManifest.xml: Application-level configuration for activities and permissions.build.gradle: Gradle build file for project dependencies and configuration.
The application uses an SQLite database (pizza.db) to store pizza orders. The database schema includes the following columns:
id: Auto-increment primary key.size: Pizza size (e.g., small, medium, large).crust: Pizza crust (e.g., thin, thick).toppings_whole: Whole pizza toppings (optional).toppings_left: Left half toppings (optional).toppings_right: Right half toppings (optional).
- Android SDK 📱
- SQLite for local storage 💾
Feel free to fork this repository and submit pull requests with bug fixes or improvements.
Let me know if you'd like to make further adjustments!






