Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4android > Additional libraries and official updates
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional libraries and official updates Users contributed libraries and official updates. This forum is open for licensed users only.

Google Analytics library

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 12-14-2011, 06:21 PM
Basic4ppc Veteran
 
Join Date: Sep 2007
Posts: 480
Default

Everything works great now!
Reply With Quote
  #22 (permalink)  
Old 01-14-2012, 03:41 AM
Newbie
 
Join Date: Dec 2011
Posts: 5
Default

Erel -

If I use the provided code found in the docs and add the libraries in post #1 (I can see them in the library tab),and I have a Google Analytics account, but on app start I get "The Application has stopped unexpectedly. Please try again." Is there a better code example or am I missing something?
Reply With Quote
  #23 (permalink)  
Old 01-15-2012, 07:38 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should check the unfiltered logs and post the error message (stack trace).
Reply With Quote
  #24 (permalink)  
Old 02-04-2012, 08:33 AM
Basic4ppc Veteran
 
Join Date: Feb 2011
Posts: 237
Default

Suppose I set the auto dispatch time interval to 20 seconds in first activity and the user moves to second activity (thereby triggering tracker.stop given in the Activity_Pause of first activity), within 10 seconds, will the data be still sent to Analytics?
Reply With Quote
  #25 (permalink)  
Old 02-05-2012, 06:24 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I don't think that the data will be sent.

If you have multiple activities then it will probably be better to use a service for the tracker and stop it in Service_Destroy (don't forger to call StartService when the main activity starts).
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wish: Google Analytics support Inman Bugs & wishlist 3 08-15-2011 10:54 PM
Google +1 Erel Basic4android Updates and Questions 15 07-31-2011 04:30 PM
Google Analytics SDK wrapper bluedude Basic4android Updates and Questions 0 06-10-2011 02:37 PM
Get google name NetStorm Basic4android Updates and Questions 0 05-01-2011 10:03 PM
b4a and google api Cor Basic4android Updates and Questions 1 01-19-2011 05:46 AM


All times are GMT. The time now is 10:02 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0