Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to turn on hotspot or wifi programmatically
Forum Updated to NodeBB v4.3 + New Features

How to turn on hotspot or wifi programmatically

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QtProgrammerJoshQ Offline
    QtProgrammerJoshQ Offline
    QtProgrammerJosh
    wrote on last edited by
    #1

    Hi, everyone, I am developing a mobile application using QML and C++ and I would like android phones to connect via hotspot.
    I've looked at Qt Android Extras, QJniObject and the rest expecially the notifier example which i have run myself.
    How do i write the java code for the creation of hotspot and connection something like Xender or Shareit applications.
    Thanks, I am new to Qt programming.

    raven-worxR 1 Reply Last reply
    0
    • QtProgrammerJoshQ QtProgrammerJosh

      Hi, everyone, I am developing a mobile application using QML and C++ and I would like android phones to connect via hotspot.
      I've looked at Qt Android Extras, QJniObject and the rest expecially the notifier example which i have run myself.
      How do i write the java code for the creation of hotspot and connection something like Xender or Shareit applications.
      Thanks, I am new to Qt programming.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @QtProgrammerJosh
      i am not sure if it is even possible to en-/disable Hotspot modus via JAVA directly. Most apps i've seen so far just forward you to the settings menu. This is normally done by starting a corresponding intents (e.g. startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));)
      I think you can use QtAndroid::startActivity() for that.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • QtProgrammerJoshQ Offline
        QtProgrammerJoshQ Offline
        QtProgrammerJosh
        wrote on last edited by
        #3

        Thanks @raven-worx for the quick response I'ld look into that.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved