fabianfetting / heartbeat-monitor Goto Github PK
View Code? Open in Web Editor NEWQuick and dirty demo showing the heart rate on Android and Android Wear. Using React Native on the handheld device and Android Wear on the watch.
Quick and dirty demo showing the heart rate on Android and Android Wear. Using React Native on the handheld device and Android Wear on the watch.
06-18 14:59:31.902 13882-13882/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: de.fabianfetting.heartbeatmonitor, PID: 13882
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.fabianfetting.heartbeatmonitor/de.fabianfetting.heartbeatmonitor.MainActivity}: java.lang.IllegalStateException: Could not find wearable shared library classes. Please add to the application manifest
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.IllegalStateException: Could not find wearable shared library classes. Please add to the application manifest
at android.support.wearable.activity.WearableActivity.initAmbientSupport(WearableActivity.java:166)
at android.support.wearable.activity.WearableActivity.onCreate(WearableActivity.java:66)
at de.fabianfetting.heartbeatmonitor.MainActivity.onCreate(MainActivity.java:38)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Hi!
I'm trying to make an android app that reads the heartrate from my Moto 360 smart watch, and sends data of this, to the app in the mobile and to a database.
However, in the MainActivity for the wear, it fails at the NodeApi and BoxInsetLayout:
It says that com.google.android.gms.wearable.NodeApi and andorid.support.wearable.view.BoxInsetLayout are deprecated. Does this mean I cannot use these methods at all, or is there a way to get around it?
Thanks!
Do you have some repository when the heart rate working up on the latest version react native ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.