Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I finished my app in Android and now I have to write about the architecture model in Android.

Does the Android architecture resemble or fit with any of the well known architectures such as like MVC or n-tier? And if yes which are the Android components that fit those models?

Or is Android something different having it's own different architecture, including:

  • Activities,
  • Services,
  • Content Providers and,
  • Broadcast Receivers?
share|improve this question
8  
There are many services out there that will write term papers for you. Stackoverflow is not one of those services. – Eric Jun 8 '11 at 11:55
1  
If u could provide a link to those papers would be wonderfulll;) – george Jun 8 '11 at 12:00
3  
You haven't even posted a single link, have you not googled for android architecture? elinux.org/images/c/c2/Android-system-architecture.jpg – Jodes Jun 8 '11 at 12:13
13  
You've written the app - now you want to know what model you used???? – Martin Beckett Jun 8 '11 at 16:21
2  
@MartinBeckett homework assignments are like that =) – Patrick Hughes Oct 10 '11 at 16:49

migrated from stackoverflow.com Jun 8 '11 at 13:11

2 Answers

There is an Active Object pattern that best describes Activities and Tasks in the Android system. This pattern is well known in Symbian as well way before android.

If you want to dig more theoretical answer to the Active objects you can read this paper - Active Object An Object Behavioral Pattern for Concurrent Programming by R. Greg Lavender Douglas C. Schmidt as a chapter in the Pattern Languages of Program Design 2 book.

There are host of related patterns in concurrent and distributed computing and a book from schmidt.

If you dig deeper there, i guess it will answer most key aspects you are referring to.

share|improve this answer

Activity classes and their usage reminds me of Strategy pattern. Every activity responds to different needs and they are being used in overall application composition.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.