Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old June 17th, 2012, 06:53 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Grabbing a remote file from a web server

Hi Folks,

I'm new'ish to Android (but am >10years in IT) and am starting work on an relatively simple app which basically displays a list of products. The user can then click on a product and view the details of that product. That's basically it. Very simple.

There could be ~500products (each which has a Name, Description, Details section). I'm wondering what the best way of designing this. Some thoughts I have are:
- When the customer installs the app, it contacts the company's web server, pulls down a csv file with all the products in it and maybe stores that file in a SQL db. The "list products" screen would then poll this db for data. Then anytime the customer opens the app it polls the db (via an SQLLiteOpenHelper) and renders the list
- I'm ignoring updates to the original csv file for now.

Any thoughts would be good. I know the size of the csv file may well determine the approach.

Thanks ! - Ro

Advertisements
ro_eire is offline  
Reply With Quote
sponsored links
Reply
Tags
csv, file, remote, sqllite, web server


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:13 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.