Authorization to fetch all records

Jul 18, 2011 at 7:35 PM
Edited Jul 18, 2011 at 8:02 PM



In the Android Weighter app, I see that when it gets the token from the webview it only permits access for Weight Measurement. How do I enable the url to access data for all types of records(allergy, file, Glucose etc).?

Also to further add, in the method


  under, the URL constructed only accesses information for Weight Measurement, how do I change it to access any information?



Jul 18, 2011 at 8:26 PM

You can create your own application and assign it whatever types you are interested in:  Set the type of application to "SODA".  The types are under the "Soda App Rules" tab.  When you create your HealthVaultSettings, use your new application id as the master application id:

HealthVaultSettings settings = new HealthVaultFileSettings(this);


The application in the example only has access to Weight.

Jul 18, 2011 at 8:46 PM

Thanks. It works. Where can I read about all this nuances of HealthVault?

Jul 18, 2011 at 9:02 PM

Start here:  That site has links to other sources of information too.