I think you need to use the data sync API and save the shared preferences
on the normal app side.
https://developer.android.com/training/wearables/data-layer/data-items.html

Marina

On Mon, Feb 13, 2017 at 12:34 PM, Anh <anhduong...@gmail.com> wrote:

> Hello,
> I am encountering an issue that saving userId in wearable app. I have a
> login page and need user enters userID and save it.
> In android mobile app, I used SharedPreferences successfully. However, for
> wearable app, I don't know how and what I can use to save UserID.
> I am searching on the internet but no clue. Please support!
> Thank you
> Anh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e6a68708-ee23-4f52-9d1d-
> 0c0f9398a573%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/e6a68708-ee23-4f52-9d1d-0c0f9398a573%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2PsbkL3OVkfQFGNhd9zm22E9Wng-MQSqW180p%2B2EbaAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to