Method for establishing wireless network direct connection between terminal devices
A terminal device and wireless network technology, applied in wireless communication, connection management, electrical components, etc., can solve problems such as cumbersomeness, reduce user experience, increase user operation steps, etc., and achieve the effect of enhancing fun and simplifying the connection process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] based on the following figure 1 , specifically explain the preferred embodiment of the present invention.
[0017] Such as figure 1 As shown, the present invention provides a method for establishing a wireless network direct connection between terminal devices, comprising the following steps:
[0018] Step S1, start the acceleration change connection module in the WiFi Direct application module on the terminal device.
[0019] Step S2, the acceleration change connection module sets the value of the connecting flag to false (false), obtains the sensor manager object m Sensor Manager of the sensor manager Sensor Manager of the acceleration sensor in the terminal device, and defines the sensor event listener The sensor event listener object m Sensor Event Listener of the Sensor Event Listener is a service to be done, and the sensor event listener object m Sensor Event Listener is registered in the Android system through the sensor manager object m Sensor Manager.
[002...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 