Git Product home page Git Product logo

Comments (9)

mvdan avatar mvdan commented on July 19, 2024

Is this something limited to newer versions of Android?

It would help if you could set up a variation of the example app in this repo, so that others could reproduce this issue. This would also help test whether the issue is reproducible in earlier Android versions, for example.

from accesspoint.

mhddurrah avatar mhddurrah commented on July 19, 2024

Thanks for your fast response, I tested it in Android 5.1.1 and worked well, but when I started to test on android 6 (6.0.1 exactly) the issue appeared.
https://gist.github.com/mhddurrah/fe8271e5d366cac0f9d35e5dd60bce84
this is the code snippet I used (almost it is the same as demo 😄 )

from accesspoint.

mvdan avatar mvdan commented on July 19, 2024

Did you give a read to #6? What version of the library is this on?

from accesspoint.

mhddurrah avatar mhddurrah commented on July 19, 2024

I have granted WRITE_SETTINGS permissions and every thing is working but ssid and password are not set.

from accesspoint.

mvdan avatar mvdan commented on July 19, 2024

Have you looked at your logcat? There might be sometihng there.

from accesspoint.

mhddurrah avatar mhddurrah commented on July 19, 2024

Yes, What I got is:

W/WifiApControl: 6.0 or later, unaccessible MAC - falling back to the default device name: wlan0
I/WifiManager: setWifiApEnabled : falsepackageName : com.*.ha.android
I/WifiManager: setWifiApEnabled : truepackageName : com.*.ha.android

from accesspoint.

mhddurrah avatar mhddurrah commented on July 19, 2024

Hello mvdan, I have downloaded the library and run the included app but I got the same result, AP can be set but configurations no.

from accesspoint.

mvdan avatar mvdan commented on July 19, 2024

Have you verified if wlan0 is indeed the name of the wireless device? Something like ip link on a shell in the device should tell you.

from accesspoint.

mvdan avatar mvdan commented on July 19, 2024

Reopen if you have any more information or an answer to my question above. There is little I can do without more information.

from accesspoint.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.