I am wondering if we can access the network through HttpURLConnection from Android Wear?
I tried using HttpURLConnection inside W
Unfortunately, no.
Android Wear applications cannot directly access the Internet. They must communicate with their corresponding handheld app (either via MessageApi or DataApi) and request that it executes whatever HTTP requests you need.
EDIT: Android Wear 2.0, now in beta, supports network requests, so HttpURLConnection
should work there.