Thursday, April 24, 2008
My N810 was delivered from the US.
N810 uses the Maemo platform that is based on Linux 2.6, GTK+, Matchbox and other open source projects. Scratchbox is used for its development environment that supports a cross-platform development environment. So the users can implement an application without knowing how to use a toolchain for specific target devices. In addition, we can easily install applications from the repositories using Debian packaging & repository system.
I think that it's a truly open mobile platform based on Linux. Because Nokia gave their governance of hildon to the GNOME community.
First, I'd like to build XUL Runner and run Fennec (Mozilla Mobile). It seems that it could run on N810 and Windows Mobile 6. So I'll check the status and give my feedback to the community.
:-)
References
Sunday, April 20, 2008
Camera Interface on Mobile Platform
Some people call them native interface
I already posted a blog on device APIs
The Mozilla community started to discuss what the device APIs should be supported through the news group and Mozilla wiki.
Christopher added some information regarding the device APIs in the wiki.
So you can find on-going issues to support the device APIs. They are not confirmed, so you can suggest your idea & opinion to them.
Actually, I'm interested in implementing a camera interface for Mozilla platform. This camera interface is not so important on desktop, but it plays a important role in mobile environment. Because the users can take a photo more easily using their phone.
That is a reason why Mozilla Mobile has been interested in implementing Camera API on Mozilla platform.
I think that implementing Camera API seems to be not difficult, because Mozilla already showed its video playback functionality through HTML5 element, which uses the GStreamer framework. So we can use a camera input instead of network stream. But, you should know how to use the camera input inside Mozilla.
Some of mobile platforms provide a way of using their camera input such as Windows Mobile5.0, Maemo platform. So I'd like to introduce the APIs as follows,
MaemoPlatform
There is an article which introduces how to use the Camera API
According to the article, applications can access the Camera interface through a kernel API called Video4Linux. The built-in camera present in Nokia N810 looks compatible with Video-4-Linux version 2 API from the article.
Fortunately, the Maemo platform delegates all multimedia handling to the GStreamer framework. It means that developers can use the Camera API if they know only how to use the GStreamer framework on Maeme platform.
Windows Mobile 5.0
Windows Mobile developers can manipulate the camera input through DirectShow. But It needs to know some prior knowledge of how to use COM interface.
Mozilla Mobile is planning to support the Camera interface through JavaScript. I'm not sure if Mozilla Mobile will expose the interface for the Web. Someday, the users would be able to upload their photos taken by the camera directly from Mobile Firefox to Flickr in any ways.
Saturday, April 05, 2008
Real Full Browsing in Korea
Other telecom operators also have provided mobile full browsing service, but the rate plan is very expensive. For example, SK telecom charges about 3072Won(3$) per 1MB for data transfer.
The full browser was provided by Infraware that is a Korean company. It features Ajax and zoomo-in/out so the user can use most of features of the Web.
But there are still limitations of using the Internet. This service is only for browsing the Web. Other kinds of network access are limited by expensive rate such as on-line game, Internet accessible applications. There is also limitation of data download although 1G bytes is large size of data.
Anyway, this would be a significant change for mobile web in Korea. Therefore, many of the user will be able to experience real full browsing in mobile environment from now.
I'm looking forward to another new services which provide more open environment at an affordable price for users
* Reference
- LG Telecom Launches Open Internet for Mobiles
- LG Telelcom Releases a mobile phone "CanU" for OZ service (Korean)
- Infraware will provide a full browser for LG Telelcom (Korean)
Wednesday, March 19, 2008
Bangalore is a heaven for software engineers
Sunday, February 17, 2008
Open Source in Asia
I'd like to introduce a presentation about open source in Asia.
The speaker is Gen Kanai who is working for Mozilla Corporation.
He talked about Mozilla community & open source activities in Asia such as:
- Situation of Mozilla Community in Korea, China, Japan, and Taiwan
- Three barriers to participate in Open Source Projects such as culture, language and education
- Examples of Open Source Project in ASIA (Ruby, Red flag linux, and Dzongkha Debain Linux)
You can understand the situation of Open source in Korea from this article.
Thanks
Saturday, January 26, 2008
How to support native interfaces on the Web
The sensor means a device that reads data from the user's physical environment. By the way, I am interested in how to get data from the native interfaces via web browser. I have not considered yet how a browser sends data to a server.
Anyway, this paper seems to be useful to extend technologies of web browser in a standard way.
Getting a location data from a GPS sensor was already realized on Firefox. Doug introduced this news in his blog and he implemented a prototype. I think it needs to be standardized
Wednesday, January 23, 2008
Performance test of the microB patches
- The microB package contains more 200 patches and several patch sets.
- It is released with Firefox3 alpha6 pre. now.
Two kinds of test case are used.
- Tinderbox DHTML Test
- CSS Rendering
Target Device : PAX320, RAM 256MB
And I got the following results on TestGtkEmbed in Mozilla.
* Tinderbox DHTML Test:
The microB patched Mozilla is 2.2 % faster than Mozilla1.9 (Firefox alpah6 pre).
* CSS Rendering:
The microB patched Mozlla is 5.6 % slower (?) than Mozilla1.9
I applied the default patch set of microB to Mozilla1.9
I can't understand why the microB patches is slow in the case of CSS Rendering.
The following items are performance related patches in the default patch set.
#Performance improvements
perf_addon/attachment.cgi?id=246204.diff
perf_addon/new_cached_scale.gtk2.diff
perf_addon/bug54205.diff
perf_addon/540_BUG54340_js_malloc.diff
perf_addon/545_BUG54340_findkeyword_inline.diff
perf_addon/550_BUG54340_optimization_options.diff
perf_addon/thread_wait_block.diff
perf_addon/spidermonkey_alloc.diff
perf_addon/605_css_erros_parsing_disable.diff
I did not go through what each patch means.
Thanks
Sunday, January 13, 2008
Teach yourself Mozilla in 5 days
The results are now posted on the project wiki so you can find various projects and technical reports made by students. Particularly, there is the lab of "Real World Mozilla" that leads students to learn and practice how to develop on the Mozilla platform from building to testing Firefox. It is also helpful to anyone who interest on development on Mozilla because it is documented well in the wiki.
In Korea, Daum corporation and Jeju national university made a open source related course together. So I think if they make and share the results related with open source projects, it will foster the proliferation of open source culture and movements in Korea.
Monday, January 07, 2008
Ideas on supporting native interfaces in Mobile Firefox
These ideas are based on Christian's Mobile Goal.
http://www.christiansejersen.com/blog/2007/11/20/mobile-goals/
Goal
Provide mobile web application environment which can use native interfaces.
- It can make XUL add-ons & web applications use native interfaces
through JavaScript
Types of Native Interfaces
(Most of mobile platforms support APIs for easy of use for camera, GPS, contact, and etc..)
There are two types of native interface:
* native interfaces from hardware
- GPS
- Camera
- Phone Call
* native interfaces from application engine
(HTML5)
Sunday, January 06, 2008
libpng patch for Mobile Firefox
http://wiki.mozilla.org/Mobile/Patches
My colleague tried to apply the png patch to Mozilla and get a good result related to performance improvement.
As you know, we can build the libpng fixed point routines like the above patch.
(Use #define PNG_NO_FLOATING_POINT_SUPPORTED in mozilla/modules/libimg/png/mozpngconf.h )
In this case, he can get 8.6% performance improvement.
It's great. I think this patch is valuable to use on Mobile Firefox.
However, there is the following problem in this patch.
Mozilla handles some floating point values to get image information from the libpng so the patch commented those parts in the info_callback() function. (mozilla/modules/libpr0n/decoders/png/nsPNGDecoder.cpp)
The problem is that color management feature should get color profile information from the libpng. The following code shows the example:
void
info_callback(png_structp png_ptr, png_infop info_ptr)
{
...
if (gfxPlatform::IsCMSEnabled()) {
decoder->mInProfile = PNGGetColorProfile(png_ptr, info_ptr,
color_type, &inType, &intent);
}
...
}
We can check the value of gfx.color_management.enabled through the gfxPlatform::IsCMSEnable() method.
If the gfx.color_management.enabled is true, you can use the color profiles embedded in images to adjust the colors to match your computer's display. In this case, Mozilla should call the PNGGetColorProfile() method. But this method handles floating point values.
Fortunately, Mozilla sets the value of gfx.color_management.enabled to false as default. The PNGGetColorProfile() method is not called. Nevertheless, the patch commented this part because a user may try to set the value to true.
Anyway, the color management feature is not used basically now.
If Mobile Firefox should use the color management feature, the png patch needs more tweaks.
How do you think about that?
Thursday, December 13, 2007
Korea Mozilla Community Party
Channy is the leader of KoMoCo, a contributor for localization of Firefox. Actually, his company, Daum has supported many open source communities including KoMoCo. So, I always thank for Daum and his efforts.
For more details, I'd like to share some blog articles regarding the party.
Saturday, December 01, 2007
Firefox3 beta1 & Cairo Graphics
As expected, Mozilla finally has started the beta test of Firefox3 after finished the alpha8 test. Actually, the official version of Firefox3 should have been released this time. However, the release date is behind the schedule as the alpha test was recently finished. Anyway, we expect that Firefox would be officially released in the first half of next year
The major feature of Firefox is to use Cairo as the graphic engine for rendering all of things. Cairo is designed to provide primitives for 2-dimensional drawing across a number of different backends
Firefox2 has only made use of Cairo in its Gecko layout engine for rendering SVG and Canvas.
However, all graphics rendering would be done through Cairo in Firefox3. The major reason of using Cairo is that SVG, Canvas, and font rendering need to use 2D vector drawing and it allows the drawing to be accelerated by GPU. In the future, Firefox is going to have the capabilities of drawing vector graphics as much as Flash so that it allows users to paint the Web in a standard way. We can already find out many examples of the future Web graphics when surfing the Web.
Click the following links for more details.
Thursday, October 04, 2007
Firefox3's SVG Demo
The slide introduced the coming features of firefox3 such as SVG, canvas3D, Offline and XMLHttpRequest++.
Actually, I am not sure that all features can be added to firefox3 because some features are very experimental. Anyway, I think SVG is very interesting among the new features.
SVG is a standard technology to create vector graphics on the web and even can be embedded in HTML pages
You can see a SVG demo using the foreignobject on the following page.
http://starkravingfinkle.org/blog/2007/07/firefox-3-svg-foreignobject/
What is the foreignobject?
The foreignobject can make any HTML tag to embed into SVG. It means that HTML tag can be worked as a primitive of SVG such as line, circle, and rectangle. So you can apply transform effect on HTML tag.
I think that SVG will be able to change a way of rendering the web in future.
Wednesday, October 03, 2007
2007 South-North Korean Summit
This is the second summit between the two Koreas.
During the summit, Two leaders had several talks about Korean peace, economic investment, reunification on North Korea.
I wish that the two Koreas could archive piece and prosperity on the Korean Peninsula.
Wednesday, September 05, 2007
Flickr Launching Party at Seoul
I attended Flickr Launching Party at Seoul.
Anyone couldn't attend the party, only invited users could attend the party.
Actually I have used Flickr for 1 year. so I have uploaded many beautiful photos on Flickr.
Anyway, it was a very enjoyable party that offered games, cocktail show, and quiz.
Friday, April 06, 2007
Introduction to Mozilla based web browsers
- Camino is a web browser for Mac OSX based on Mozilla’s Gecko layout engine using Cocoa framework.
- Galeon is a web browser for GNOME based on Mozilla's Gecko layout engine.
- K-Meleon uses native Windows API to create the user interface (instead of using Mozilla's cross-platform XUL layer), and as a result, is tightly integrated into the look and feel of the Windows desktop.
- Flock is a special web browser that offers some famous web service such as flickr viewer, blog uploader, and RSS Reader.
Thursday, January 11, 2007
The change of Apple Inc.
However, IBM-PC had become the mainstream of the personal computer. IBM opened the architecture of the computer and many computer manufacturers could make compatible IBM-PCs. Microsoft provided a DOS & Windows as an OS for the PCs. It was not innovative and easy to use, but it was cheaper than the Macintosh.
The Macintosh is very popular to designers, students and teachers. But it is insufficient to become a mainstream of personal computer. Apple has still fewer than 10% of the market share of personal computer. Most of PC is now using Microsoft Windows.
Now, it is not important issue, because Apple is not just a computer manufacturer any more. Apple changed their business way now to be an electric consumer company like SONY, SAMSUNG. The success of iPod can make Apple changed.
I am looking foward to activities of Apple from now on.
Thursday, December 07, 2006
Tuesday, November 21, 2006
BarCamp Seoul 2006
Do you know the BarCamp?
BarCamp is a informal meeting that don't have any subject.
All attendee can speak anything without formality.
Speaking only is Ok. A presentation is no problem.
But, we have 20 minutes of speaking time include Q&A.
This Barcamp was held in Korea firstly. Some companies support this Barcamp include DAUM, OnNet and TatterTools,
I delighted to have an opportunity of attending the Barcamp because the number of attendee was limited to 50.
I made a presentation about the story of programmers. This story is based on my blog.
This BarCamp was very useful and so I would like to attend the next Barcamp.
Thursday, November 09, 2006
Richard Stallman comes to Korea
Next week he is going to vist Korea to address the new GPL and free software.
He plans to attend a conference & serveal lecture meeting.
I think that it's good chance to understand the new GPL and free software from RMS directly. ( He wants to call him RMS)
For more information, click the following sites.
Thanks.
http://kldp.org/node/74749
http://korea.gnu.org/rms-speech-in-2006.html
http://ipleft.or.kr/stallman/061102.php
http://www.powerofcommunity.net