Pages

Wednesday, February 29, 2012

A fix for 'Chrome on Android' and CyanogenMod 9

Owners of some custom ROMs on Android were unpleasantly surprised when the first update of Chrome on Android came out a few days ago. I'm using CyanogenMod 9 on Samsung Galaxy S and, after update, Chrome would not start anymore, stating that it only runs on Android 4.0+. The solution was to restore the previous version and continue using that until a fix is found. That day was not too far off.

CM9 A2 and latest Chrome Beta Update... not compatible - Page 2 - xda-developers: "Here is how I fixed it: Back up your build.prop, and find the line for ro.build.id and change the value to IML74K. Reboot. Enjoy new Chrome update.

I haven't found that the change breaks anything."

As you can see here, the solution is rather simple if you have root and write access to /System directory. I'm using SB File Explorer for that and everything works like a charm.

Thursday, February 23, 2012

A PC in your Pocket

"In every dual-core phone, there is a PC trying to get out" is the motto of Canonical, makers of Ubuntu (Linux) operating system. And they are quite right. Dual-core phones already, and soon quad-core phones, deliver power of recent desktop machines to the palm of your hand and are available to be carried in your pocket. These things were only a fortune-teller stories a few years ago but are accepted completely normally these days. And, while they are having mobile-phone-type of operating system on them, they still resemble ordinaly mobile phones. But with Ubuntu, a full desktop operating system, the perception changes significantly. All the software you knew and loved can now be on that little (or not so little) device that you carry with you every day.

Most of the software I use is Open Source and Linux version have existed for a long time so I think a time to migrate to a pocket-PC (how prophetic a name it was) is not too far. Probably by the time I replace my current phone it will be completely standard type of thing. Add Wi-Fi direct (link, this is not ad-hoc wi-fi), for which there is support in Android 4, and the pocket machine is versatile enough and able to communicate easily with devices around it.

Desktop OS

More: http://www.ubuntu.com/devices/android

Wednesday, February 08, 2012

Chrome Beta for Android!

Google Chrome Internet browser is now available on Android Market but for only for selected countries (see the list here). 

The main feature of Android version Chrome browser is that it supports synchronizing your open tabs, bookmarks, history, and omnibox data from your desktop version of the browser. There is also Chrome to Mobile option which allows sending web pages from your PC to your mobile device. Among other interesting options there is USB Web Debugging, allowing debugging web pages from Chrome Desktop via USB. 

Market link.

Friday, February 03, 2012

Installing MongoDB as a Windows Service

In the past, posts with title like this were a real treasure. They usually meant that installing some new technology on a production machine and configuring it to run properly were a real pain. Not to mention performance, stability, and security issues.

Well, seems like those days are well and truly done with. MongoDB natively supports being installed as a Windows service and can easily be done from the command line by passing correct command parameters to mongod. It is as simple as:

mongod --install
mongod --service
mongod --remove
mongod --reinstall

There are additional parameters for setting up service name and credentials but that is really all there is to it. Setting the database path and other options can simply be added to the command line that installs or runs the service, like

mongod --logpath d:\mongo\logs\logfilename.log --logappend --dbpath d:\mongo\data --directoryperdb --install

or

mongod --logpath d:\mongo\logs\logfilename.log --logappend --dbpath d:\mongo\data --directoryperdb --service

For more details check http://www.mongodb.org/display/DOCS/Windows+Service