I'm accessing the Picasa web service APIs *via* Yaniv Inbar's com.google.api.services.picasa code. I also created a Client Id and Client Secret using the Google APIs Console <https://code.google.com/apis/console>.
I can't quite figure out how I am supposed to pass these credentials to Picasa! My code works, but stops getting photos after a while, and I wonder if this is because I am hitting the courtesy limits that registration is supposed to allow you to get around. I'm getting a Bundle authBundle from AccountManager.getAuthToken<http://developer.android.com/reference/android/accounts/AccountManager.html#getAuthToken(android.accounts.Account, java.lang.String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)>, and using authToken = authBundle.getString(AccountManager.KEY_AUTHTOKEN); > final ClientLogin.Response clientLogin = new ClientLogin.Response(); > clientLogin.auth = authToken; > final HttpTransport transport = AndroidHttp.newCompatibleTransport(); > final HttpRequestFactory requestFactory = > transport.createRequestFactory(clientLogin); > > picasa = new PicasaClient(requestFactory); to create a PicasaClient. I rather imagine that there are HttpTransport or HttpRequetsFactory methods I can call to set the Client Id and Client Secret ... but I'm sure not seeing anything obvious. -- 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