DP-3T / dp3t-app-android-demo

The DP3T-App for Android
Mozilla Public License 2.0
323 stars 79 forks source link

App crashes when illness report number is entered #47

Open novakboskov opened 4 years ago

novakboskov commented 4 years ago

I'm just trying to see how this all works on a very high level.

There are two Android phones. Both run MIUI 11 (Android 7.0 NRD90M). The application is installed from App Center.

Bluetooth obviously works on both phones. They sit next to each other. The idea is to report illness on one device and to get the event detected on the other.

However, when I tap the REPORT ILLNESS button, the application crashes. The same crash happens on both devices.

Am I not supposed to enter any illness numbers in this exemplary app? If so, how do I illustrate the basic functionality?

xtien commented 4 years ago

That's because the app uses a "backend url" that is not specified.

novakboskov commented 4 years ago

Thanks @xtien.

Do you know of some other app that uses dp3t Android SDK that I could try out instead?

Or am I expected to recompile the app myself to make it use demo.dpppt.org (if that is where the demo backend lies)?

xtien commented 4 years ago

That is the lease you should do. I recommend changing the code before you run it, to make the server api more configurable. As far as i know, it is in the manifest file now. I would put it in a resource file.

I don't know of another dp3t app, sorry. And I wouldn't mind helping out here, but I don't have access to this d3pt app.