I have to build an android project which takes input(command) from the user in edittext and returns the output(explanation of command)to the user.I am thinkig of 2 ways to achieve this.
1) store the explanation in sql server 2005 database and use a webservice.
2)Store the explanation in files and retrieve the explanation.
3)Store the explanation in strings.xml file.
I want to ask that which one of the three ways would be simpler and easy.
Moreover to retrieve data from sql server 2005 i will need a webservice.I have never used a webservice.Can someone guide me whether i should use a webservice and sql server 2005 or use files.
But the problem is if i use files for storing explanation i will not be able to regularly modify the files.Is there a way to do so?
Can someone also give me the code samples of sql server 2005 and webservice use in android.
I have to build an android project which takes input(command) from the user in
Share
well you are right if you hardcode the explanations locally you could not change them overtime (until an update is made), however I think using a webservice is a little too much, but if you want to, there are several tutorials online about ASP/.Net webservices + SQL Server.
What you could do is just make an XML file with all the explanations and have it online, so you application can parse it whenever it needs (without SQL nor websvcs).