Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.62 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.62 KB

Android Studio WiFi Control

This Android Studio project provides a simple application for controlling WiFi settings on devices running Android. The app includes two buttons, allowing users to enable or disable WiFi with ease.

Features

  • WiFi Control: Toggle WiFi on or off using dedicated buttons.
  • Compatibility: Supports devices running Android Q (10) and above, as well as earlier versions.

Getting Started

Follow these steps to set up and run the project on your local machine:

  1. Clone the Repository:

    git clone https://github.com/atiquz/AndroidStudioWiFiControl.git
  2. Open in Android Studio:

    • Launch Android Studio.
    • Choose "Open an Existing Project" and select the cloned directory.
  3. Build and Run:

    • Build the project using the "Build" menu in Android Studio.
    • Run the app on an emulator or a connected Android device.

Usage

  1. Enable WiFi:

    • Click on the "Enable WiFi" button (button01) to turn on WiFi.
  2. Disable WiFi:

    • Click on the "Disable WiFi" button (button02) to turn off WiFi.

Compatibility Note

  • The app utilizes the new WiFi settings panel introduced in Android Q. For devices running earlier versions, it falls back to the traditional method using WifiManager.

Contributing

Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Your contributions are highly appreciated.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the Android development community for valuable resources and support.