Thursday, August 15, 2013

[android-developers] Using EasyTracker with SherlockFragmentActivity

I am having a hard time using Google Analytics EasyTracker in my Activities that extend SherlockFragmentActivity. When I try to use EasyTracker.getInstance().activityStart(this);in onStart, the compiler doesn't complain but the app crashes with:

android.content.res.Resources$NotFoundException: String resource ID #0x7f0a0001

If I try to do EasyTracker.getInstance().setContext(this); in any method outside of onStart, I get the same exception.

I am having a hard time understanding what's going on here, or whether it is possible at all to use EasyTracker with FragmentActivities.

Thanks, Igor

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate