Reputation: 599
I am working over a Android Application , where i need to sync EPG (Electronic Program Guide) for a TV Application. I need to locally save data of 7 days (300 channels EPG / PER DAY)
Just wanted to make sure what should be the Best Approach
1) Fetching & Parsing API , Saving in the Local Android SQLite (Active Android) Database (7 Hits for 1 Day data sync ) and (49 Hits for 7 Days data sync)
2) Saving a Data File to Local Android and then Saving into the database.
I would appreciate if any body can please give a suggestion
Upvotes: 0
Views: 567
Reputation: 123
I know this question is little dated, but came across and thought I might lend a little info. To keep any load of the box, I set a parse up on the server that gathers and holds the data. The android then makes a call or fetches a parsed file every 6 hours approx. My parse is set up as to create a file that the android basically only has to read, no real work involved. Just a thought.
Upvotes: 0
Reputation: 3584
The better approach between your 2 options should be the first one. i.e.
Below are some reasons what I can think of for your solution -
Upvotes: 0