Now-a-days, there are increasing demand for content sharing in wireless networks. Previous data delivery schemes are not efficient for content sharing because of the discontinuous connectivity between smartphones. To overcome this, store carry-forward protocol schemes are used. In these schemes a node stores a message and holds it for a certain interval until a communication opportunity occurs. In an ad hoc method of peer-to-peer content sharing, contents are unexpectedly discovered and shared. The proposed system triggers the query based on forwarding decisions.