Android Support

Android Support uses HealthVault's mobile model:

  • Download and install Android adt bundle with Eclipse

1. Start Android version of Eclipse
2. Select File->Import
3. Choose Android->Existing Android Code Into Workspace
4. Browse to <hv-download-location>/android
5. Ensure android-sdk and examples\weighter are checked as Projects to Import
6. Click Finish
7. Select Welcome Project
8. Click Run As Android Application

Last edited Aug 28, 2013 at 8:45 PM by robmay, version 9


muslum10cel Mar 18, 2014 at 3:48 PM 
I have downloaded health vault sdks and import them but it doesn't work. What can I do?

ssankara73 Jul 18, 2013 at 5:22 PM 
Hi - I just downloaded R1.4.0, imported into Eclipse and tried to run the Welcome application. Clicked the Go button on the app and the app crashed. I am newbie and so unable to completely discern what is going on... your help is much appreciated!

Logcat output:
07-18 16:19:07.639: W/System.err(334): log4j:WARN No appenders could be found for logger (
07-18 16:19:07.639: W/System.err(334): log4j:WARN Please initialize the log4j system properly.
07-18 16:19:10.649: W/dalvikvm(334): threadid=11: thread exiting with uncaught exception (group=0x40015560)
07-18 16:19:10.669: E/AndroidRuntime(334): FATAL EXCEPTION: Thread-13
07-18 16:19:10.669: E/AndroidRuntime(334): java.lang.IllegalStateException: CookieSyncManager::createInstance() needs to be called before CookieSyncManager::getInstance()
07-18 16:19:10.669: E/AndroidRuntime(334): at android.webkit.CookieSyncManager.getInstance(
07-18 16:19:10.669: E/AndroidRuntime(334): at android.webkit.CookieManager$
07-18 16:19:10.669: E/AndroidRuntime(334): at
07-18 16:19:15.500: I/Process(334): Sending signal. PID: 334 SIG: 9

eakstickpiya Jul 14, 2013 at 3:52 PM 
cannot resolve the error with the R variable.

robmay Jul 18, 2011 at 8:08 AM 
Can you post the errors you are getting to the discussion forum? Then we can better help solve the problem. Thanks, Rob.

syedsana Jul 12, 2011 at 5:54 PM 

I tried the eclipse way of installing the Android app. but it gives me maven errors! Don't you guys have a jar to get started?