Blog

Sync Google contacts with Nokia E63 phone contacts

Jul 25, 2011

Follow steps below to sync your Google contacts with Nokia E63 phone contacts.

( http://www.google.com/mobile/sync/)*Go to Menu -> Tools -> Sync

*Select Options -> New Sync profile

*Give profile name for example Google sync

*Go inside Application->Select Contacts

*Give the following Include in sync - Yes Database in phone - C:Contacts.cdb Remote databases - contacts Synchronization type - Both ways

*Now come back to the edit profile page and go to Connection Settings, and give the following details Server version - 1.2 Server ID - Google Data bearer - Internet Access point - Always ask Host address - https://m.google.com/syncml Port - 443 User name - Password - Allow sync request - Yes Accept all sync requests - No Network authentication - No

*You are all set, now Open the sync profile and select Synchronize.

Categories : Mobile

Eclipse CRLF and File Encoding

Jul 21, 2011

If you are sharing a project which would be edited both in Windows and Unix systems, then its best to set the New text file line delimiter settings for eclipse to Unix. To do this Open Eclipse preferences from Windows->Preferences. Navigate to General -> Workspace and then for the “New text file line delimiter” choose radio button “Other” and from the list select “Unix”. Also since eclipse by default is not using file encoding UTF-8, its best to set that also while you are doing this. Under “Text file encoding” choose radio button “Other” and from the list select “UTF-8”.

Categories : Git   Programming

Apache Ant target execute based on condition

Jul 21, 2011

To execute an Ant target based on condition, use the “if” attribute of the target,

if the module-A-present property is set (to any value, e.g. false), the target will be run.

http://ant.apache.org/manual/targets.html#targets

As of Ant 1.8.0, you may instead use property expansion; a value of true (or on or yes) will enable the item, while false (or off or no) will disable it. Other values are still assumed to be property names and so the item is enabled only if the named property is defined.

http://ant.apache.org/manual/properties.html#if+unless

Categories : Java   CI

Internet Explorer min-width CSS property does not work

Jul 13, 2011

If the min-width property does not work in Internet Explorer

http://www.w3schools.com/cssref/pr_dim_min-width.asp

check if your html has DOCTYPE setup.

min-width details from MSDN site - http://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx states that>This property is enabled only under the strict !DOCTYPE.

Categories : Web

Wubi 8.04, errors while installing

Jun 30, 2011

While running Wubi.exe got from Ubuntu 8.04.4 LTS (Hardy Heron) download page http://releases.ubuntu.com/8.04/,

The error shown in screenshot occurs.

The problem seems to be because of mismatch between Wubi.exe and download URLs in http://releases.ubuntu.com/8.04/. To solve this problem download the Wubi.exe for 8.04 from Wubi SourceForge site http://sourceforge.net/projects/wubi/files/Wubi/

Categories : Linux