Home > android > Android 6.0 (Marshmallow), empty scanned network list

Android 6.0 (Marshmallow), empty scanned network list

In Android 6.0, Google made the decision that for an app (any app) to see WiFi network scan results (the list of “live” networks) —

— “Location” in the device’s System Settings has to be enabled.

Please see this for details:

https://code.google.com/p/android/issues/detail?id=185370

You don’t have to enable GPS, the location “Mode” can be “Battery saving (WiFi and mobile networks)”, but the overall setting for Location has to be enabled.

A conscious decision made by Google, and naturally it’s enforced by Android system code.

One other thing about Android 6.0

It won’t let an app (any app) manage (change the password or forget) a network that was initially added by another app. So you won’t be able to do this in WiFi Manager with a network that was configured by the System Settings app (say, during initial power-on device setup).

This too is a conscious decision made by Google, and it too is enforced by Android system code.

I expect to have an update, but all it’s going to do is convey this information to the user.


В Андроиде 6.0, Гуглом было принято решение что список “сканированных” сетей будет виден в приложении (любом приложении) только если —

— в системе включено отслеживание Местоположения.

Подробности есть по ссылке ниже:

https://code.google.com/p/android/issues/detail?id=185370

Включать GPS не обязательно, можно обойтись режимом определения местоположения “по сотовым и WiFi сетям”, но галочка в разделе Местоположение должна быть включена.

Так как это намеренное решение, то системный код Андроида его выполняет.

И ещё про 6.0

Эта версия Андроиде не позволяет приложению (любому приложению) менять сеть (то есть менять пароль, или забывать) которая была создана другой программой. В частности, Вы не сможете менять сети которые были созданы в системном приложении Настройки (скажем, во время первичной настройки, после первого включения телефона).

И это тоже намеренное решение разработчиков Андроида, и системный код работает именно так.

Я планирую выпустить обновление, но всё что я могу там сделать, это донести то пользователя эту информацию.

Advertisements
Categories: android
  1. Josef Langmajer
    December 28, 2016 at 9:45 pm

    Hi Kostya, again congrats on your excellent job as available in your Wifi Manager apk.
    Since on Android 6, my WiFi Manager no longer offers the small Turn Off icon at the bottom. I must go via the top Settings portion to close down the connection. Any help please? Thanks a lot and enjoy your New Year´s Eve.

  2. October 17, 2015 at 10:13 pm

    Good to know. It seems like many of the Google changes to Android are short sighted. Along with some of Samsung’s changes such as elimination of micro SD cards. This move will more than likely result in fewer music and movie sales at Google Play which I assume, will usher in Micro SD cards… Again. Fortunately, Android devices have short lives making all of the inconveniences temporary thanks again for the information! Great article!

    • October 17, 2015 at 10:47 pm

      Just to note – the “apps can’t write to microSd” was a Google change in 4.4 (they made it possible again in 5.0, if the app developer is willing to jump through hoops…).

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s