Comments (9)
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.
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.
Did you give a read to #6? What version of the library is this on?
from accesspoint.
I have granted WRITE_SETTINGS permissions and every thing is working but ssid and password are not set.
from accesspoint.
Have you looked at your logcat? There might be sometihng there.
from accesspoint.
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.
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.
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.
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)
- provide method to get IP address HOT 3
- DHCP not working on Android 7.1 and later HOT 23
- Automatically detect WLAN device name on newer devices HOT 2
- Support for band and channel selection. HOT 3
- About AP's password HOT 1
- Android 7.1: Access point created but no internet connection HOT 1
- Not working on Samsung Galaxy S5 SM-G900V Android 6.0.1 HOT 9
- Logo offer for Accesspoint
- Only catch reflection exceptions HOT 1
- Remove getInstance() method with no args HOT 1
- Is it possible to support WifiManager.NETWORK_STATE_CHANGED_ACTION? HOT 6
- Broken on 6.0+ HOT 13
- Is it possible to set the wifi channel? HOT 4
- java.lang.NumberFormatException HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accesspoint.