Comments (8)
I encountered the same problem on Android 11, version F-Droid.
In the file xyz.malkki.neostumbler.location.PlatformLocationSource I replaced :
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, locationIntervalMillis, 0.0f, locationListener)
with
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, locationIntervalMillis, 0.0f, locationListener, Looper.getMainLooper())
(line 40)
and it works again.
from neostumbler.
Ah, sorry you are correct. GPS was deactivated. It works if it is active. Maybe this should be checked to avoid the crash.
I've created a fix for this, #138
from neostumbler.
Would you have more details available?
Which device and Android version are you using? Are you using fdroid or full variant of the application? Does this happen every time?
Also if you have any logs, that would be very useful
from neostumbler.
Would you have more details available?
Which device and Android version are you using? Are you using fdroid or full variant of the application? Does this happen every time?
Also if you have any logs, that would be very useful
Samsung J8 Android 10
Downloaded from F-Droid
Version 1.1.3
It happened every time I pressed "Start scanning"
from neostumbler.
I have experienced the same crashing behaviour with the F-Droid Version on:
- Redmi Note 9 Pro with Android 11
- Samsung Galaxy A3 2016 (SM-A310F) with Android 11
the Full Version works fine.
Haven't had time to investigate more but will try to do so tomorrow or the day after tomorrow.
from neostumbler.
I still experience crashes when trying to start a scan or accessing the map view with the F-Droid version. This doesn't happen with the Full version.
Device: Shift6mq, Android 10
NeoStumbler version: 1.2.3
Logs for both versions:
f-droid.log
full.log
In the F-Droid log there is a permission violation error regarding location and then the App crashes.
However location and phone permission are granted
from neostumbler.
@billie80 Do you have GPS turned on? From the logs it looks like what might be happening is that GPS is turned off and that causes the crash because the callback function is not implemented
from neostumbler.
Ah, sorry you are correct. GPS was deactivated. It works if it is active.
Maybe this should be checked to avoid the crash.
from neostumbler.
Related Issues (20)
- Allow for translation using Weblate HOT 6
- Custom map layers HOT 2
- Keeping user location focused on the map view HOT 2
- Adding a submission progress bar HOT 5
- Simplify persistent notification HOT 3
- Store MCC and MNC as strings HOT 2
- Minor statistics tab UI/UX issues HOT 3
- Collect cell tower ARFCN
- Meterial You accent colors
- Troubleshooting UI HOT 1
- Application crashes on launch due to BeaconService declaration in manifest HOT 4
- Collect data from tunnels
- Empty WiFi scans HOT 6
- Privacy mode - Don't send out accurate timestamps HOT 1
- Add altitude to exported data
- Missing numbers of contributed, sent and not sent reports in Android App Ver. 1.2.3 HOT 3
- Sort reports
- Show a warning when an unencrypted endpoint is used
- Does not collect WiFi AP when connected to WiFi HOT 1
- Allow changing how often data is recorded HOT 4
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 neostumbler.