Search code examples
androidwebviewwear-os

WebView support for android wear


Is there any way to display the WebView(Payment gateway page in particular) in android wear? I have done some investigations and wear doesn't seem to support it as of now.

link1

link2

According to answers in the above link, I need to load the WebView in phone and send the rendered image to the Watch. But user won't be able to enter anything in webview input filelds. Is there anyway to achieve this? Thanks in advance.


Solution

  • No, it is not possible.

    As specified here by Google, the android.webkit API isn't supported in Android Wear.

    Moreover, what you're trying to achieve seems wrong. There is no way a user will ever manage or want to enter its credit card (or other) credentials from a smartwatch. Remember that there is no (official) keyboard on Android Wear ! The only inputs are gestures and voice.

    Google probably discarded the webkit API to avoid seeing such things in Wear apps ;)