Closed mariansoban closed 8 years ago
have the same problem in galaxy tab 10" & android 4.0.4. Can you send me a compiled version with your correction (.apk)
Here you are. Please note, that the version contains my API key for google maps and is not an official release. In other words - use at your own risk. tower-release.3.2.0-sobi-3-bugfix_wifi.zip
it works , I can not setup mapbox id , but it works, thanks a lot we hope to be included in the official version
@mariansoban thanks for the bug report and fix! The fix will be included in the next beta release.
Tower application always crashes on Android 4.0.4 while start when there is NO ACTIVE WIFI connection. LOG: crash.log.txt Fix: https://github.com/DroidPlanner/Tower/blob/develop/Android/src/org/droidplanner/android/utils/NetworkUtils.java#L53
public static String getCurrentWifiLink(Context context) {
...
final String connectedSSID = connectedWifi == null ? null : connectedWifi.getSSID().replace("\"", "");
--->final String connectedSSID = connectedWifi != null && connectedWifi.getSSID() != null ? connectedWifi.getSSID().replace("\"", "") : null;
Environment: Lenovo A660 with Android 4.0.4