Best code examples for Android WifiP2pManager class (android.net.wifi.p2p.WifiP2pManager)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android WifiP2pManager class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android WifiP2pManager examples from Open Source projects
This code example shows how to use the following methods: discoverPeers, requestPeers, stopPeerDiscovery, getClass
85:	mWifiP2pManager.discoverPeers(channel, null); 
-
91:	Method method = manager.getClass().getMethod("setDeviceName", 
-
111:	mWifiP2pManager.stopPeerDiscovery(channel, null); 
-
142:	mWifiP2pManager.requestPeers(channel, new PeerListListener() { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: initialize
62:	mChannel = mWifiP2pManager.initialize(mContext, mContext.getMainLooper(), null); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: requestPeers
184:	wifiMgr.requestPeers(channel, discoveryListener); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: requestPeers
135:	manager.requestPeers(channel, peerListener); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: requestPeers
60:	mManager.requestPeers(mChannel, myPeerListListener); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestPeers
85:	manager.requestPeers(channel, mNetInfManager); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: initialize
258:	p2pmgr.initialize(mContext, null, null); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: requestPeers
72:	manager.requestPeers(channel, (PeerListListener) this); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestGroupInfo
158:	wifiDirectManager.requestGroupInfo(wifiDirectChannel, this); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestPeers
57:	manager.requestPeers(channel, activity.getfDevList()); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: initialize
58:	channel = manager.initialize(this, getMainLooper(), null); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: initialize
21:	mChannel = mManager.initialize(this, getMainLooper(), null); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestPeers
52:	manager.requestPeers(channel, (PeerListListener) activity); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: discoverPeers
137:	mManager.discoverPeers(mChannel, MainActivity.this); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestPeers
60:	mManager.requestPeers(mChannel, myPeerListListener); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: discoverPeers
70:	mManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestPeers
30:	mManager.requestPeers(mChannel, myPeerListListener); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: requestConnectionInfo
54:	mP2pManager.requestConnectionInfo(mChannel, (ConnectionInfoListener) mService); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: initialize
63:	channel = manager.initialize(application, application.getMainLooper(), new ChannelListener() { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: createGroup
107:	wifiDirectManager.createGroup(wifiDirectChannel, this); 
Full Snippet Info
4
CodeRank
Related Android WifiP2pManager Questions & Answers:
See Code Examples for Android WifiP2pManager Methods: