Android Support

Android Support uses HealthVault's mobile model: http://msdn.microsoft.com/en-us/library/hh567903.aspx

Prerequisites
  • Download and install Android adt bundle with Eclipse

Instructions
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 7:45 PM by robmay, version 9

Comments

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

ssankara73 Jul 18, 2013 at 4: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 (com.microsoft.hsg.Connection).
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(CookieSyncManager.java:81)
07-18 16:19:10.669: E/AndroidRuntime(334): at android.webkit.CookieManager$2.run(CookieManager.java:532)
07-18 16:19:10.669: E/AndroidRuntime(334): at java.lang.Thread.run(Thread.java:1019)
07-18 16:19:15.500: I/Process(334): Sending signal. PID: 334 SIG: 9

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

robmay Jul 18, 2011 at 7: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 4:54 PM 
Hi,

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?