Tuesday, March 22, 2011

Android versions we have

Android developer console has a new statistic feature.
In that we can see the current Android's version distribution:
Android 2.2 - 57.8%
Android 2.1 - 29.0%
Android 1.6 - 6.8%
Android 1.5 - 4.9%
Android 2.3.3 - 0.6%

Gingerbread already available for 5 month (from when it was first introduced), and still has a tiny share.
Will the other makers start to install it on their devices some day or it will never happen due the enormous Gingerbread ugliness?

Saturday, March 12, 2011

GMail advanced IMAP

GMail was quite annoying placing all the old emails to the "All Mail" folder.
I don't care if they want to archive them but I do care when my IMAP client downloads all the oldies each time and keeps the huge copy on the local storage.

Praise all gods, that can be fixed. As described in the following article:

In short, just go to the settings, then to the "Labs", and enable the "Advanced IMAP controls". Then go to the "Labels" and uncheck the "All Mail - Show in IMAP" checkbox.
That's it. The mail client won't see that folder anymore!

Tuesday, March 1, 2011

Excel needs the Desktop

To make Excel automation works from IIS:
Excel uses the "Desktop" folder for something.
Even though IIS execution right personalized to an user specified in the application pool advanced settings, Excel still executes in the system environment, so, we need to create the desktop folder for it:

read more at:


Also, give proper rights to the folder "C:\Windows\System32\config\systemprofile\" and to the Excel's DCOM properties (go "Administrative Tools/Component Services") to the user which executes Excel

To run the DCOM config:
When the office has the same bits as the OS:

When 32bit office on 64bit OS:
mmc comexp.msc /32

Note! Even if the caller 32bit and the Excel is 64 bit, it should work fine, since the Excel object is called via DCOM.

Also! The Excel need a valid accessible printer to produce documents.
Make sure the default printer has enough permissions which allow the IIS user to print on it.