connexion with Gdata problem

by [EMAIL PROTECTED] » Mon, 03 Nov 2008 23:34:29 GMT


Sponsored Links
 Hello, I'm from Belgium so, sorry for my poor english ;-)

I use gdata api for upload photos on Picasa.

I tried to connect with Google using :
____________________________________

PicasawebService myService = new PicasawebService("example-
exampleApp-1");
myService.setUserCredentials("[EMAIL PROTECTED]", "password");
___________________________________

I put a permission :

<uses-permission android:name="android.permission.INTERNET" />

but there is an error :

com.google.gdata.util.AuthentificationException: Error connecting with
login URI.


this program works with J2SE but not with Android.
Can anybody help me please ?


regards,

Julien

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. query phone state

Hi, I know it's possible to receive information about the phone state
via an intent receiver:

    <receiver android:name=".Foobar">
      <intent-filter>
        <action android:name="android.intent.action.PHONE_STATE"/>

But is there a way to simply query whether the phone is engaged in a
voice call? Information about the call would be good too, but I don't
think that's possible, given that it's not even possible using the
intent receiver above.

Thanks,
-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

--~--~---------~--~----~------------~-------~--~----~

2. Cursor c = this.getContentResolver().query( gets nullpointer exception when code is moved

hi - this code worked perfectly when it was in my main launcher, but
when i moved it to another class in my project, i get a null pointer
exception.  ????

    public String getContactStr()
    {
        String pList = "";
        String st = "";

    Cursor c = this.getContentResolver().query(
                android.provider.Contacts.Phones.CONTENT_URI,
                null, null, null,
                android.provider.Contacts.Phones.PERSON_ID+ " ASC");

         .........
    }
--~--~---------~--~----~------------~-------~--~----~

3. Suggestions for SDK 1.0

4. Taking care of proxy Internet access for Dev Challenge?

5. Create a partially dynamic view

6. About accessing webpage

7. How to get the selected item in expandablelistactivity