Hi Friends,
Today I am going to start blog about the android . First We Start with Android basic so that any body can code in it .Only thing is that you need to know basic about the core java.
First We Understand the MVC pattern in android . First , If you don`t know MVC than I will give you some basic idea about MVC. MVC mean Model View Controller
1. Model Mean Kind of thing which bridge between View and Controller. Model generally represent the data which is store in the table . For example you are having address book in which where the actual data is stored.
2.View Mean Visual representation of model or data . For example user interface of the address book , such as textbox,label etc.
3.Controller Mean which is responsible to update the model data. For Example You are adding the one record into address book.
In Case on android We are having the same pattern . View part is handled by XML layout and Model part is handled by the SQLite database we can store the data. Controller Here we can say the java coding having responsible to update view by fetching stored data from model and display on view.
I know it is boring theory ....And i even also believe that ,but it is necessary .
Following Image will give you a clear idea about the MVC in android .
This is all about the MVC pattern . Fill Free to any suggestion and Any Tutorial You Want . In Next Session We will be creating our first Application in android . Happy Coding and Thank you.
Great Work and a good start.... !!!! Is a good post for beginners..... :)
ReplyDeleteThis comment has been removed by the author.
Delete