Hi Ford ,
I m implementing the google health on my iPhone application. I have
done authentication & retrieved the profile but now i stuck on ccr
parsing can you please me for that.
Thanks,
Dipen
On Jan 23, 8:32 pm, Ford <
fpars...@gmail.com> wrote:
> Hi Greg, thanks so much for your help.
>
> I went ahead and created my own Service/Feed/Entry subclasses, not
> because I needed to, but because it seemed like a cleaner design.
> Sounds like theHealthAPI is off your radar for now, but I'd be happy
> to post my code somewhere if it would help someone.
>
> Oh, thanks for the unknownChildren tip. I was using a pretty gnarly
> xpath (something like "//*[local-name()='ContinuityOfCareRecord']")
> but unknownChildren feels like a better approach -- probably easier on
> the iPhone's tiny processor.
>
> I'm fine enduring a little pain -- if it were easy, it wouldn't be
> quite as fun! :-)
>
> Ford
>
> On Jan 20, 3:42 pm, Greg Robbins <
grobb...@google.com> wrote:
>
> > It will be a while before I can take another look at theHealthAPI. How
> > about trying to implement your application in the model of the
> > BloggerSample, without any entry or feed subclasses (perhaps create a file
> > to hold the needed string constants.) You'll need to rely on the
> > unknownChildren method to get at the CCR XML.
>
> > If you run into any issues where that model doesn't work adequately -- such
> > as really needing custom GData extensions (non-CCR), or some other aspect of
> > using the API that the base classes don't handle -- let me know. I'll either
> > augment the current base classes or add ahealth-specific set of client
> > classes, as those should be pretty easy.
>
> > As far as I am aware, you're the first person using thehealthAPI from