-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting/Stopping Data Collection from Smartphone #10
Comments
Hi @Mustafa-raja, as stated in the second paragraph of the README:
Basically, starting/stopping the data collection from the smartphone is possible when the smartphone application uses the nativescript-wearos-sensors NativeScript plugin. The main drawback is that the smartphone application has to be developed using NativeScript (a multiplatform development framework) and not native technologies (why? to integrate this feature into another set of features that we already developed in NativeScript). Therefore, to use this library and control the data collection from the smartphone, there are two options:
Let me know if you need more information or further assistance. |
Thank you for the reply, I used Google's data layer API to establish communication. It would be good to have the communication feature added for Android using java/kotlin |
I know it would be nice to have a smartphone native library. However, right now I'm busy with other things and can't commit to develop it. I might do it in the future, but can't promise anything or give an ETA. Sorry 😞. |
would you mind if i fork your code and build those features on it ? |
Of course you can! But bear in mind that you will have to build those features in a specific library for the smartphone. I mean, WearOSSensors is meant for smartwatches, thus you should create another library/app for smartphones. |
The library documentation states:
While this suggests that the library supports starting and stopping data collection from the smartphone, it does not provide any details or examples on how to trigger these actions.
Request:
Could you please provide additional documentation or examples on how to:
Detailed instructions or code snippets demonstrating these functionalities would be greatly appreciated.
Additional Context:
This information is crucial for integrating the library into applications where control of data collection needs to be managed from a smartphone rather than the Wear OS device.
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: