health-samples icon indicating copy to clipboard operation
health-samples copied to clipboard

Is it possible to have a Sample for java version ?

Open sddog opened this issue 2 years ago • 1 comments

sddog avatar Sep 05 '22 08:09 sddog

Which API is this request for (Health Connect or Health Services)? Some of the Health Services documentation on developer.android.com has Java snippets. If you're able to support it, I would recommend using Kotlin as it promotes safer and more concise code. There are some helpful resources to get started with Kotlin if you already have extensive Java knowledge here.

If you're sticking with Java, for either sample you should be able to decompile the Kotlin code to Java within Android Studio (Tools > Kotlin > Show Kotlin Bytecode).

breanatate avatar Sep 09 '22 15:09 breanatate