Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to count total no.of rows in my database stored in mysql and return the result on my android app. I am a newbie in android pls help.
Posted

1 solution

A simple use of google could have fetched you lots of references.

Anyways the basic idea is to use RESTful Webservices to fetch the data from server DB and return to the App which consumes it. Generally its done as JSON calls which needs to be parsed . Can be connected directly to the Database though but not a recommended option.

Example

connecting-mysql-database-json[^]
 
Share this answer
 

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