Android Browser UML Analysis

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Android Browser UML Analysis

Postby William » Wed Nov 26, 2008 6:35 am

Webkit major sequence and class diagram.

Android browser major sequence and class diagram.
Attachments
webkit_android-browser_UML_diagram.zip
(1.04 MiB) Downloaded 181 times
Last edited by William on Thu Jul 19, 2012 5:43 am, edited 1 time in total.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Top

Postby steve » Mon Dec 01, 2008 10:17 am

Very good and thanks :)

Do u have the same for MMS?
steve
Freshman
Freshman
 
Posts: 4
Joined: Wed Nov 12, 2008 2:05 pm

Postby William » Tue Dec 02, 2008 6:31 am

Sorry, I just studied Browser part. Haven't got time for MMS yet.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Postby Ajeet.Singh » Tue Feb 10, 2009 6:10 am

these UML diagrams are very useful.

Thanks William
Ajeet.Singh
Freshman
Freshman
 
Posts: 3
Joined: Wed Dec 24, 2008 6:04 am
Location: Bangalore

Postby Ajeet.Singh » Tue Feb 10, 2009 6:16 am

Hi William, I want to know one thing.
How can i debug into the android webkit. so that I can understand it better.

Thanks,
Ajeet Singh
Ajeet.Singh
Freshman
Freshman
 
Posts: 3
Joined: Wed Dec 24, 2008 6:04 am
Location: Bangalore

Postby William » Thu Feb 19, 2009 2:40 pm

I think you may need add some log information in the WebKit C++ code and use "adb logcat" or the logcat in Eclipse to show the debug information.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Top

Postby jimmy.guo » Mon Apr 27, 2009 2:37 pm

It's perfect! :)
Thanks for sharing, William. :)
jimmy.guo
Freshman
Freshman
 
Posts: 4
Joined: Sat Apr 25, 2009 9:34 am

Postby jimmy.guo » Mon Apr 27, 2009 2:41 pm

I study your analysis. I find that there is not "DrawPicture". Can you send this to me. My mailbox is "jimmy.guo@live.com". Thanks very much. :)
jimmy.guo
Freshman
Freshman
 
Posts: 4
Joined: Sat Apr 25, 2009 9:34 am

Postby William » Tue Apr 28, 2009 4:59 am

The DrawPicture is a native method in Skia graphics engine. It is located somewhere in the external/skia folder of the Google Android source code. I haven't studied it further yet and you can have a look at it.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Postby jimmy.guo » Sat May 02, 2009 3:04 am

Thanks for your response.

I am a freshman for android and program. Do you introduce some sites or books about webkit and android? And can you introduce some experiences about learning webkit and android.

This is a very good post. But there are not many discussions. It is very oddball.
jimmy.guo
Freshman
Freshman
 
Posts: 4
Joined: Sat Apr 25, 2009 9:34 am

Postby William » Sun May 03, 2009 6:18 am

The post is just a learning refence for studying WebKit, so there is not much discussion about how to utilize the WebKit or how to use WebKit and so on. :) I guess you can find more in other arcitles.

According to my experience, you may first go through the overall code structure of the WebKit quickly to get a basic understanding of the WebKit. Then you can study the major components of WebKit step by step such as JavaScript engine, DOM, rendering, html, frame loader and so on. Moreover, when you study each specific topic, you also need read the related spec as well, such as ECMA Script Spec, DOM Spec, CSS Spec, HTML 4 Spec and so on. It can help you understand how those components are implemented. For example, the comments in JavaScriptCore will indicate which section in ECMA spec is implemented. And I think Android Browser is a quite good application for you to study further about the Activity, Service, Contenet Provider, Broadcast and other key Android features.

Hope it will be helpful to you.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Postby jimmy.guo » Fri May 08, 2009 2:58 pm

Thanks for your advices. The code are huge for me. I should do more effort.

My MSN account is "jimmy.guo@live.com". If you have time, can you add me.
jimmy.guo
Freshman
Freshman
 
Posts: 4
Joined: Sat Apr 25, 2009 9:34 am

Postby anonwu » Mon Aug 03, 2009 7:19 am

hi William:

Your UML diagram can quickly give us a architecture overview, thank you.

I want to trace framework source code, too. I want to draw UML for others reference. Do you have any suggestion about the UML tools. ex : UML graph, visio, dia, etc ....
Thank you.
anonwu
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Aug 03, 2009 5:11 am

Postby William » Tue Aug 04, 2009 7:45 am

I used Rational Rose since I am familiar with it. You may use other tools as you mentioned. However, I haven't tried them before, so I can't give you the advice which one is better.
William
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 26, 2008 6:30 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests