microg / microg/IchnaeaNlpBackend

Not compatible with Android 4.1 and below?

Open
#12 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
124
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Though the F-Droid repo points out this backend should work on Android 2.3.3+, and according to the map my area is covered with a bunch of WiFi APs in the Mozilla database, I couldn't get it to work on my 4.1 device: it returns no location. A closer look with logcat (see [this pastebin](http://pastebin.com/6c0TzmeF)) suggests something here requires at least Android 4.2. Excerpt:

```
W/NlpLocationBackendHelper( 8976): java.lang.IllegalStateException: Requires Android 4.2+
[…]
Unbinding from: Intent { act=org.microg.nlp.LOCATION_BACKEND pkg=org.microg.nlp.backend.ichnaea cmp=org.microg.nlp.backend.ichnaea/.BackendService }
```

I had tried two other backends before (OpenBmap and Apple) which didn't work either (my area seems not to be covered in their databases), but this error only showed up when I added Ichnaea.

Any clues?

Note: The device is a tablet running Android 4.1.2. There are no newer Android versions available for it (neither stock nor custom ROMs), so I can't do anything from that end. And it has no GSM nor GPS, so my only choices are location services based on WiFi, so I'm currently stuck with these 3 of which none seems to work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure on the Android 4.1.2 tablet and reviewing the logcat excerpt and linked pastebin for the Android 4.2 requirement. Trace the Ichnaea backend behavior associated with that exception; done means determining whether WiFi location can work on Android 4.1 or documenting the confirmed incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
backend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.