A good example of this request can be found through Google Search results. Access the results page, then scroll down until you see SampleProgramz website. Access the website and analyze the code posted on the website. The code tells you how to add data to a MySQL database. You can tweak some of its settings to pass the data to the database using a LAN connection. Additionally, use the tutorials from Google related to Android and database connection/management.