-
Introduction: This Android app, developed in Android Studio using Java and XML, collects user input (mobile number, password) and stores it in a MySQL database running on XAMPP.
-
Prerequisites: Ensure Android Studio, XAMPP, and basic Android development knowledge are installed.
-
Setup: Install XAMPP, create a database ("user_db"), and design a table ("user_data") in phpMyAdmin.
-
Volley Library: Add Volley dependency in
build.gradle
for efficient data transmission. -
UI Design: Create a user interface in
activity_main.xml
with EditText fields and a Button for user input. -
User Input Handling: In
MainActivity.java
, retrieve and validate user input. -
Sending Data: Use Volley to create a request queue, build a JSON object, and send a POST request to a PHP script on the server.
-
Server-Side Scripting: Develop a PHP script to handle incoming data and interact with the MySQL database.
-
Testing: Run the app, enter valid data, and confirm successful data storage in the MySQL database.
-
Conclusion: Congratulations on developing an Android app with MySQL integration!
-
References: Consult Android Developer Documentation, Volley GitHub Repository, and XAMPP Official Website for additional guidance.
-
Notifications
You must be signed in to change notification settings - Fork 0
romitp4l/Assignment_one
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
android assignment one
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published