[android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-15 Thread igor ganapolsky


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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-15 Thread TreKing
On Thu, Aug 15, 2013 at 2:42 PM, igor ganapolsky  wrote:

> I am having a hard time using Google Analytics EasyTracker in my
> Activities that extend SherlockFragmentActivity.


Are you saying that this works otherwise?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread igor ganapolsky
I am saying that I have no trouble using EasyTracker in regular *Activities 
*and *Fragments*.  It is the *SherlockFragmentActivity *that is giving me 
trouble.

On Thursday, August 15, 2013 10:39:20 PM UTC-4, TreKing wrote:
>
>
> On Thu, Aug 15, 2013 at 2:42 PM, igor ganapolsky 
> 
> > wrote:
>
>> I am having a hard time using Google Analytics EasyTracker in my 
>> Activities that extend SherlockFragmentActivity.
>
>
> Are you saying that this works otherwise?
>
>
> -
> TreKing  - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread TreKing
On Fri, Aug 16, 2013 at 9:47 AM, igor ganapolsky  wrote:

> I am saying that I have no trouble using EasyTracker in regular *Activities
> *and *Fragments*.  It is the *SherlockFragmentActivity *that is giving me
> trouble.
>

I see. Well, I don't use that library, but if you don't get any help here,
perhaps asking on that library's project forum would be a good idea, if the
issue is specific to it?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-16 Thread igor ganapolsky
Hello,
if you don't use that library, then what do you use for analytics in your 
mobile apps?  I don't know of a GA/EasyTracker specific forum...

Thanks,
Igor

On Friday, August 16, 2013 11:30:02 AM UTC-4, TreKing wrote:
>
>
> On Fri, Aug 16, 2013 at 9:47 AM, igor ganapolsky 
> 
> > wrote:
>
>> I am saying that I have no trouble using EasyTracker in regular *Activities 
>> *and *Fragments*.  It is the *SherlockFragmentActivity *that is giving 
>> me trouble.
>>
>
> I see. Well, I don't use that library, but if you don't get any help here, 
> perhaps asking on that library's project forum would be a good idea, if the 
> issue is specific to it?
>
>
> -
> TreKing  - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Using EasyTracker with SherlockFragmentActivity

2013-08-17 Thread TreKing
On Fri, Aug 16, 2013 at 3:09 PM, igor ganapolsky  wrote:

> if you don't use that library, then what do you use for analytics in your
> mobile apps?


I was referring to ActionBarSherlock.
http://actionbarsherlock.com/support.html

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.