Comments (5)
Yes - I just hit the same problem. I fixed it by sending the COMMA_SEPARATED_EMAIL_ADDRESSES string with the intent rather than trying to access it in the UCEHandler class, as this was giving null for some reason. My slightly customised version of your code with the fix in it is here if you want to see what I did to it: https://github.com/OpenSeizureDetector/Android_Pebble_SD/tree/V2.6/app/src/main/java/com/rohitss/uceh
from uce-handler.
One other thing, even once you have fixed the COMMA_SEPARATED_EMAIL_ADDRESSES issue, you get another exception to do with file URI permissions on Android 8.
I just commented out that bit of code because I at least get the stack trace without it.
https://github.com/OpenSeizureDetector/Android_Pebble_SD/blob/b217259ca5b07a60a3fef866e0f07d4bcbf60cee/app/src/main/java/com/rohitss/uceh/UCEDefaultActivity.java#L171
It looks like the official solution is to make some sort of ContentProvider to give the other activity access to this activity's files, but I haven't implemented that.
from uce-handler.
Thank you @jones139 for adding your working solution. As I am a bit busy with something else I could not check this issue. Once I do that I would also check if your suggestion is good or there are better solutions.
If you think your solution would work for all others, you can always contribute by creating a pull request.
from uce-handler.
Fixed with a new release. Please update your library to the latest.
from uce-handler.
@RohitSurwase thanks
from uce-handler.
Related Issues (8)
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 uce-handler.