Android Programming - What is Activity



Click to watch


Android Programming - What is Activity







What is Activity ?

Activity is one of the important four components of Android application. It provides a screen which users can interact. For example, Activity View a Map, Activity Send a Email, Activity Take a Photo, Activity Dial a Phone. What can we do with it? Because Activity given a Window so we can draw user interface (UI) on it. Here window typically fills screen, but may be smaller than the screen - (means window different screen different UI) and float on top other windows.

In code environment, normally to place UI on Activity (window) using setContentView(View) method.
>
Share on Google Plus

About Unknown

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment