Comments (2)
If you kill your app, you've lost its entire state so of course you will get errors when trying to resume the app.
Either save the object state before closing the app or use anonymous routes. These are described in the documentation under Serialization and Anonymous Routes.
https://mbientlab.com/androiddocs/latest/advanced_features.html
from metawear-sdk-android.
Thank for your answer,
Just to specify my question, what I'm trying to do is getting the logs from the sensor through a background Service (a JobScheduler technically).
I thought that AnonymousRoutes was made only to manipulate sensors across multiple devices, I didn't notice that I can use them in my case. I'm gonna use serialization in last resort.
Thank for your assistance
from metawear-sdk-android.
Related Issues (20)
- serialize() fails with java.io.NotSerializableException: com.mbientlab.metawear.impl.JseMetaWearBoard$4 HOT 4
- Include the .jar in the release HOT 1
- java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Queue.poll()' on a null object reference HOT 2
- Connection via MAC address does not seem to work HOT 2
- Build Issue with SDK Version 3.4.0 HOT 1
- TUTORIAL PROBLEM Cannot Resolve symbol ´seviceBinder´ HOT 1
- RouteComponent conditional streaming HOT 1
- Project import into eclipse fails HOT 4
- ERROR: Failed to resolve: com.mbientlab:metawear:3.8.2 HOT 2
- Unexpected Disconnects not working in Android 12
- Unclear documentation regarding Logging
- How to use the AccelerometerBmi270's step counter and activity monitor? HOT 1
- MetaWearBLEService compilation unit incorrect HOT 1
- gradle support HOT 2
- When trying to connect I'm getting java.lang.NoSuchMethodException: <init> [class com.mbientlab.metawear.impl.DefaultMetaWearBoard, byte, byte], can you guys help? Stacktrace and code sample is below HOT 9
- java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.close()' HOT 1
- Multiple steps are taken when configuring StepsDetection and AxisSampling HOT 3
- App crash
- Attempt to read from field 'com.mbientlab.metawear.impl.ResponseHeader com.mbientlab.metawear.impl.Response.header' on a null object reference HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metawear-sdk-android.