Here is a small snippet;
Log.v("??", "attempt to get android_ID");
// GoogleLoginServiceBlockingHelper test;
try {
long A_ID =
GoogleLoginServiceBlockingHelper.getAndroidId
(getApplicationContext());
} catch (GoogleLoginServiceNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Log.v("??", "I'm never reached");
You must import the following;
import com.google.android.googlelogin.*;
Which are located in client.jar which you can download here:
http://android.git.kernel.org/?p=platform/frameworks/opt/com.google.android.googlelogin.git;a=tree
Anyone able to get this to work?
-Tim
On Feb 25, 4:27 pm, Dan Bornstein <[email protected]> wrote:
> On Mon, Feb 23, 2009 at 8:31 PM, strazzere <[email protected]> wrote:
> > Everything seems to be going smoothly until I get to running the
> > project and the dalvikvm spits out errors such as "rejecting opcode
> > 0x6e at 0x000e" which seems to make no sense to me.
>
> Can you provide a bit more context from the log? Also, if you could
> provide a compilable and runnable test case, then it would be much
> more likely that we will be able to reproduce the problem locally.
>
> Thanks.
>
> -dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---