Login in app calendar on Android emulator?

Discussion in 'Application Development' started by aby, Feb 6, 2009.

  1. aby

    aby New Member
    5

    Feb 6, 2009
    1
    0
    5
    Hi,

    I'm trying to modify the app calendar on Android emulator, but it needs to set login information or the app calendar would crash if we don't mark following codes in LaunchActivity.java of calendar source projects.

    GoogleLoginServiceHelper.getCredentials(
    this,
    GET_ACCOUNT_REQUEST,
    bundle,
    GoogleLoginServiceConstants.PREFER_HOSTED,
    Gmail.GMAIL_AUTH_SERVICE,
    true);

    But it displays nothing if I marked above codes. Maybe the GoogleLoginServe is not workable in Android SDK when calling GoogleLoginServiceHelper. Is there anyone knows solution?

    Thanks
     

    Advertisement

Share This Page

Loading...