0

I have an existing android habit app, and I'd like to create a wear-os view for it. It'd essentially just be one more screen / view (that shows current habits and lets you check them), but for wear-os: everything including its database, the utils, should match exactly.

Going over the wear-os developer docs, its unclear how to do this. It seems like they want you to create an entirely identical stand-alone wear-os app.

Has anyone been through this process before?

3
  • 1
    I'd recommend watching Deep dive into Wear OS app architecture. The modularization section should give you some guidance. Commented Feb 27 at 22:06
  • Thanks. Really unfortunate they don't have written documentation for this. Commented Feb 28 at 13:59
  • 2
    1 - For wear os you need to create "another" app that matches your app package name (you can create another app or integrate a module, here:developer.android.com/health-and-fitness/guides/…) . 2 - You need to adapt your app for watch screens. 3 - If you want to have the same code you can copy it or turn it into a library and import on both apps. 4 - To share data you need to use the sync layer api, here, developer.android.com/training/wearables/data/sync Commented Feb 28 at 15:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.