Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

android loading and saving images on the device -


i building application load list of news website. each news/headline has image. want save/cash images user not has download them again.

q: in opinion, better/more sufficient way: loading images , saving them on device or use cachemanager? @ moment using first solution , works fine. however, website has many categories , more news per category therefore there lot of images saved on device. normal in type of applications save images on device?

thanks help, marqs

i don't think should save images on device, because of many reasons:

  1. why wasting device space on news images? user wants read news , thats it. (in case maybe open later, still - not forever)
  2. you can save on device , make app. delete files after lets 24 hours..
  3. the main issue privacy issue, when user deleting cache files thinks webs visited has wiped device, in case aren't..

maybe can add "clean cache" button in app. after wrote think using cache-manager best way - because meant things exactly..

:)

rotem


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -