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 - How to implement multiple screens within an App -


i working on android app has different service dimensions, such " service order", "route planning", "photo gallery" , central login. far implemented each "screen" (and screen mean layout of screen) seperate class, loads specific layout , handles listeners , core functionalities such calling webservices in thread, receiving answers etc. not quite sure if best way implemnt mulitiple layout-screens.

the android dev guideline proposes use single activities each "screen layout". doubt effective way of doing things. since need information each "layout" retrieved central login (here: user object). since activity (as far understand) seperate thread, passing , retrieving of information seems not practical.

i oppinions/feedback on , hint or tip.

so far structure looks :

  • activity
    • loads login layout (res/layout/login.xml setlcontentview)
    • depending on buttonclick other resources loaded , initialized (means listeners added etc.)

greets peter

the dev guidelines recommend reason. effective way of doing things. may complain having store data can passed along activity activity, guess what? you're developing app phone! @ point in time, phone ring, forcing user switch away app. or user choose temporarily @ different app. if app goes square 1 after switching , lost data, user understandably angry.


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 -