Somebody try it with Google Analytics service?

I am trying to implement this method in my program but I can't get it
to work. This is my code:

GoogleLoginServiceHelper.getCredentials(this, 54321,
                        null,
                        GoogleLoginServiceConstants.REQUIRE_GOOGLE,
                        "analytics",
                         false);

I have this permissions in my manifest:

<uses-permission
android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.analytics"></
uses-permission>
<uses-permission
android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"></
uses-permission>

But I got a SecurityException:
java.lang.SecurityException: caller pid 6213 uid 10044 lacks
com.google.android.googleapps.permission.GOOGLE_AUTH.analytics

I have added this permission to manifest... any idea?

With other services like Calendar Data API (cl) and YouTube Data API
(youtube) i don't have any problems.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to