Android Intent, Fragment and Activity -
i know many of direct me api. getting confused more read intent
fragment
, activity
. can please describe these , why these 3 important process of android application development?
thanks in advance.
1) intent : -
it's "intention" action. sending message android os carry out task. ex: start other activity if action happens. see below links : http://developer.android.com/reference/android/content/intent.html
2) activity : -
it single screen users interacts with.it component can (and must) have user interface. learn activity life cycle. important. should declare activity in manifest file.
3) fragment : -
a fragment behavior or portion of user interface in activity. can call sub part of activity.just remember fragment may or may not have view. small activity,but can multiple on single screens , can interact them. read fragment doc developers site. great place start. see : - http://developer.android.com/guide/components/fragments.html
Comments
Post a Comment