这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Auxilus
Copy link
Contributor

@Auxilus Auxilus commented Oct 22, 2017

@ghost
Copy link

ghost commented Oct 22, 2017

You should import LocationManager:

import android.location.LocationManager;

Or there will be error: cannot find symbol class LocationManager

@Auxilus
Copy link
Contributor Author

Auxilus commented Oct 22, 2017

@xeffyr done

@Auxilus
Copy link
Contributor Author

Auxilus commented Oct 22, 2017

Will it work btw?

@Auxilus
Copy link
Contributor Author

Auxilus commented Oct 22, 2017

Cz i don't have that much knowledge about java and app development

@ghost
Copy link

ghost commented Oct 22, 2017

I have checked - it works.

@Auxilus
Copy link
Contributor Author

Auxilus commented Oct 22, 2017

Nice to hear that!

Display connection info only if device connected to WiFi , otherwise return error string
@fornwall
Copy link
Member

fornwall commented Jun 5, 2018

Sorry for letting this linger so long!

After de8d68a we now show Location needs to be enabled on the device if termux-wifi-scaninfo is called when Location is disabled on the device.

The other change, handling info.getSupplicantState().toString() == "SCANNING" as an error, should probably not be applied (the supplicant state is already exposed by the API as a field, so better to be handled by users).

@fornwall fornwall closed this Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants