Ok Thank you for you replying and your attention, I was cheking the samples
under command line and run well, but I have another question for you, I
tried to install the gdata in the last version of Eclipse and it doesn't
work, but in a older version there're no problem, so, How can I install the
gdata pugin?
That it's all, and again thank you.
NOTE: I followed the steps in the Developer's guide for Java

2011/6/6 Alain Vongsouvanh <[email protected]>

> Hello Jose,
>
> Please excuse me replying in English! To run your program from Eclipse, you
> will need to modify the "Run configurations" of your project:
>   Run -> Run Configurations
>
> Then, go to the "(x)= Arguments" tab and add this in the Program arguments
> section:
>   --username=<YOUR_USERNAME> --password=<YOUR_PASSWORD>
>
> You can add other command line options if you want, but those two are the
> ones required by the program in order to run.
>
> I hope this helps!
> Best,
> Alain
>
> On Mon, Jun 6, 2011 at 10:27 AM, Jose Martin Centeno Ortiz <
> [email protected]> wrote:
>
>> alguien podria decirme como se ejecuta ContactsExample.java en
>> eclipse, me sale el mismo dialogo y ya coloque los argumentos y todos
>> los archivos jar que requiere el proyecto;
>>
>> USAGE:
>>  -----------------------------------------------------------
>>  Basic command line usage:
>>    ContactsExample [<options>] <authenticationInformation> <--
>> contactfeed|--groupfeed> --action=<action> [<action options>]
>> (default contactfeed)
>>  Scripting commands usage:
>>    contactsExample [<options>] <authenticationInformation> <--
>> contactfeed|--groupfeed>   --script=<script file>  (default
>> contactFeed)
>>  Print usage (this screen):
>>   --help
>>  -----------------------------------------------------------
>>
>>  Options:
>>    --base-url=<url to connect to> (default
>> http://www.google.com/m8/feeds/)
>>    --projection=[thin|full|property-KEY] (default thin)
>>    --verbose : dumps communication information
>>  Authentication Information (obligatory on command line):
>>    --username=<username email> --password=<password>
>>  Actions:
>>     * list  list all contacts
>>     * query  query contacts
>>        options:
>>             --showdeleted : shows also deleted contacts
>>             --updated-min=YYYY-MM-DDTHH:MM:SS : only updated after
>> the time specified
>>             --requre-all-deleted=[true|false] : specifies server
>> behaviour in case of placeholders for deleted entries arelost.
>> Relevant only if --showdeleted and --updated-min also provided.
>>             --orderby=lastmodified : order by last modified
>>             --sortorder=[ascending|descending] : sort order
>>             --max-results=<n> : return maximum n results
>>             --start-index=<n> : return results starting from the
>> starting index
>>             --querygroupid=<groupid> : return results from the group
>>    * add  add new contact
>>        options:
>>             --billing_information=<billing_information>
>>             --birthday=YYYY-MM-DD|--MM-DD
>>             --calendar_link<n>=<href>[,rel:<rel>][,label:<label>]
>> [,primary:true|false]
>>             --directory_server=<directory_server>
>>             --email<n>=<email>[,rel:<rel>][,label:<label>]
>> [,primary:true|false]
>>             --event<n>=<YYYY-MM-DD>[,rel:<rel>][,label:<label>]
>>             --extended_property<n>=<name>,text:<value>|
>> file:<XmlFilePath>
>>             --external_id<n>=<external_id>,rel:<rel>|label:<label>
>>             --gender=male|female
>>             --group_membership_info<n>=<url>
>>             --hobby<n>=<hobby>
>>             --im<n>=<im>[,rel:<rel>][,label:<label>]
>> [,protocol:<protocol>][,primary:true|false]
>>             --initials=<initials>
>>             --jot<n>=<jot>[,rel:home|work|other|keywords|user]
>>             --language<n>=<language>
>>             --where=<where>
>>             --maiden_name=<maiden_name>
>>             --mileage=<mileage>
>>             --name=<name>[,given:<givenName][,family:<familyName>]
>> [,additional:additionalName][,prefix:<prefix>][,suffix:<suffix>]
>>             --nickname=<nickname>
>>             --notes=<notes>
>>             --occupation=<occupation>
>>             --organization<n>=<name>[,rel:<rel>][,label<label>]
>> [,primary:true|false][,department:<department>]
>> [,description:<description>][,symbol:<symbol>][,title:<title>]
>> [,where:<where>]
>>             --phone<n>=<phone>[,rel:<rel>][,label:<label>][,uri:<uri>]
>> [,primary:true|false]
>>             --priority=low|normal|high
>>             --relation<n>=<relation>[,label:<label>][,rel:<rel>]
>>             --sensitivity=confidental|normal|personal|private
>>             --short_name=<short_name>
>>             --postal<n>=[rel:<rel>][,label:<label>][,primary:true|
>> false][,city:<city>][,country:<country>][,formatted:<formattedAddress>]
>> [,neighborhood:<neighborhood>][,pobox:<poBox>][,postcode:<postCode>]
>> [,region:<region>][,street:<street>]
>>             --subject=<subject>
>>             --user_defined_field<n>=<value>,key:<key>
>>             --website<n>=<url>[,rel:<rel>][label:<label>]
>> [,primary:true|false]
>> Notes! <n> is a unique number for the field - several fields
>>  of the same type can be present (example: im1, im2, im3).
>>  Available rels and protocols can be looked up in the
>>  feed documentation.
>>    * delete  delete contact
>>        options:
>>             --id=<contact id>
>>    * update  updates contact
>>        options:
>>             --id=<contact id>
>>             --billing_information=<billing_information>
>>             --birthday=YYYY-MM-DD|--MM-DD
>>             --calendar_link<n>=<href>[,rel:<rel>][,label:<label>]
>> [,primary:true|false]
>>             --directory_server=<directory_server>
>>             --email<n>=<email>[,rel:<rel>][,label:<label>]
>> [,primary:true|false]
>>             --event<n>=<YYYY-MM-DD>[,rel:<rel>][,label:<label>]
>>             --extended_property<n>=<name>,text:<value>|
>> file:<XmlFilePath>
>>             --external_id<n>=<external_id>,rel:<rel>|label:<label>
>>             --gender=male|female
>>             --group_membership_info<n>=<url>
>>             --hobby<n>=<hobby>
>>             --im<n>=<im>[,rel:<rel>][,label:<label>]
>> [,protocol:<protocol>][,primary:true|false]
>>             --initials=<initials>
>>             --jot<n>=<jot>[,rel:home|work|other|keywords|user]
>>             --language<n>=<language>
>>             --where=<where>
>>             --maiden_name=<maiden_name>
>>             --mileage=<mileage>
>>             --name=<name>[,given:<givenName][,family:<familyName>]
>> [,additional:additionalName][,prefix:<prefix>][,suffix:<suffix>]
>>             --nickname=<nickname>
>>             --notes=<notes>
>>             --occupation=<occupation>
>>             --organization<n>=<name>[,rel:<rel>][,label<label>]
>> [,primary:true|false][,department:<department>]
>> [,description:<description>][,symbol:<symbol>][,title:<title>]
>> [,where:<where>]
>>             --phone<n>=<phone>[,rel:<rel>][,label:<label>][,uri:<uri>]
>> [,primary:true|false]
>>             --priority=low|normal|high
>>             --relation<n>=<relation>[,label:<label>][,rel:<rel>]
>>             --sensitivity=confidental|normal|personal|private
>>             --short_name=<short_name>
>>             --postal<n>=[rel:<rel>][,label:<label>][,primary:true|
>> false][,city:<city>][,country:<country>][,formatted:<formattedAddress>]
>> [,neighborhood:<neighborhood>][,pobox:<poBox>][,postcode:<postCode>]
>> [,region:<region>][,street:<street>]
>>             --subject=<subject>
>>             --user_defined_field<n>=<value>,key:<key>
>>             --website<n>=<url>[,rel:<rel>][label:<label>]
>> [,primary:true|false]
>> Notes! <n> is a unique number for the field - several fields
>>  of the same type can be present (example: im1, im2, im3).
>>  Available rels and protocols can be looked up in the
>>  feed documentation.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
>>
>
>
>
> --
> Alain Vongsouvanh
>
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
>



-- 

*Sayonara*

WebRep
Overall rating

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to