[APP] Heatmap - new app straight from the Galaxy S5 Active - Galaxy S 5 Themes and Apps

The application area of activity, which has some useful features. You could say that this is the kind of addition to application S Health, aimed at those with active lifestyles.
Download the program Heatmap

Looks good but needs a huge amount of permissions. Normally I'm not interested in permissions but that was 2 pages full of permission requests incl. SMS, Phonebook, etc. Why should this app need this? Anybody knows why? Don't installed it.

Thanks for the app, it looks nice and useful
Sent from my SM-G900F using Tapatalk

mmeidl78 said:
Looks good but needs a huge amount of permissions. Normally I'm not interested in permissions but that was 2 pages full of permission requests incl. SMS, Phonebook, etc. Why should this app need this? Anybody knows why? Don't installed it.
Click to expand...
Click to collapse
not in the store either, spyware? TOO RISKY

The reason for the permissions is because the app acts under the System User ID, therefore can access any permission the system process has access to (ie all of them).
Here is the permissions part of the Android_Manifest file - note the android:sharedUserId field:
Code:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" package="com.sec.activemode">
<permission android:name="com.sec.activemode.compass.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<uses-permission android:name="com.sec.activemode.compass.permission.MAPS_RECEIVE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" android:protectionLevel="dangerous"/>
<permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" android:protectionLevel="dangerous"/>
I will further reverse engineer this tomorrow to see if I can determine if it uses any dangerous permissions and if it really needs to operate under the system user. As a general rule of thumb I would never trust an app that operates under the system user unless I had full access to the source code - I run one of my own apps under the system user because the class it accesses isn't visible to a standard user id (acts as a shortcut to the KitKat Easter Egg on HTC phones because HTC always disable the easter eggs) but then again, I have the source code and I built it so I know its not dangerous, with this though I can't be sure

Firstly thanks for the effort. I tried it and works with out any issues....

Jonny said:
The reason for the permissions is because the app acts under the System User ID, therefore can access any permission the system process has access to (ie all of them).
I will further reverse engineer this tomorrow to see if I can determine if it uses any dangerous permissions and if it really needs to operate under the system user. As a general rule of thumb I would never trust an app that operates under the system user unless I had full access to the source code - I run one of my own apps under the system user because the class it accesses isn't visible to a standard user id (acts as a shortcut to the KitKat Easter Egg on HTC phones because HTC always disable the easter eggs) but then again, I have the source code and I built it so I know its not dangerous, with this though I can't be sure
Click to expand...
Click to collapse
This app is from S5 Active ROM. This is pretty normal for system app. As a part of Samsung ecosystem it shares data between different Samsung apps.
By the way, this app uses shared user ID and protected by common signature from Samsung. If you tamper this apk, then it won't be able to install on stock ROM (unless you use core patch to eliminate signature verification). Thus, IMHO, there is no reason to pay so much attention to permissions required by this app.

Please can someone put a direct XDA download link?

Does not work with a Nexus 5

sorg said:
This app is from S5 Active ROM. This is pretty normal for system app. As a part of Samsung ecosystem it shares data between different Samsung apps.
By the way, this app uses shared user ID and protected by common signature from Samsung. If you tamper this apk, then it won't be able to install on stock ROM (unless you use core patch to eliminate signature verification). Thus, IMHO, there is no reason to pay so much attention to permissions required by this app.
Click to expand...
Click to collapse
Thanks, must have been half asleep when originally investigating that, not sure how I missed it Also if its a system app it should be pushed to system/app/ or system/priv-app/ (not sure which it is on Samsung phones seeing as I don't own one but my guess would be system/priv-app/) instead of being installed.

Related

[FIX] EC09 Stock -- Multitouch Rotate Gesture fix

First off I am a total noob at this stuff but I did manage to fix the problem with multitouch rotate not working on EC09.
You will need root and something like root explorer to edit this file:
/system/etc/permissions/android.hardware.touchscreen.multitouch.distinct
what we need the file to say is this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This is the standard set of features for a touchscreen that supports
independently-trackable multiple-finger multitouch. -->
<permissions>
<feature name="android.hardware.touchscreen" />
<feature name="android.hardware.touchscreen.multitouch" />
[b]<feature name="android.hardware.touchscreen.multitouch.distinct" />[/b]
</permissions>
The important part here is adding the last line
Code:
<feature name="android.hardware.touchscreen.multitouch.distinct" />
Save the file, reboot and presto, working multitouch rotate gestures.
Hope this works for people that are early adopters.
Am I missing something here..?
[Neuman]
SCH-I500 - Nameless V4
Any chance for a file that can be ran from CWR to replace the file?
Sent from my SCH-I500 using XDA App
Neuman.Tim said:
Am I missing something here..?
[Neuman]
SCH-I500 - Nameless V4
Click to expand...
Click to collapse
I think what he means is you need to add the line
Code:
<feature name="android.hardware.touchscreen.multitouch.distinct" />
to /system/etc/permissions/android.hardware.touchscreen.multitouch.xml
Then I have to be missing something because I can't see anything in his post to add to the file..literally..its a couple big blank spots lol
[Neuman]
SCH-I500 - EC09(GB)/Nameless V4/Launcher Pro Plus
Neuman.Tim said:
Then I have to be missing something because I can't see anything in his post to add to the file..literally..its a couple big blank spots lol
[Neuman]
SCH-I500 - EC09(GB)/Nameless V4/Launcher Pro Plus
Click to expand...
Click to collapse
Use a different browser?
Using xda premium Lol. I figured something was up but didn't use the browser to double check..not too worried about it
[Neuman]
SCH-I500 - EC09(GB)/Nameless V4/Launcher Pro Plus
scarfman4 said:
Any chance for a file that can be ran from CWR to replace the file?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
If I was better with flashable zips, I would make one. You can try the one here: http://forum.xda-developers.com/attachment.php?attachmentid=557751&d=1301649065 but I am not sure if it will work on the Fascinate. It is for the Galaxy S.
If you do try it, post back with results.
Here is a stupid question, what exactly is "Multitouch Rotate Gesture"? If I had to take a guess, I would think it is for picture rotating or something.
I believe it is the gesture wherein a program such a google maps, you can use two fingers to rotate the map itself any which way while your phone is in the same orientation

Question on <permission>-Tags

Hi all,
i got some questions to the permissions.
When i go to AndroidManifest.xml i see all permissions for the app. Am i right that the app can´t get other permissions than these listed here by the vm/kernel?
When i want to give a app not the permission to write my gmail-account, have i to delete the tag:
<uses-permission android:name="com.google.android.gm.permission.WRITE_GMAIL" />
and thats all?
Yay that all but removing permissions from app causes them to malfunction ... so be careful
Thank you for answer. I think some functions gave me malfunctions of the app. But if for example networking is blocked by deleting in a game, there isn´t a malfunction or? Only the adds are hidden, am i right?
I read about resign the repacket apps, mean u this with malfunction if they are not signed?
I think this "function" is very intressting for those who hate the spyfunctions of some apps/apks. Are there more infos or tutorials on how to do this the "clean way"? I think you have in complex apps to change some more things to get the apps running well, like changing some other sources too...
Yes, removing permission for network connection should be ok unless require net for other task like verifying license or online playing.
Unsigned apk are likely to give errors. So, it is better to sign it again after you make changes to an applications code. Google apksigner for more details on that and to find a download link...
Sent from my GT-S5570 using XDA Premium App

NFC enable AT&T

I don't think anyone else has posted this yet, but I just wanted to share how I enabled NFC on the AT&T Galaxy Note. First, the phone must be rooted to gain RW access to /system. Then I took the file android.hardware.nfc.xml from SAUROM in the /system/etc/permissions folder and copied it to my AT&T Note. I guess if you wanted to, you could just copy the information below into a text file and save as android.hardware.nfc.xml and copy to your device in the /system/etc/permissions folder.
______________________________________________________________
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at the Apache website.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This is the standard feature indicating that the device can communicate
using Near-Field Communications (NFC). -->
<permissions>
<feature name="android.hardware.nfc" />
</permissions>
__________________________________________________________________
Could you just post (attach) the xml file here please?
gmi109 said:
I don't think anyone else has posted this yet, but I just wanted to share how I enabled NFC on the AT&T Galaxy Note. First, the phone must be rooted to gain RW access to /system. Then I took the file android.hardware.nfc.xml from SAUROM in the /system/etc/permissions folder and copied it to my AT&T Note. I guess if you wanted to, you could just copy the information below into a text file and save as android.hardware.nfc.xml and copy to your device in the /system/etc/permissions folder.
______________________________________________________________
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at the Apache website.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This is the standard feature indicating that the device can communicate
using Near-Field Communications (NFC). -->
<permissions>
<feature name="android.hardware.nfc" />
</permissions>
__________________________________________________________________
Click to expand...
Click to collapse
have you tested it after enabling it to make sure is working?
https://github.com/android/platform_frameworks_base/blob/master/data/etc/android.hardware.nfc.xml
I too am curious as too if this is working
Are there any LIB fies needed? Does Google Wallet work?
Sent from my SAMSUNG-SGH-I717 using xda premium
that's another thing and I'm sorry for sounding clueless about nfc since it wasn't even a selling point for me when I got my note, what things can we do or apps we can use with nfc enabled?
roloracer said:
have you tested it after enabling it to make sure is working?
Click to expand...
Click to collapse
Unfortunately I do not have any NFC tags to test this on, so no, I haven't tested it. I just know that before I did this applications would complain about not having NFC hardware, and after, they didn't. Also the toggle now shows up in Settings.
Copied text saved as XML file and used file explorer to put in permissions. When opening a nfc tag apps I get the error "no nfc adapter found". Can you share which app you are using?
acardinale said:
Are there any LIB fies needed? Does Google Wallet work?
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
I'm not sure to be quite honest. Before finding this permission file, I replaced the three lib files dealing with nfc (I got the lib files from Saurom). I also replaced Nfc.apk in /system/app and also got Tags.apk both from Saurom as well. However, I thought that it was just the permission file that was needed to get things working. Also, Google Wallet does not appear to be working. It complains about not having a supported device. I also tried the fix for the non-Sprint Nexus S phones but then it complained about some security key not being present.
profclean2000 said:
Copied text saved as XML file and used file explorer to put in permissions. When opening a nfc tag apps I get the error "no nfc adapter found". Can you share which app you are using?
Click to expand...
Click to collapse
You might need to go into settings -> Wireless and Network and enable NFC. Also did you reboot after copying the permissions file?
gmi109 said:
You might need to go into settings -> Wireless and Network and enable NFC. Also did you reboot after copying the permissions file?
Click to expand...
Click to collapse
AWESOME!!!!! I needed to enable through settings. Thanks a million!
profclean2000 said:
AWESOME!!!!! I needed to enable through settings. Thanks a million!
Click to expand...
Click to collapse
Hey can u confirm it works with Google Wallet?
locust43 said:
Hey can u confirm it works with Google Wallet?
Click to expand...
Click to collapse
"SORRY THIS HARDWARE IS NOT YET SUPPORTED" Is the message I get. Is their an alternate APK other than in the market?
profclean2000 said:
"SORRY THIS HARDWARE IS NOT YET SUPPORTED" Is the message I get. Is their an alternate APK other than in the market?
Click to expand...
Click to collapse
I couldn't get around it. Someone could probably spoof the hardware ids for whatever Google Wallet is reading.
The reason for this is because AT&T, T-Mobile, and Verizon are trying to do their own thing to keep Google Wallet out of the states, they're calling it ISIS. See here: http://www.paywithisis.com
Electronic transactions is still a big money maker in the U.S., and they don't want Google to muscle them out of it. And I'm sure the banks, reserve, and IRS prefer ISIS as well.
I'm surprised Google didn't just give AT&T the finger when asked to prevent their subsidized phones from being used with Google Wallet. But I'm pretty sure Samsung had to play referee and comply with the cell carriers requests to lock down Google Wallet.
acardinale said:
Are there any LIB fies needed? Does Google Wallet work?
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Google wallet will only work on the Nexus S and Galaxy Nexus. As far as I know, no one has managed to make it work on any other devices.
Flustered said:
I couldn't get around it. Someone could probably spoof the hardware ids for whatever Google Wallet is reading.
The reason for this is because AT&T, T-Mobile, and Verizon are trying to do their own thing to keep Google Wallet out of the states, they're calling it ISIS. See here: http://www.paywithisis.com
Electronic transactions is still a big money maker in the U.S., and they don't want Google to muscle them out of it. And I'm sure the banks, reserve, and IRS prefer ISIS as well.
I'm surprised Google didn't just give AT&T the finger when asked to prevent their subsidized phones from being used with Google Wallet. But I'm pretty sure Samsung had to play referee and comply with the cell carriers requests to lock down Google Wallet.
Click to expand...
Click to collapse
Great information!
Will this still support homebrewed NFC tags, even if it doesn't do Google Wallet?
dastars said:
Will this still support homebrewed NFC tags, even if it doesn't do Google Wallet?
Click to expand...
Click to collapse
It should, and as soon as the NFC tags I ordered come in I'll post.
Interesting is that after I turned on NFC with this, I went to market.android.com on my computer and when I searched for Google wallet, it said it was compatible with some of my devices. I clicked and it said my nexus s and my note. I sent the download to my note but it says its not compatible like the other people are mentioning in this thread.
Can someone who doesn't have this done yet check and see if it says your device is compatible and let us know?
Sent from my SAMSUNG-SGH-I717 using XDA App

Easiest way to check if apps are spying?

A thread about the browser "Dolphin"'s security issues brought me to the question if there is an easy way to determine weather apps are sending critical or sensitive data somewhere?
Or what possibilities there are at all to determine it.
I plan to replace my laptop with my tablet and this means I would want to do critical things as online banking with the tablet.
And unfortunately there is no app by the bank to do it.
I'd like to know that too
retsam88 said:
I'd like to know that too
Click to expand...
Click to collapse
me too
A thread about the browser "Dolphin"'s security issues brought me to the question if there is an easy way to determine weather apps are sending critical or sensitive data somewhere?<br />
<br />
Or what possibilities there are at all to determine it.<br />
I plan to replace my laptop with my tablet and this means I would want to do critical things as online banking with the tablet.<br />
And unfortunately there is no app by the bank to do it.
Click to expand...
Click to collapse
Detection by own:
1. De-compile the app with apktool and analyse its source code. You should de-compile even if the app is open source.
2. Use WireShark to analyse whole traffic.
Causions:
1. Use Permission Fix app to remove suspicious permission of app.
2. Use only popular apps. Popular apps are monitored by community and security companies. So, you'd never need to do detection by your own. Just, make sure you've subscribed to security mailing lists.
3. Use a nice Anti-virus. It can notify you about privacy risk, too.
4. Install only trusted apps. Many companies provide Trust seal for apps. For example, TrustGo Anti-virus and Amazon App Store.

PACEfied Amazfit: APK development

Hello,
I trying to develop an application for Amazfit (Pacefied).
I am using latest Android Studio, with SDK Android 5.0 Lollipop 21 rev 2 (version seen in an other post).
I just create a empty application with an empty activity, for Phone (not Wear because I heard that Wear app need some libs that are not present in watch...)
I compile it and generate an apk (for x86 platform ?!?).
I install with adb into the watch
It appears in the last screen (right) with lots of apps.
But when I click on it, nothing happens !
Do you have an idea/tip or a link for an existing project or how-to ?
Thanks, a+
Vicnet
you need to compile it for MIPS
Here's a jumpstart: https://github.com/manuel-alvarez-alvarez/malvarez-watchface
I successfuly compile and test on Amazfit a "Heelo world" app.
As I said before I use Android Studio to generate an app for android 21 (I try 23 but apk don't install).
I don't use compat module.
The main pb was the app style, based on simple ActionToolbar in the first version, that not working (app dont launch).
I change in style.xml the parent style to NoActionBar and then all is OK !
<style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar">
a+
Vicnet
vicnet31 said:
I successfuly compile and test on Amazfit a "Heelo world" app.
As I said before I use Android Studio to generate an app for android 21 (I try 23 but apk don't install).
I don't use compat module.
The main pb was the app style, based on simple ActionToolbar in the first version, that not working (app dont launch).
I change in style.xml the parent style to NoActionBar and then all is OK !
<style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar">
a+
Vicnet
Click to expand...
Click to collapse
Great! are you able to make any network calls via wifi in the sample application?
I don't have the phone yet, but I'm planning to do some dev when I do get my hands on it.
le_lutin said:
Great! are you able to make any network calls via wifi in the sample application?
I don't have the phone yet, but I'm planning to do some dev when I do get my hands on it.
Click to expand...
Click to collapse
No, just show "Hello World" !
Nothing else, yet.
I intend to develop a stretching coach, but I have no need to access network yet.
a+
Vicnet
Hi, i need help guys, i need a smartwatch for handle heart rate for an Android App for my TFG.
Someone Know if i can get heart rate monitor data from Amazfit to another app develop by me?
It's my first time on Android app building, and i need some help
Thx
jorge_zk8 said:
Hi, i need help guys, i need a smartwatch for handle heart rate for an Android App for my TFG.
Someone Know if i can get heart rate monitor data from Amazfit to another app develop by me?
It's my first time on Android app building, and i need some help
Thx
Click to expand...
Click to collapse
I'm not an expert in Android development, but I don't think you can get anything out of Pace sensors. If you find a way, please post it here. I'm also interested in Amazfit Pace development.
Poslano sa mog Redmi 3 koristeći Tapatalk
slackovic said:
I'm not an expert in Android development, but I don't think you can get anything out of Pace sensors. If you find a way, please post it here. I'm also interested in Amazfit Pace development.
Poslano sa mog Redmi 3 koristeći Tapatalk
Click to expand...
Click to collapse
Huami/Xiaomi has web API available that you can make use of to create your own apps using the data available in their cloud. You need to be registered with them as a developer. There is a GitHub page that gives the details and web API description and all the information that is available via web API.
Google huami web API. You can find the GitHub page.
madtech360 said:
Huami/Xiaomi has webservices available that you can make use of to create your own apps using the data available in their cloud. You need to be registered with them as a developer. There is a GitHub page that gives the details and webservices description and all the information that is available via webservices.
Click to expand...
Click to collapse
Thanks! That's a usefull information. I'll trade to see what I can do
Poslano sa mog Redmi 3 koristeći Tapatalk
Anyone know if we can replace some of the system apps?
My idea is to modify the default music player so that it shuffles the music instead of playing it sequentially, but I guess it might need to be a system app (or at least have some specific permissions) in order to be available whilst running.
le_lutin said:
Anyone know if we can replace some of the system apps?
My idea is to modify the default music player so that it shuffles the music instead of playing it sequentially, but I guess it might need to be a system app (or at least have some specific permissions) in order to be available whilst running.
Click to expand...
Click to collapse
The default media player app is watch.huami.com.mediaplayer installed in the system/app folder. Given that we have root access on Pacefied, it should be possible to modify the system app. Also, the fact that we are able to make translations and install them implies changes to these app are possible.
BTW, the Media player app uses the following permissions:
Code:
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
You can check to see if any of these are system only permissions and create your own app. I don't suppose you will need more than these permissions. Infact, you may need less permissions if you create your on music player app without wifi streaming
madtech360 said:
The default media player app is watch.huami.com.mediaplayer installed in the system/app folder. Given that we have root access on Pacefied, it should be possible to modify the system app. Also, the fact that we are able to make translations and install them implies changes to these app are possible.
BTW, the Media player app uses the following permissions:
Code:
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
You can check to see if any of these are system only permissions and create your own app. I don't suppose you will need more than these permissions. Infact, you may need less permissions if you create your on music player app without wifi streaming
Click to expand...
Click to collapse
Thanks!
Hi!
I'm waiting for my new Amazfit And I wondering develops few small apps, it is possible to have network access from the watch? I just want to make a simple HTTP GET request.
Thanks!
jesuslg123 said:
Hi!
I'm waiting for my new Amazfit And I wondering develops few small apps, it is possible to have network access from the watch? I just want to make a simple HTTP GET request.
Thanks!
Click to expand...
Click to collapse
Hi, any news about using Wi-Fi connection in custom app?
I've just received that watch, I'm starting some development in next days. I will post here my experience
Krumok said:
Hi, any news about using Wi-Fi connection in custom app?
I've just received that watch, I'm starting some development in next days. I will post here my experience
Click to expand...
Click to collapse
I have been playing around and here is my summary:
Pair with Android:
http request works with the app in foreground or background
http request does NOT works with the app killed
Pair with iOS:
http request does NOT works with the app in foreground or background
http request does NOT works with the app killed
I'm trying to figerout what is wrong with iOS ... As far I see, watch is using Amazfit App as proxy to convert bluetooth request into real work network.
I hope this help.
jesuslg123 said:
I have been playing around and here is my summary:
Pair with Android:
http request works with the app in foreground or background
http request does NOT works with the app killed
Pair with iOS:
http request does NOT works with the app in foreground or background
http request does NOT works with the app killed
I'm trying to figerout what is wrong with iOS ... As far I see, watch is using Amazfit App as proxy to convert bluetooth request into real work network.
I hope this help.
Click to expand...
Click to collapse
That's weird - I thought that the watch would make a direct request to the network without needing to be even within range of the phone.
Do you have any sample code by the way? I was hoping to get started on some development for an app which downloads podcasts.
le_lutin said:
That's weird - I thought that the watch would make a direct request to the network without needing to be even within range of the phone.
Do you have any sample code by the way? I was hoping to get started on some development for an app which downloads podcasts.
Click to expand...
Click to collapse
Yeah, I thouht the same, I may wrong but I spent some time testing it and this is what I found....
Sorry I can't share the code, I have been using an app that use network, not just a sample. I'm iOS developer not Android, so I'm going slowly on Android code If you manage to get some sample minimalist app please share it
Ok, after some tests, I post my experience (only Android at this moment):
I have created a simple app that enable WiFi and then call a page with http.
As mentioned by @jesuslg123 only with watch no connection, the http call end with error.
If the phone is connected with companion smartphone app, works like a charm!
I've experienced a strange behavior:
If first I pair the watch and then start my app, as said before http works, now if I unpair the watch and disconnect smartphone from WiFi, my app on watch still works and is able to perform http request!!!
It seems that something is configured during pairing and it remains until the app on watch is in foreground.
I think the watch is unable to resolve url or something like that without companion app.
In the next days I will do some more tests.
I can share my code if you want, I'm not using pure java, I'm coding with b4a (Android) and b4i (ios).
Tell me if someone is interested
Krumok said:
Ok, after some tests, I post my experience (only Android at this moment):
I have created a simple app that enable WiFi and then call a page with http.
As mentioned by @jesuslg123 only with watch no connection, the http call end with error.
If the phone is connected with companion smartphone app, works like a charm!
I've experienced a strange behavior:
If first I pair the watch and then start my app, as said before http works, now if I unpair the watch and disconnect smartphone from WiFi, my app on watch still works and is able to perform http request!!!
It seems that something is configured during pairing and it remains until the app on watch is in foreground.
I think the watch is unable to resolve url or something like that without companion app.
In the next days I will do some more tests.
I can share my code if you want, I'm not using pure java, I'm coding with b4a (Android) and b4i (ios).
Tell me if someone is interested
Click to expand...
Click to collapse
Even if I unpair my watch, my watch is still getting notifications, I think is only truly un pair, when watch is restored... When phone was disconnected from wifi, 3G/Netowork was enabled?
I would like to test your app on iOS if you are happy to share the code or the APK, compiled may be easier
Thanks!

Categories

Resources