Answer the question
In order to leave comments, you need to log in
Is it possible to programmatically create a wireless LAN/access point to it from an Android device?
There is the following task: It is
necessary to implement an Android application from which it would be possible to raise a local wireless network along with an access point to it, so that other devices located nearby can connect to the main device for subsequent data exchange ( the network must be local, without Internet access ).
In case the wording is not clear enough, I give an example of the sequence of user actions:
Answer the question
In order to leave comments, you need to log in
here is the method that is responsible for enabling the wireless point from the official android sources
https://github.com/android/platform_packages_apps_...
https://github.com/android/platform_packages_apps_...
stackoverflow.com/questions/3436280/start- stop-bui...
the idea is to call this method
it's unofficial and there's no guarantee it will work on many devices
If you were to raise the entire zoo on one machine or under virtual machines on one machine, how would you do it? Fixed IP addresses and edited /etc/hosts? And they would be glad that everything works, and nothing needs to be touched.
Why not do the same in this case?
And yes, why android? You can install Ubuntu, there will be much less restrictions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question