title: Using google analytics android for desktop application
body: <p>I am on the lookout for doing analytics for a desktop application written in Java. I came across two services viz: TrackerBird and DesktopMetrics , but for a small time developer like me , those services are not affordable.</p>
  
  <p>Google analytics has android support. So I was wondering if I could use the same in the desktop application which is on Java.I am looking for a headsup if anyone has implemented the same and tips on how to proceed on using GA on desktop.</p>
  
  <p><a href="https://stackoverflow.com/questions/6619848/how-can-google-analytics-be-integrated-in-a-desktop-application-mac">the SO link here says no</a> , but I think it can be done.</p>
  
  <p><a href="https://developers.google.com/analytics/devguides/collection/android/v2/" rel="nofollow noreferrer">Here is the link of google code on using GA in android</a> , says it should bind to an application context. I was wondering if I could hack it to work in a desktop app.</p>