Squashing Bugs in the Android App

We made some pretty major changes under the hood in Android 1.5.7.5, which resulted in a few more bugs than usual. This week we have released 2 minor updates to fix some of the most reported bugs.

The app was crashing when:

1)  trying to load responders’ info into the map view,

2) opening the alert report, backgrounding the app, and then reopening the app in quick succession,

3) the background location update restarted after other apps used up all the resources on the device.

These crashes have been fixed, as well as, the permissions bug. We also received feedback about wanting the responders view sorting feature to stay sorted across all alerts. We have made that improvement with the latest version. You can find the update in the Play Store on your Android device.

Thank you for all your feedback and stay safe!

Webview Update

For some time now, a bug has been reported on Webview where it will not automatically reconnect without refreshing the page. It has been very difficult to figure out where the problem lies, whether it’s the devices internet connection or a problem with webview connecting to our servers. Being unable to successfully reproduce the issues on our machines, we needed to take a shotgun approach to at least narrow down the problem. Today we rolled some changes that will detect when webview cannot stay successfully reconnected and automatically reload the page for you. We believe this should fix the problem for most of our webview devices that disconnect sporadically, but have a relatively stable connection. For webview devices with an erratic and unstable connection, a warning will populate after reloading 20 times in a 48 hour period, indicating that webview’s has lost its internet connection at least 20 times in the past 2 days. If you see this warning, please follow the instructions shown on the error and, if you require additional assistance diagnosing internet connectivity, contact us at support@active911.com.

Backend Update – Bugfix: The app taking a long time to load recent alerts

We made a change to the access server this week that will help people who have multiple agencies with the same device code. There was a bug that could introduce long load times for alerts when you opened the app after a certain period of time.

Basically, whenever our app is opened it calls our access server for all of the unread alerts for that device, then attempts to download the alerts that have been sent while the app was closed. When devices did this, they did it for all the agencies they had ever been a part of. If you were part of a department a year ago, we were still trying to get all the messages sent to that department since you had left. Depending on how busy that department was, it could add anything from seconds to minutes to the message downloading process.

To fix this issue, the initial call for what alerts your device needs to download longer try to get ones that belong to agencies you are no longer a part of. We still keep those alerts in the database, so if you accidentally remove yourself from an agency and then add yourself back, your device will be able to fetch those unread alerts.

It took us a long time to recognize the problem, but we fixed it as soon as we figured it out. For everyone impacted by this bug, we thank you for your patience and apologize for not finding it sooner.

Android Version 1.5.7.5

Features

Background Location

This main feature for this release is the Background Location reporting feature.

It works in much the same way as the iOS feature,  but a key difference is that Android has no indication when apps are using background GPS.

To turn the setting on, go to your setting in the app, and select the “Background GPS Mode” setting.  This will show you the 3 options for the Background GPS.

Screenshot_20170704-160537  Screenshot_20170704-154304

The top option, “High Accuracy”, will update the location of the device in the background at the same frequency it would while the app is opened.  This will likely increase battery usage by a fair amount, but will give the most accurate position and update the most frequently.

The middle option, “Battery Saving”, will use update the location of the device  at most once per 5 seconds. This will use less battery, but also update less frequently.

The bottom option is “Off”, which is selected by default, means the app will not report your position after you have backgrounded it.

Important Notes:

This new setting only applies when Active911 is in the background, it has no effect on the position reporting when the App is open, the Foreground GPS setting still controls that.

If you reboot your device, the Active911 app must be opened at least once before Background GPS will start working again.

Also, if you are ever stationary for more than a few minutes, the app will stop reporting your position until you start moving again. Therefore, you may disappear from the map, but then reappear when you start moving again.

 

Drag and Drop Map Markers

Long-pressing on a Map Marker will now allow you to drag the marker to a new location on the map.

Screenshot_20170704-154556

You can drag multiple markers, and then press “Save” to save the location of all the markers.

Important Notes:

If you drag multiple markers and press “Edit”, the edit screen will still be for the first marker you started dragging.  The same holds true for the “Delete” button.

This Drag and Drop control, as well as editing map markers, is being redesigned in an upcoming Android release to make it easier to use.

Sorting Responders View

In the responders view for an alert, you can now tap the button at the top of the view to toggle between sorting by the device name and sorting by the response type.

Screenshot_20170704-154354

Location Following

The last change made to the Android app is the way our “Follow My Location” feature works on the map.

Screenshot_20170704-161821

Previously, whenever you long-pressed on the “My Location” button on the map, it would pan and zoom to your location at a default zoom level, then pan to keep you location centered on the map.

This caused some frustration for users who wanted to be zoomed in to a specific level while having it follow them.

We’ve now changed it so that, upon entering “Follow My Location” mode, the map only pans to your location without zooming.

We know that some people do like the zooming functionality of the button, so we have left single-tapping on the “My Location” button the same.

To zoom to your location and have it follow you, you just need to single tap on the “My Location” button, wait a second for it to zoom to you, and then long-press on the button.