Wednesday, July 13, 2011

-Basic Concepts of Android-


Basic concepts in Android development

When you start with a new technology you are exited to do your first application, I know your fidget because I pass through this lap several times.
unfortunately, when you start developing Android you should know the basic concepts which I try t explain it through this post.
Android application is composed by some “key classes”, these classes are the bricks to help developer building the application. So, developing Android application
must be preceded by  discovering Android’s brick. Let’s start :
  • Activity :
The Activity concept is based on user interaction notion.  Activity represents the window or simply the screen which will be shown to the user.
IT also allows to manage some features such as pressing the [MENU] key or the display warning messages (Toast)
According to this declaration, each user interface in the application is an Activity, so the Java class must extend the Activity class.
  • View :
Views is the basic constituents(components) of the graphic interface. They allow to build the user interface.
Widgets, graphic constituents(components) or other layout inherit in fact from this elementary class.
The depiction / drawing of View is made through Canvas (that we can assimilate to a transparent sheet(leaf) on which we draw with a pencil (Paint).
The view is the main component which takes care with managing the users actions (touch the screen, press the keyboard, etc.)
Pay attention to not confuse the concept of Activity and View.
  • Intent :
The Intent is a special object, allowing to pass messages between the application components(Activity, Service…). It’s a mean of communication between these component
The concept of Intent comes from the Android security model. In fact, each Android application is a sandbox, cannot get the data from other applications. To
do that the application must send a message to the target component asking it to accompish a task.
  • Service :
The Service concept is a definite advantage over iPhone developing.In fact a Service is program running in background and hasn’t a UI.
The most suitable sample to explain this concept is playing music. To play music do not have a user interface and must run in background allowing other application to run.
  • ContentProvider :
The ContentProvider are the data managers. They allow sharing information between applications. Imagine an application that maintains a virtual business cards of a group of people.
These cards usually contain the name and a personal contact. Such a program can be created as ContentProvider enabling it to provide other applications on the system information about a person.  A third application for sending email can for example ask what ContentProvider to obtain a contact email address.
  • BroadcastReceiver :
Finally, a BroadcastReceiver is an application that is listening to other applications. This type of application is trying to respond to the Intent which it is addressed.
There is therefore nothing other than listening to the Intents sent by other application components’.
Conclusion
You know now the different elements used in an Android application.

76 comments:

  1. enrollment number and semester & get results of Student. download Talking Tom Gold Run Apk

    ReplyDelete
  2. Thanks for helping me to understand basic concepts. As a beginner in Android programming your post help me a lot.its very useful. Best Android Training in chennai

    ReplyDelete
  3. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article...very interesting to read..
    please sharing like this information......
    Android training in chennai
    Ios training in chennai




    ReplyDelete
  4. The concepts of android are explained well The detailed Description was very much useful My sincere thanks for sharing this post
    Android Training in Chennnai

    ReplyDelete
  5. really you have posted an informative blog. it will be really helpful to many peoples. so keep on sharing such kind of an interesting blogs.
    android training in chennai

    ReplyDelete
  6. I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it.. And I am for your nest post.
    Android Training in Chennai | Cloud Computing Training in Chennai

    ReplyDelete
  7. great blog Vendorzapp provides Mobile apps for small business, Ecommerce android apps development India, iOS ecommerce apps development, Ecommerce website Pune, Ready ecommerce website and apps. Android ecommerce apps then visit now Ecommerce android apps India, iOS ecommerce apps development, ecommerce website for small business call us +91-9850889625

    ReplyDelete
  8. It is really a great work and the way in which you are sharing the knowledge is excellent.Thanks for your informative article
    Android Online Training

    ReplyDelete
  9. Hi admin you will share a very good information. This is useful for all the person to update their knowledge.Thanks for sharing.keep sharing more bogs.
    Android Training in Chennai

    ReplyDelete
  10. Nice blog.. Thanks for sharing informative blog.. I just want to say that all the information you have given here is awesome...great and nice blog thanks sharing. Android development company

    ReplyDelete
  11. Nice post. Thanks for sharing basic concept of android. This is really useful post.
    SEO Company in Lucknow
    SEO Services in Lucknow

    ReplyDelete
  12. Enjoyed reading your blog , more information on mobile app development , Mobile App Development Company Chennai

    ReplyDelete
  13. Thank you very much for sharing. You always try to sharing such a good information with us.Android App Development Company

    ReplyDelete
  14. Nice blog.. Thanks for sharing informative blog.. I just want to say that all the information you have given here is awesome...great and nice blog thanks sharing.

    android app development
    angularjs freelance work
    node js freelancer

    ReplyDelete
  15. Thanks for sharing this articles, Keep publishing your content and publish new content for good readers.Android Application Development Company

    ReplyDelete
  16. It is an awesome sharing...I am particularly satisfied with the substance you have said. Mobile App Development in DelhiI needed to thank you for this extraordinary article.Mobile App Development in Delhi

    ReplyDelete
  17. good article. I like to read this post because I met so many new facts about it actually. Thanks a lot.Android App Development Company in India

    ReplyDelete
  18. I have read many blogs but its really useful and informative for me thanks.
    Top Rated Android & iOS App Development Company in Australia

    ReplyDelete

  19. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Importance of Healthcare Application Development Industries

    ReplyDelete
  20. Your blog is an interesting for reading. Thank you for this. I have just started blogging. I love your blog!! Android App Development Company

    ReplyDelete
  21. hi.., Nice Blog is very helpful and informative. thanks for sharing.
    Android Training Course in Gurgaon

    ReplyDelete
  22. App development and app marketing are two important phases of building a successful app.

    Xamarin mobile app development Company in India

    ReplyDelete
  23. However, stay up the nice quality writing, it is uncommon to see a nice blog like this one...Great Information!!! App Development Company in Bangalore

    ReplyDelete
  24. It’s really awesome article they provide lot of information.

    Software Development Company in Lucknow

    ReplyDelete
  25. It was so good to read and useful to improve my knowledge as updated one.Thanks to Sharing.
    Informatica Online Training|ETL Testing Online Training|Hadoop online Training

    ReplyDelete
  26. I am following your blog regularly and got great information. Keep blogging.!!
    Responsive Website Development Company Chennai

    ReplyDelete
  27. Thanks for sharing this information I really enjoyed reading this article. if you are looking for app developer, mobile app development from the unplugged web please visit us.

    We are one of the most trusted Android Mobile App Development
    and IOS application development to meet your business complex requirement through offshore world.
    Do you have project and want to discuss with us ? We can assist you in Web Application Development, Mobile App development, Games Development & Emerging Technology.

    ReplyDelete
  28. Bulk SMS is brilliant, cost-effective, promotional, advertising service, and reasonable, these India service industry has given rise to some such aspects for which still the small scale and large scale industry are opting for these low-priced services profit.

    ReplyDelete
  29. Pro Integrate is one of the best technology companies which gives you the best services and also provides mixed working environment On Site as well as Nearshore. The goal of our company is to help match employers who have job openings with qualified employees who are available. We provided specific resources, as requested, to be integrated in our partner’s projects. Business consultancy like us provides information, consulting, and insights to importers and exporters so that they can take accurate decisions.

    ReplyDelete
  30. This is really a great post. Thank you for taking time to provide us some of the useful and exclusive information with us. Keep on blogging!!
    Hire Android App Developers In USA

    ReplyDelete

  31. Bulk SMSservices is the best method to delivered your message to your audience hence it is the hottest choice for most of the company these days.

    ReplyDelete
  32. I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.
    Cellcare92

    ReplyDelete
  33. Really a great post. thanks for sharing this information with us.
    SEO Company in Bangalore

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. Jumpy Frog free android games download now .Jumpy Frog

    ReplyDelete
  36. Nice post, very useful blogs with very useful information, thank you for sharing this post web application development company

    ReplyDelete
  37. Thanks for sharing this information I really enjoyed reading this article. if you are looking for app developer, mobile app development from the unplugged web please visit us.
    Check out this one: Node JS

    ReplyDelete
  38. your blog is very informative for more information you check here

    ReplyDelete
  39. Your information is very informative and excellent. Thank you for this one and I hope it will be helpful and competent for everyone. Mobile application development

    ReplyDelete
  40. Great Information,Thanks for sharing the article but www.digifutura.com ,best Android application development company

    ReplyDelete
  41. Cyberneticz is a mobile application development company in Chennai we are experts in Android and iOS app development. Mobile app user-friendly and Responsive.

    ReplyDelete
  42. Android Development is now very much crucial for successfully running the android apps in your android phone. For the proper android app development you must needs the help of Mobile App Development Company in Canada who are reputed in creating android application development from several years.

    ReplyDelete
  43. Great blog..Thanks for sharing such a great blog..I like your blog very much…..such a good information..
    Android App Development Company in Noida

    ReplyDelete
  44. Integrated Digital Marketing Training in Jaipur for Freshers, Professionals & Entrepreneurs.100% Practical & Job Placement, 30+ Modules, 10+ Certifications.

    ReplyDelete
  45. Best Digital Marketing training institute in Jaipur With Full Practical Training Sessions. Technoglobe is the Best Institute for seo training in Jaipur Where you get 100% Job Help.

    ReplyDelete
  46. Best Digital Marketing training institute in Jaipur With Full Practical Training Sessions. Technoglobe is the Best Institute for seo training in Jaipur Where you get 100% Job Help.

    ReplyDelete
  47. These Android development concepts are very easy to understand. The points you have explained are very unique and informative. Thanks for sharing this. iGaming Website Development

    ReplyDelete
  48. Thanks for your post! Really interesting blogs. Here is the some more interesting and most related links.

    Best digital marketing company in Dubai, United Arab Emirates. Brandstory is one of the top and best digital marketing companies in Dubai UAE. As a leading digital marketing agency in Dubai, We offer search engine optimization services, online marketing services, UI UX design services, search engine marketing services, email marketing services, Google / Facebook / Bing pay per click services, Internet marketing services, website design services and website development services, social media marketing services. Hire ROI based digital marketing services company in dubai to get digital leads for your business.

    Digital marketing company in Dubai | Digital Marketing Agency in Dubai | SEO Company in Dubai | SEO Agency in Dubai | Best Digital Marketing Companies in Dubai | Top Digital Marketing Agencies in Dubai | Best SEO Companies in Dubai | SEO Agencies in Dubai | Online Marketing Company in Dubai | SEO Services Company in Dubai | PPC Company in Dubai | PPC Agency in Dubai | PPC Services in Dubai | Social Media Marketing Company in Dubai | Social Media Marketing Services in Dubai | Social Media Marketing Agencies in Dubai | Web Design Company in Dubai | Website Designers in Dubai | Website Development Services Company in Dubai | Web Design Companies in Dubai

    ReplyDelete

  49. This blog post is really given trending information related to mobile application development.
    Thanks for this blog post which definitely helpful for all tech guys. I jhust want to tell you that currently
    freelance android app designer also adds value to various big and small businesses.

    ReplyDelete
  50. Thanks for this knowledgeable article about Android App Developer in Singapore. Please continue publishing informative topics like this I also publish a similar article, I hope you will visit here and appreciate me.

    Visit here :- Hire Android App Developer in Singapore

    ReplyDelete
  51. I want to thank you for this great article. Your blog is one of the finest blogs about Mobile App Development Company. Thanks for sharing with us this informative article.

    Visit: Mobile App Development Company India & USA

    ReplyDelete
  52. Hey, very nice site. I came across this on Google, and I am stoked that I did. I will definitely be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just taking in as much info as I can at the moment. Thanks for sharing.
    on demand mobile application development

    ReplyDelete

  53. Nice post it is really an interesting article.We are also providing the web design services in mumbai. We are the leading
    website development company in mumbai
    web design company in mumbai

    ReplyDelete