Wednesday, April 10, 2013

[android-developers] Re: Data transfer between two Wifi Devices

IF i have two wifi enabled devices,say for example one an android device and another a simple wifi module how can i send a string from android device to that wifi module??


On Saturday, 18 August 2012 01:17:11 UTC+5:30, bob wrote:

// To use this WifiManager method, AndroidManifest.xml must have the following permission:

// <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);

List<ScanResult> results = wifiManager.getScanResults();


for (Iterator iterator = results.iterator(); iterator.hasNext();) {

ScanResult s = (ScanResult) iterator.next();

String ssid = s.SSID;

}


On Thursday, August 16, 2012 11:32:15 PM UTC-5, Meena Rengarajan wrote:
How can i use SSID in a List in Android(ie) in my code List<ScanResult> results; ?

By using SSID Should get specific wifi enabled device properties by programmatically. With that help, should transfer the datas between two Wifi enabled devices in android. Can anyone help me in this ?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment