I'm going to make an Android app for a store. My idea is to create a website so that the store owner can send the price information and images to be displayed in that application.
How to do this? Would it be Web Service?
I'm going to make an Android app for a store. My idea is to create a website so that the store owner can send the price information and images to be displayed in that application.
How to do this? Would it be Web Service?
Yes, the idea would be to make a webservice for this process. I can recommend two things to you, if you do the Webservice in java, generating JSON, you can use the jersey, which is very simple, here a tutorial: link
With regard to consumption on android, I recommend even more that you use retrofit: link , the greatest care you would have what to have would be with the images, what you can do is upload to a server folder (instead of persisting in the database), and save the link where the image is hosted on the database, on the android takes that link and downloads the image . I think this helps you.
You can do with web service yes, it would be in the API REST format to my view, in which you consume and supply data to the same database, all in JSON format. You can use from php to do this, like other technologies such as node.js, c # (.net) with web api among others ... goes of its necessity.