| Mobile Internet is changing people’s life style. With the popularization of portable devices in the world, Android operating system produced by Google has become the leading operating system in market share, because of its advantages,such as open source characteristics etc. The Smart phones or tablets with Android operating system is widely spread, and Communications applications based on Android platform is also rich and varied. The majority of communications applications are dependent on center network facilities, Then people began to consider whether we can let the devices organize themselves to set up a network connection.AdHoc network is formed by a group of mobile nodes with wireless signal transceiver without fixed base station, a multi hop temporary autonomous network system, without fixed communication facilities, each terminal node in the network can send and receive data and act as network routers for adjacent node forwarding packet data. Through the AdHoc network, people can whenever and wherever possible the establishment of a temporary mobile autonomous network, this network is very practical and personal communication, the military field and the fields of disaster emergency rescue.This paper firstly introduces the several common wireless communication mode of Android platform and Android equipment, and introduced the AdHoc network, protocol stack and AODV routing protocol. Secondly, introduces the analysis results and design scheme of AdHoc network architecture and application scenarios. Thirdly, this paper describes the detailed design of AdHoc function library, including the design, each module of the integrated design and interface design. Thirdly, this paper describes a detailed design and operation results based on the application case of AdHoc function library, verify the feasibility of the function library. Once again, on the function of library were tested and analyzed with the results of a full range of. Finally, according to the analysis of the function of Library and the design difficulty and the improvement.Experimental results show that the AdHoc function library is proposed in this paper to meet the self organization network communication the basic requirements, guarantee the communication quality in a certain extent, is a reliable choice AdHoc related application developer. |