Google Analytics SDK for Android v2 (Beta) Manual Dispatch -


i new using google analytics , trying integrate android application. going though official documentation dispatch below excerpt pulled directly there:

https://developers.google.com/analytics/devguides/collection/android/v2/dispatch

apart relying on periodic dispatch, there may times when want manually dispatch hits. example, bundle dispatches other http requests made application reduce overhead.

my question is, how bundle dispatch other http connections within app. using defaulhttpclient app make http calls. have searched quite time , have not found samples or suggestions make work.

it helpful if can point me in right direction have implemented.

p.s cannot post code samples due restrictions of client.

if using easytracker, call easytracker.getinstance(context).dispatch() whenever making http request. unless doing automatic dispatching, send 30 queued hits.


Comments