0

I'm about to create an application that uses JSON to update its content. This is how I planned it to work: When application starts, it checks (with internet connection is available) if the JSON file set on remote server is newer than the one stored localy - if it is then it's downloaded. Then, the application applies data from that JSON to the content. For example, to the "Contact" information - it applies data like phone numbers etc.

My question is, is it in your opinion, a good technique to update appliactions content? Does anynone had an experience with building app with this kind of idea?

Best regards, Zin

N'joy Y'ventr
  • 172
  • 2
  • 9

2 Answers2

0

Of course you can do this. One thing that may lead to a better user experience would be to ask the user for his permission to download new content (if there is something new).

tilo
  • 14,009
  • 6
  • 68
  • 85
  • I figured out that the JSON shouldn't be bigger then 3-5kb. So I hope to pass it unnoticed (but there is an idea of indicating that something is being downloaded as well as the option to turn it off). – N'joy Y'ventr May 16 '12 at 12:52
  • Well - should be ok. But the user should be somehow informed that a (and which) contact has been updated. – tilo May 16 '12 at 12:54
0

This is a normal thing to do. I have a phonebook app that does exactly this. On a side note, if you need a network class to handle the web-service interaction, see this SO post. I wrote a custom network class that works with AFNetworking.

Community
  • 1
  • 1
LJ Wilson
  • 14,445
  • 5
  • 38
  • 62