SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Google Health HealthDemo sample bad command-line indexes #308

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Execute 
http://gdata-java-client.googlecode.com/svn/trunk/java/sample/health/HealthDemo.
java with username and password parameters
2. Prompt 'profile' or 'register'

What is the expected output? What do you see instead?
If the Google Health account have 2 or more profiles, list indexes always are 
'1'. I expect correlative numbers (1, 2, 3...).

What version of the product are you using? On what operating system?
I don't know. Ubuntu 10.04 x86.

Adding 'profileIndex++;' in line 157 will solve the issue.

Original issue reported on code.google.com by juliocar...@gmail.com on 15 Sep 2010 at 10:50

GoogleCodeExporter commented 9 years ago
The Google Health API has been deprecated, and will be discontinued January 1, 
2012.

http://googleblog.blogspot.com/2011/06/update-on-google-health-and-google.html

Original comment by sax...@google.com on 27 Jun 2011 at 6:21