Search code examples
pythonandroidwinapiwifipywin32

How to use wifi using python?


I am making an windows application which would send and receive information with an Android phone.

I need to make use of the wifi to do so ( win32api for python ).

The app. would be something like this:

The android screen would show the desktop screen. where ever you touch , a click would me made on the corresponding point on the actual desktop. This is the most basic thing. And if I figure out to do this i will be able to do the rest.

PLEASE SUGGEST. THANK YOU


Solution

  • I think you're playing in the wrong layer of the network. You need to get a socket connection between your phone and your computer.

    Here's the documentation for Android sockets

    And here's documentation for Python sockets