Hi Jofry,

You'll want to ensure that you're importing the correct Entry class.
The class com.google.gdata.data.Entry should have the appropriate
interface.  Alternately, you can use the
com.google.gdata.data.health.ProfileEntry class, which has some Health
specific methods (e.g. getContinuityOfCareRecord()), in place of the
Entry class.

Hope this helps!

Paul (Google)


On Jun 27, 10:05 pm, Jofry Sutanto <[email protected]> wrote:
> I've been trying all GData library for Google Health sample and I'm
> happy most of it is working except for posting new notice/ccr document
> to a user profile is not working. I'm using client login and working
> with h9 ATM. Following this 
> link:http://code.google.com/apis/health/docs/2.0/developers_guide_java.htm...
>
> my Eclipse IDE won't even compile due to errors such as:
>         The method setTitle(String) in the type Entry is not applicable for
> the arguments (PlainTextConstruct)
>         The method setContent(PlainTextConstruct) is undefined for the type
> Entry
>         The method setXmlBlob(XmlBlob) is undefined for the type Entry
>
> Is this happened because the library structure had changed but the
> examples is not updated? I really need the working version of the
> sample because my core intention is to update user's ccr profile.
> Any comments or thoughts on this one? Would appreciate anyone's help
> and time.

-- 
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