언어 설정

Menu
Sites
Language
Accessing local network from Gear S2 via Smartphone

Hi

I've developped an app that accesses a resource in the local network via an Ajax call. For me this works when my Gear s2 is connected directly to the wifi or when my Gear is connected to my phone where my phone is connected to the wifi. Now some users have complained that the app works for them when they are directly connected, but not when connected via smartphone. I've seen some logs and it appears that there are many networking errors to the local resource, but sometimes it is reachable.

What can I do as developer and what tips can I give my users?

Responses

2 댓글
Jeongsu Kim

Is your app native?

You have to set proxy if Gear S2 connected via bluetooth.

You can get the proxy by connection api.

https://developer.tizen.org/dev-guide/2.3.1/org.tizen.native.wearable.apireference/group__CAPI__NETWORK__CONNECTION__MANAGER__MODULE.html#ga3c399eddb9646279e558e968bb3200b4

Philippe Wechsler

No it is an webapp. Is there something similar required for this app type? Are there any informations available about the current connection (connected or not, connected via phone, wifi, 3g, internet,...)?