Mozilla Fennec 1.9.2 builds for Android

Mozilla Fennec, a Gecko-based mobile browser from Mozilla is now available for Android, where you can download the latest build from the trunk from : Mozilla-Central trunk Android/.

Be careful as the code can be considered still in the alpha-stage, where memory leaks are bound to happen alongside with occasional buggy browsing experience.

It requires Android 2.0 and was only tested on Motorola Droid and Nexus One. The application must also be installed on the device’s internal memory (not on SD card).

How to Embed Web Browser in Python GTK application using pymozembed

Embedding web browser or a screen for parsing HTML is easy in PyGTK. You only need to import the pymozembed, and add a few lines of code in your pygtk library, and you are set to go.

Here’s a sample PyGTK application that embeds a web-browser as well as a “Back” button for demonstration purpose :

PyGTK + browser Screenshot
PyMozEmbed PyGTK+ Mypapit Demo

[python]
#!/usr/bin/python
#
# demo by mypapit (info@mypapit.net) – Sept 2009
# http://blog.mypapit.net/
#
import pygtk
pygtk.require(‘2.0’)
import gtk
import gtkmozembed

class PyMoz:

def delete_event(self,widget,data=None):
print(“Exit”)
return False

def destroy(self,widget,data=None):
gtk.main_quit()

def button_clicked(self,widget,data):
data.go_back()

def __init__(self):
#init mozembed
self.moz = gtkmozembed.MozEmbed()
#create a Vertical Box Container to whole the browser
#and the “Back Button”
box = gtk.VBox(False,0)

#create a basic GTK+ window
win = gtk.Window()
win.add(box)

#create and connect “Back” button, to add functionality
self.button = gtk.Button(“Back”)
self.button.connect(“clicked”,self.button_clicked,self.moz)

#include both back button and the browser in the vertical box
#and the GTK+ window
box.pack_start(self.button,False,False,0)
box.pack_start(self.moz,True,True,0)

#load the URL
self.moz.load_url(‘http://blog.mypapit.net/’)

#set the window title
title=self.moz.get_title()
win.set_title(“browser demo”)

#show all the stuffs on screen
win.show_all()

#connect the delete_event and destroy event to make sure
#the app quits when the window is closed
win.connect(“delete_event”,self.delete_event)
win.connect(“destroy”,self.destroy)

if __name__ == “__main__”:
PyMoz()
gtk.main()

[/python]

Download demo source code : pymoz.py

Firefox 3.0 too slow for my desktop pc or is it just me?

This is the first day that I have the mood to blog since Eidul Fitr (Hari Raya).

What really caught my attention since the last few days I was away-from-keyboard is the startup time of Mozilla Firefox 3.0 browser on my 7 years old pc (Pentium 4 1.8 GHz) running Ubuntu 7.10, it was noticeably slow, giving me the impression it’s bloated. Was it only me? or does anybody else notice it too?

Currently I use Epiphany to write this post…

Ubuntu Hardy Heron 8.04.1 LTS Bugfix release

The Ubuntu project has released Hardy Heron 8.04.1, as the release number implies, it is a bugfix release which contains all the security updates and bug fixes for the last 2 months since the first release of 8.04. The release can be downloaded from Ubunty Hardy download page in the form of ISO files.

Current users need not to download the new CD as they are most likely have all the security patches applied via the built-in Automatic Update feature in Ubuntu.

As a bonus, the CD also includes the production release of Mozilla Firefox 3.0 compared to 3.0 Beta in 8.04.

Awesome Web apps integration with Mozilla Prism (Google, Facebook)

Being a relatively newcomer with Desktop + Web apps application, I tried to experiment with Mozilla Prism in a newly installed Ubuntu Hardy on my sister’s laptop.

At first glance, Mozilla Prism really hits the spot. as it allows seamless integration of various web application within your computer. Prism made it easier for me to access various web application from my desktop with relative ease, as if they were local applications.

Screenshots of Prism in action

Google Reader

Google Prism

Google Docs

Google Docs in Prism

Google Facebook

Google Docs in Prism

Prism enhances web experience greatly by integrating web application into desktop environment.

How to Install Prism
From desktop, go to System->Administration->Synaptic Package Manager, and search prism. Install “prism” package together with its associated web application (called “bundles”)

Installing Mozilla Prism

Facebook and Google Groups Integrated inside Applications Menu

Installing Mozilla Prism

Bloat alarm : We need a another “Firefox” to Mozilla Firefox

Back few years ago, there are a bunch of dude released a lightweight browser named Phoenix (way back in 2001-2002) as an alternative to the current Mozilla browser release.

This lightweight browser which contains no more than bare component (Gecko) to enable web browsing was a major attraction by itself. Then they changed the name to Firebird and finally to Mozilla Firefox because of legal issues. Its not about the naming problem though, a rose by another name is still a rose.

Mozilla Firefox

Mozilla Firefox gain the fame of being a lean and mean web browser, as in its original vision. But then things started to change. As the user grew, they started to add features that make the browser become more complicated. Bugs and usability problem begins to rear its ugly head. One of the things people might notice is it began to eat up much of valueable resources. CPU usage starts to shoot up, memory leaks being the norm since 1.5.x release. It does not feel like a “lean and mean” browser anymore.

What matter most is not the bell and whistle, if people want that, they would just download Seamonkey, because why else it is being offered in the first place? Fix memory and CPU resource problem because it is so damn obvious it failed to act as lightweight browser there. We dont need all the bell and whistle, a “simple lightweight” browser would suffice.

Perhaps we need another “Firefox” to Mozilla Firefox, this time for real…