Android Wear 2.0 MessageApi problem - Wear OS Software and Hacking General

Hi everybody,
I've recently tested an App for mobile and wearable, that I devoloped for Android Wear 1, on Android Wear 2.0.
This app implements the Google Wearable Api for a bidirectional communication between mobile and watch, specifically I am using MessageApi.
In this configuration I've the SIM card on my mobile phone and I don't have on my LG Watch Urbane 2.
I've experienced this problem, when I turn off Wi-Fi and data connection and I try to send a message from Wearable to Mobile the SendMessageResult give me requestID -1 and status TARGET_NODE_NOT_CONNECTED.
When I turn on Wi-Fi or data connection the message API works correctly.
Does Android Wear 2.0 need Internet connection to communicate between Mobile and Wearable? Is this problem present in Android Wear 1 too?
Thank you

I've found that if I remove sync in cloud option from Android Wear app in the smartphone the communication between watch and phone works even without internet connection.
But this doesn't seem to resolve my problem. I've noticed that when the phone is connected to Wi-Fi (and the watch isn't connected) sometimes it has a connection fail with the watch in the Android Wear app. The Android Wear app says that it is trying to connect with the watch, and my app can't exchange messages between phone and watch.
In this case I need to restart the phone to estabilish a new connection between two devices.
So I can say that the wi-fi connection is giving some problem with android wear 2.0.
Has someone noticed these problems? Does someone have a solution for this?

Related

A doubt about wifi

I'm planning to buy a G Watch but i heard it doesnt have wifi, so, can i pair my phone with the smartwatch via bluetooth to get wifi on it?
The watch does not have wifi but you can pair it with your phone via bluetooth.
You will not be able to use the connected features of the watch if it is not in bletooth range of your phone.
Watches with wifi can communicate with the phone remotely, using wifi for the watch and wifi/3G on the phone.
(I'm not really sure to understand your question so I hope I answered)
supermamie said:
The watch does not have wifi but you can pair it with your phone via bluetooth.
You will not be able to use the connected features of the watch if it is not in bletooth range of your phone.
Watches with wifi can communicate with the phone remotely, using wifi for the watch and wifi/3G on the phone.
(I'm not really sure to understand your question so I hope I answered)
Click to expand...
Click to collapse
Yeah, you kinda answered, so if my watch is paired via bluetooth and i open chrome (or any browser) the connection will work?
Syzew said:
Yeah, you kinda answered, so if my watch is paired via bluetooth and i open chrome (or any browser) the connection will work?
Click to expand...
Click to collapse
That's pretty much it good luck browsing on such a small screen though
No. You will not be able to open Chrome at all. The best you'll get is sideloading Firefox for Android over to the /system/priv-app folder. You do NOT get an internet connection in standard sideloaded applications unless you have them in priv-app.
Other than that, Applications have no internet access unless the application on the phone-side preforms the functions that require networking and send resulting data over through the Android Wear application.
EDIT: I wanted to clarify. Chrome does not run at all on Android Wear because of the ActionBar it uses for it's address bar and menu button. It will crash upon attempting to start it, as will most standard Android applications that use said ActionBar.
that's true but there exists a browser for wear
nicolahaye said:
that's true but there exists a browser for wear
Click to expand...
Click to collapse
There does indeed. I found it's performance to be lacking however. As opposed to using the same amount of controls and having multiple tabs inside Fennec for Android (which does run and it runs well as long as you have a keyboard. You just don't get add-ons, favorites or a back button unfortunately because Android Wear refuses to render the menu.

mobile data is not working on gear SIM number after the last update.

After last update I can't use gear sim number mobile data anymore.It's very important for me because i lost remote conection while i'm out and my mobile phone is left at home.When i'm on Wifi or nearby the phone I can establish conection through bluetooth and have a internenet but as a standalone device NO internet!Anybody else faces this experience after the last update?
I have exactly the same problem and can not find any solution. Also tried to downgrade to previous firmware version, but it is still the same. Access point settings are checked to be correct. It is funny that Gear S seems like connected to mobile data by looking at the status bar indicator, but no application have access to internet. It even logs some small amounts of data communication under data usage. Has anyone seen success with this issue?

Android wear connection issue

So I just got my watch and im trying to connect it on adroid wear but it doesn't show up on my app on the phone, it says ASUS is connected on my bluetooth and when i scan on the app it doesn't show... I'm using a OnePlus X phone.
Did you try to connect the watch before installing Android Wear and the Asus app? If so, you need to manually disconnect the watch, "unpair it" (factory reset), then install the apps on your phone. Once the apps are installed, THEN let Android Wear handle the connection for you.
Unfortunately, it's not as simple as a normal BT device, but once it connects, it's actually pretty good about maintaining that connection.

wifi... should I use it?

Hi!
I just got my amzfit and I installed Amzfit.
I know that I can connect the watch to the wifi. Do I need to connect it? Beside send some file from my phone with some app, is there a reason to use the wifi?
The WiFi is used to check for OTA updates and download direct to watch or if you want to upload a sports activity direct from watch to cloud but it's not really necessary as the activities will sync to the App over bluetooth anyway.
Then, how to disable the WiFi connection only? And leave the Bluetooth ON and connect to my mobile?
thanks
I think it already disables WiFi when it's in standby then will ask to connect when it needs it.
I am going to buy stratos so I would like to ask: if the bluetooth connection between watch and phone is lost then does watch sync with phone by wifi ? ( when they are in the same network )
I think that Samsung gears S3 works this way
pabgar said:
I am going to buy stratos so I would like to ask: if the bluetooth connection between watch and phone is lost then does watch sync with phone by wifi ? ( when they are in the same network )
I think that Samsung gears S3 works this way
Click to expand...
Click to collapse
No, you can only upload Sports data to the cloud using WiFi on watch. Other than this, WiFi on watch is only used to update firmware and send error logs.
I think wifi suit installed in Pace just for increasing price , nothing else . When want to update version , just use app to download and bluetooth to Pace . It is too wasteful when you can not use Pace's wifi to import musics and faces directly from internet . In Vietnam 4G is cheap so I online 24 hours without wifi but when update I must go to cafeteria , importing musics and faces must borrow computer from around . Annoyed .
Karl Schaummer said:
I think wifi suit installed in Pace just for increasing price , nothing else . When want to update version , just use app to download and bluetooth to Pace . It is too wasteful when you can not use Pace's wifi to import musics and faces directly from internet . In Vietnam 4G is cheap so I online 24 hours without wifi but when update I must go to cafeteria , importing musics and faces must borrow computer from around . Annoyed .
Click to expand...
Click to collapse
On latest firmware (WOS2, firmware 2.x.y), already released in CN and in beta right now for International users, you can transfer music from phone to watch wirelessly. You can also do this and transfer watchfaces if you install some app like FileManager+ on watch, it creates a temporary FTP server that can be used to transfer any files to and from watch using WiFi.
Wifi / bluetooth both
From the beginning I use Pace and Stratos and always totally confused sync usage.
1. it seems it needs to sync sport data by wifi only.
2. it needs to sync GPS and some other data like weather by bluetooth only.
3. Of course it needs bluetooth for phone notification which I never need.
4. It needs to be connected regularly to the phone by bluetooth to be able to sync over wifi.
5. Your phone has to be connected to the internet to get updates.
It is quite complicated system. Yesterday I had bluetooth ON and synced with phone. In the settings is AUTOMATIC SYNC ON. Wifi is remembered. Today checked Strava and nothing there. I forced to sync manually and it told me I need to refresh some "token" and need to connect to my phone. So any automatic sync has not been made.
In conclusion it needs WIFI + Phone and bluetooth to sync to the cloud and whats more, you have to do manually and check if it really happened.

Bypass server request on app

Hello everyone.
Around February of this year I purchased four cameras on amazon to create an alarm system.
The rooms are all from the DIGOO DG-UFC model.
The cameras are connected to the wifi network by pairing with the app (U-CAM) free and regularly present on the Appstore.
The problem arises from the fact that the app to configure the camera, before connects to a server , then be viewed by the app itself.
Unfortunately the server has been closed (as you can see from the comments of the app buyers) and the app does not allow to pass to the next step (cam configuration)
Since I switched to fiber I have changed the modem and therefore I have to reconfigure the rooms and to do so I absolutely have to switch to the app in question.
I only need the app for that, as I use the rtsp protocol for viewing.
The configuration is made by bluetooth, but only through the app.
I tried to connect directly to the camera with my smartphone ( appears QiwoIPC on bluetooth list) , but i don't know pairing code.
I have the same scenario with the Bosma Thinkcam, but I haven't been able to find the pairing code.

Categories

Resources