Thanx for the reply but i just want to know how to access Google Health
profile of the authenticated user from android. What I want
to do is to let the users access their Google Health Profile and
modify it if they want to.So i am done with the authenticated part but i am
stuck for the access and modification part . Please if possible guide me
through this...

Regards ,
Megha

On Thu, Jun 10, 2010 at 4:18 AM, Achie <[email protected]> wrote:

> Can you guys tell what the dependencies are for integrating google
> health on android.
>
> Megha, I am not using Client Login as Google specifically asks us to
> not do it. But you should be able to do it on android 1.5 also since
> they do not use any android specific code and both of them support
> Java 1.5.
>
> Thank you
>
> On Jun 8, 1:10 am, Idoya Olalde <[email protected]> wrote:
> > Hi,
> >
> > Each user can have more than one profile. Yo have to obtain the list of
> > profiles and select the one you want:
> >
> > Feed profileListFeed = healthService.getFeed(new
> > URL("https://www.google.com/health/feeds/profile/list";, Feed.class);
> > List<Entry> entries = profileListFeed.getEntries();
> > for (Entry profileListEntry : entries) {
> >   System.out.println("Profile name: " +
> > profileListEntry.getTitle().getPlainText());
> >   System.out.println("Profile id: " +
> profileListEntry.getPlainTextContent());
> >
> > }
> >
> > // Select the user's first profile
> > String firstProfileID = entries.get(0).getPlainTextContent();
> >
> > //and then you can make the request to the url
> > "https://www.google.com/health/feeds/profile/ui/"; + firstProfileID;
> >
> > Here you have more information:
> http://code.google.com/intl/es-ES/apis/health/docs/2.0/developers_gui...
> >
> > Good luck!
> >
> > 2010/6/8 Megha Bapat <[email protected]>
> >
> > > hello,
> > >       I am building an application for google health using android as
> my
> > > final year project.
> > > So far i have been able to authenticate the account using Clientlogin.
> I
> > > need to retrieve the google health profile related to this token.
> > > How can i do this? please guide me.... is gdata library supported by
> > > android 1.5 or should i switch to android 1.6 for making use of this
> > > library.
> > > Please help its urgent as my submission date is very near.
> > >                                      Thanking you.....in adv..
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Health Developers" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<googlehealthdevelopers%[email protected]>
> <googlehealthdevelopers%[email protected]<googlehealthdevelopers%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/googlehealthdevelopers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Health Developers" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<googlehealthdevelopers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/googlehealthdevelopers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Health 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/googlehealthdevelopers?hl=en.

Reply via email to