wistudent / freifunkautoconnectapp Goto Github PK
View Code? Open in Web Editor NEWAn Android app that can show you the nearest Freifunk nodes and add multiple Freifunk SSIDs to your device at once.
License: GNU General Public License v3.0
An Android app that can show you the nearest Freifunk nodes and add multiple Freifunk SSIDs to your device at once.
License: GNU General Public License v3.0
thx :-)
See https://code.google.com/p/android/issues/detail?id=187347
The app should notify the user if it can't remove a network because it was not added by the app.
When enabling Freifunk AutoConnect to start at boot on my Android 9 smartphone, it crashes at every reboot.
--------- beginning of crash
5465 E AndroidRuntime: FATAL EXCEPTION: main
5465 E AndroidRuntime: Process: com.example.tobiastrumm.freifunkautoconnect, PID: 5465
5465 E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver com.example.tobiastrumm.freifunkautoconnect.BootCompletedReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example.tobiastrumm.freifunkautoconnect/.NotificationService (has extras) }: app is in background uid UidRecord{52b1103 u0a210 RCVR idle change:uncached procs:1 seq(0,0,0)}
5465 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3415)
5465 E AndroidRuntime: at android.app.ActivityThread.access$1200(ActivityThread.java:202)
5465 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
5465 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
5465 E AndroidRuntime: at android.os.Looper.loop(Looper.java:198)
5465 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6729)
5465 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
5465 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
5465 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
5465 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example.tobiastrumm.freifunkautoconnect/.NotificationService (has extras) }: app is in background uid UidRecord{52b1103 u0a210 RCVR idle change:uncached procs:1 seq(0,0,0)}
5465 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1589)
5465 E AndroidRuntime: at android.app.ContextImpl.startService(ContextImpl.java:1544)
5465 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:664)
5465 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:664)
5465 E AndroidRuntime: at android.support.v4.content.WakefulBroadcastReceiver.startWakefulService(WakefulBroadcastReceiver.java:99)
5465 E AndroidRuntime: at com.example.tobiastrumm.freifunkautoconnect.BootCompletedReceiver.onReceive(BootCompletedReceiver.java:16)
5465 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3406)
5465 E AndroidRuntime: ... 8 more
Additional info:
I am using Freifunk AutoConnect 0.9 from F-Droid repository on an Android 9 (Patchlevel 2019-03) Nokia 5 (HMD Global TA-1053).
When my Nexus 4 is connected to my PC (Windows 7 & 8.1), the "freifunkautoconnect" folder in the sdcard directory is not shown. The folder is definitely there, it can be accessed with a file manage app on the device itself. Calling MediaScannerConnection.scanFile to force Android to scan that directory did not help.
I am not entirely sure if the NotificationService is running in its own thread or in the main/ui thread. This should be further investigated.
Also it seems that the NotificationService is currently not notified when a new ssids.json file was downloaded and therefore still using the old ssid list.
The berlin SSID is missing from the autoconnect list.
This probably occures because the Activity will be destroyed if the screen is rotated but the ProgressDialog still tries to access the now destroyed activity object instead of the new created one.
Hello,
after missing my own node in the list I found out, that the last refresh was on 12.06.2019 - 20:30:04 UTC. After looking in the code, I know now, that the two nodes server are not working anymore. The first gives outdated information and the second isn't reachable any more.
It would be nice if this can be fixed soon. Maybe a option to add custom servers in the settings is helpful as well.
The freifunk network oft Hannover is missing:
http://hannover.freifunk.net/karte/
NotificationService doesn't get restarted after a reboot. The user has to "manually" start the service by opening the app.
Hi,
it will be great, when the network ID can be at yorself edited.
So I miss my network ID:
freiburg.freifunk.net
Attention, at the offical page linked database is not updated since month ago.
The new page wich is referenced in the mailing list is
https://openfreiburg.de/freifunk/meshviewer/#!v:m
Regards
Ulf
E.g. openwireless.org
, see https://openwireless.org/
The app crashes if LocationServices.FusedLocationApi.getLastLocation returns null in FindNearestNodesService,java. This happens for example if GPS was deactivated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.