Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi there,


i am creating simple android apps like student registration.

suppose i registered three students data in mobile.(insert data).

then how all teachers can see student list. all teachers have same application install.



Thanks.
Posted
Comments
Richard MacCutchan 3-Feb-15 6:44am    
Where is your database hosted? If it is on the Android device then I don't think it will work.
Member 11422010 3-Feb-15 7:26am    
actually i have already created on android device now what will be the next step????

You should implement a web service by PHP or .NET, your Android will call this web service, the service will query the DB and get all the list student then return data to Android. The Android displays this list
 
Share this answer
 
Your Android app is on the device, the database must be on a remote networked server, the app must go through a server-side script (web service) on a remote networked server which will interact with the database on behalf on the app.
Learn from this 6-part tutorial Android, MySQL, PHP, & JSON 1 | Remote Databases Tutorial Overview[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900