See the App Inventor Extensions document about how to use an App Inventor Extension.
For questions about this extension or bug reports please start a new thread in the
App Inventor Extensions forum. Thank you.
For feature requests please contact me by email.
To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.
Nov 22th, 2016: Initial Version released
Required permission: android.permission.CHANGE_NETWORK_STATE, android.permission.CHANGE_WIFI_STATE,
Thank you OSLO for being the sponsor of this extension.
Check, whether wifi hotspot is enabled or not. Returns true or false.
Toggle wifi hotspot on or off. Returns true in case of success, else false.
- You will have to build the app to be able to test this method, because the companion app does not offer the required permissions.
- After toggling the hotspot, it might take a few seconds, before the hotspsot changes its state.
- On tablets without mobile internet this method also will return true as result.
Example App: Toggle Hotspot
Tested successfully on Nexus 5 running Android 6.0.1. and Nexus 5X running Android 7.
Do you need help with your App Inventor project?
I can help you: for one hour I charge 25 USD.
Please contact me at
puravidaapps [dot] com
For questions about App Inventor, please use the
App Inventor forum. Thank you.
Terms and Conditions
- Have fun and use this extension in your App Inventor projects! Pura Vida!
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- This is is the only authorized place to download this extension. It is not allowed to host this extension somewhere else and offer it for others to download,
be it on another website or market place or similar. The reason is, everybody should be able to have the opportunity to donate something in case
you like my work. You are allowed to provide a link to this site, so others can download the extension here.
You will find the most up to date version always here including documentation and usage examples. Thank you for your kind understanding.
If you find this example helpful and you are using it in one of your projects,
be nice and donate a small amount!
or donate some mBTC to Address:
Thank you! Taifun
Download TaifunHotspot extension (aix file)
Download Toggle Hotspot Test project (aia file)
Back to top of page ...
This work by Pura Vida Apps
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.