Search This Blog

Friday, October 12, 2012

Contacts+ for Android

I have been using a Samsung Galaxy S3 since it came out in Turkey. (About 5 months) And the default Contacts application of my phone has been a real pain for me for a long time. (It was slow and unresponsive.)

After trying many replacement applications that are out in the market, finally I found exactly what I need. A simple, yet smart contacts application that suits all my needs. It's fast and very easy to use and its integration with social networks is amazing. I always get the current profile picture of my contacts from facebook. The application also comes with useful widgets. Also customer care is very important for Gentoo Labs. They have answered all my annoying questions with great respect and swiftness.

If you want to try here is the Google Play link for the application or just scan this with your QR scanner.
Google Play - Contacts +

Tuesday, October 09, 2012

Inversion Of Control

We have been studying about inversion of control in our project these days. If you are curious about it here is a great article (Inversion Of Control).

And here is the List of .NET Dependency Injection Containers. The libraries that you can use with your project according to your requirements.

Wednesday, October 03, 2012

The remote server returned an error: (504) Gateway Timeout.

We had a similar situation in one of our projects. And adding the following headers to WebClient was the right solution for us too. Thanks to ─░brahim Uluda─č for sharing this information.

I am using the code below to download file.

WebClient myWebClient = new WebClient();

 myWebClient.DownloadFile(myStringWebResource, fileName);

But suddenly I have started to get 504 error. After adding header, the error has gone.

myWebClient.Headers["User-Agent"] = "Mozilla/4.0 (Compatible; Windows NT 5.1; MSIE 6.0)" +

                " (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"