Android and Google Analytics: Cant track events

I am using google analytics in my projec and I am getting the "Problem with socket or streams." error message.

W/GoogleAnalyticsTracker(416): Problem with socket or streams.
W/GoogleAnalyticsTracker(416): Host is unresolved:
W/GoogleAnalyticsTracker(416):  at
W/GoogleAnalyticsTracker(416):  at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(
W/GoogleAnalyticsTracker(416):  at Source)
W/GoogleAnalyticsTracker(416):  at Source)
W/GoogleAnalyticsTracker(416):  at$DispatcherThread$AsyncDispatchTask.dispatchSomePendingHits(Unknown Source)
W/GoogleAnalyticsTracker(416):  at$DispatcherThread$ Source)
W/GoogleAnalyticsTracker(416):  at android.os.Handler.handleCallback(
W/GoogleAnalyticsTracker(416):  at android.os.Handler.dispatchMessage(
W/GoogleAnalyticsTracker(416):  at android.os.Looper.loop(
W/GoogleAnalyticsTracker(416):  at

Do you have any experience with this?

Thank you.


Here is the code I am using:

GoogleAnalyticsTracker tracker;
tracker = GoogleAnalyticsTracker.getInstance();


The problem was in my custom rom. In some custom ROMs, in order to increase the battery life, the developpers are changing the localhost ip address. With this change, some services ie. Google Analytics are disabled and no data are uploaded automaticaly. As we know, more than 90% of the apps are using Google Analytics, so this will do the job: prevent data transfer and increase the battery life.

Need Your Help

How to Deal with Cookies in Varnish stack

linux cookies nginx passenger varnish

Due to slow performance of the site, I started looking info Varnish as a caching solution and have some questions about Google Analytics.

How can I slide my div on hover without it sliding over the padding?

javascript jquery hover mouseover slide

I've been searching for hours already on how to slide down a certain div but it doesn't seem to be working out. What I'm trying to do here is slide down the .permalink when you hover the #entry and...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.