Tuesday, December 2, 2014

Android Application building blocks

Application building blocks:-
1.Activity:- It is UI component correspondence to a single UI Screen.(Like window in win32)
2.IntentReceiver:- Normally to responds to particular status change or notification for which you registered. Can be used for to wake up the process. Some external event can also trigger the your code. You can write some code and waken up by registering through xml when something happen eg when network gone, or network establish, or when phone rings. Intent is something like globally defined with system and when we want to invoke/ needed we just check with system and system chooses the best matching intent. eg. intent is “go to home screen”. You can replace existing intent also.
3.Service:-Its a task does not have UI . like demon process (runs in background).
4.Content Provider:- enable application to share the data with other processes / application. You can keep data in files or in SQlite also 



No comments:

Post a Comment