Archive for September 4th, 2011

How to import Android phone contacts to Gmail contacts

If you set up your Google account using your Android phone, or you added contacts to your phone but didn’t set them as Google account contacts, you will find they’re not synced to your Google account. This means that they’re not available as contacts when composing messages, and worse, you’re not using your Google account as a backup in case your phone is lost or damaged, or you swap phones.

You can easily fix this by doing the following steps from your Android phone:

  • Open Contacts
  • Hit menu > Import/Export
  • Export to SD card, then hit OK to confirm.

After a few moments, your data will be exported.

Next, we delete all contacts, to prevent confusion

  • In Contacts, hit menu > delete > Select All > delete

If you don’t have this option, try Delete All Contacts from Android Market.

(If you’re concerned about deleting your contacts before re-importing them, you can always import them, then resolve the duplicates manually, but you will have stale contacts in your phone. Deleting your contacts then re-importing them a second time will take care of that.)

Lastly, re-import all the contacts to your Google account

  • Hit Import/Export again
  • Select Import from SD Card
  • Select Save contact to… (your Google account) NOT phone

After a few moments, your data will be re-imported, and synced with your Google account online. Note that it may take up to a few minutes for the contacts to start appearing in your Google account.

If you mistakenly import multiple times, you may end up with duplicates in your online Google account. To fix this, simply open more > Find and Merge duplicates from your Contact manager as shown below:

Yes, I really do have 329 contacts.

Note: It is not possible to preserve group information during an export/import. It’s not supported by Google.

Questions and comments are welcome below, thank you!

, ,

Leave a comment

Determine if current user is an admin in WordPress using PHP

You can determine if the current logged-in WordPress user is an admin and take a certain action in WordPress using PHP. If you’re using a PHP widget plugin, you can use this code in a PHP widget to show or do something if the current user is an admin. You can also use this to limit the display of a block you might be working on to only admin users while you’re working on it.

This method is ideal because only admins have the manage_options capability.

Comments are welcome below. Thank you.


Leave a comment

Batch converting audio files to MP3

If you’re converting a single file, is a great online tool. However, for batch conversion, you’ll want to look at one or more of the following tools:


dbPowerAmp is a great conversion utility


While dbPowerAmp says Linux is supported through Wine, I’ve found that soundconverter works wonderfully. To install it:

sudo apt-get install soundconverter

Next, just run it. You can select your input files and directories in the GUI. By default, soundconverter produces .ogg output. If you want mp3, simply select it in Edit > Preferences

, , ,

Leave a comment

Reverting localized Adobe CS5 interface to English

If you’re a Adobe CS5 user and you have a localized language installation but you want to revert to English as the interface language, either temporarily or permanently, follow this tip:

First, completely exit your Adobe product, then follow the instructions for your OS below.


In explorer, open C:Program Files (or Program Files (x86))

then AdobeAdobe Photoshop CS5Locales

You should have one (or more) locale folders, such as en_GB or es_MX. Open it, then Support Files within it.

You should see a tw10248.dat file (either with or without the extension, depending on your settings.) Either rename or delete this file, depending on if you want to revert to your localized language installation again in the future, and restart your Adobe product.


In Finder’s search box, type tw10428. The file tw10428.dat should appear (either with or without the extension, depending on your settings.). Either rename or delete this file, depending on if you want to revert to your localized language installation again in the future, and restart your Adobe product. (To rename, select File > Get Info)

The interface language should now appear in English.

Questions or comments on this are welcome in the comments section below. Thank you!


Leave a comment