tjanson / WifiLocationLogger

Android application for logging Wifi signal strength by location
32 stars 10 forks source link

App crashes on "Log starten" at Blackberry 10 #4

Closed flammy closed 9 years ago

flammy commented 9 years ago

The App crashes if I click on "Log starten".

My device is a Blackberry Q10 with the latest 10.3.1 OS.

Is there a way to provide more helpfull debug information for this crash?

tjanson commented 9 years ago

There should be a debug log at /sdcard/WifiLocationLogger/wifilog.debug.txt, that would be very helpful for finding the problem.

flammy commented 9 years ago

The Log looks allways like this:

2015-03-12 16:04:04,684 [main] INFO  c.t.wifilocationlogger.MainActivity - Started; 4.3, 10.3.1.191, Q10
2015-03-12 16:04:04,751 [main] DEBUG c.t.wifilocationlogger.MainActivity - Updating values from Bundle
2015-03-12 16:04:04,766 [main] DEBUG c.t.wifilocationlogger.MainActivity - Registered WifiBroadcastReceiver
2015-03-12 16:04:04,795 [main] WARN  c.t.wifilocationlogger.MainActivity - GoogleApiClient connection failed: ConnectionResult.getErrorCode() = 1
2015-03-12 16:04:08,812 [main] DEBUG c.t.wifilocationlogger.MainActivity - Unregistered WifiBroadcastReceiver
2015-03-12 16:04:08,813 [main] WARN  c.t.wifilocationlogger.MainActivity - Attempted to stop location updates, but not connected
2015-03-12 16:04:10,364 [main] WARN  c.t.wifilocationlogger.MainActivity - GoogleApiClient connection failed: ConnectionResult.getErrorCode() = 1
2015-03-12 16:04:14,944 [main] INFO  c.t.wifilocationlogger.MainActivity - Enabled logging to disk
2015-03-12 16:04:14,956 [main] DEBUG c.t.wifilocationlogger.MainActivity - Acquired wake-lock

The file wifilog.csv exists but its empty.

On the screenshot you can see the wifis are displayed:

img_20150312_172828

tjanson commented 9 years ago

I’m not sure what’s causing the crash, but according to the log your phone does not have the Google Play services location API – meaning that it won’t be able to locate your device. I’m afraid the app won’t work for you unless someone ports the code to whatever Blackberry has available. I don’t know enough about that.

Closing as won’t-fix, at least for now.