wifi

iOS - Geofencing with WiFi turned off

二次信任 提交于 2019-12-04 12:00:57
问题 I have code that creates a geofence on my iPhone that will trigger some code to be executed when didExitRegion gets called. However, I have found that when I have WiFi switched off that didExitRegion never gets triggered. Is WiFi required for monitoring region changes on iOS? My desired accuracy is set to kCLLocationAccuracyHundredMeters. I am testing on iOS 6.1 and iPhone 4. Here is my code for setting up location monitoring: - (id)init { self = [super init]; if (self) { CLLocationManager

How to capture raw signal from wireless router?

Deadly 提交于 2019-12-04 11:35:15
问题 I have seen several projects now which derive novel spatial information from radio data collected from a typical wireless router: http://wisee.cs.washington.edu/ http://www.extremetech.com/extreme/133936-using-wifi-to-see-through-walls The idea of using a wireless router as a sort of passive radar is fantastic. I am very interested in experimenting with data collected from a wireless router myself, but there is little information on how to go about actually interfacing with a wireless router

connect wpa2 enterprise wifi connection programmatically in android

你。 提交于 2019-12-04 11:23:12
I just tried few codes for wpa2 enterprise connection in android but nothing is connecting i want a right code to connect the right network. right now i have used this answer but i need few clarification because this answer is very old one. here i am attaching some screenshot about connection clarification. In this you can see identity and password WifiConfiguration wifiConfiguration = new WifiConfiguration(); wifiConfiguration.SSID = "\"" + networkSSID + "\""; wifiConfiguration.BSSID = Bssid; wifiConfiguration.hiddenSSID = true; wifiConfiguration.status = WifiConfiguration.Status.DISABLED;

Location and distance calculation using Wifi in android

江枫思渺然 提交于 2019-12-04 11:07:24
How to get the distance of our mobile device from a wifi hotspot kept inside a building? This is basically for navigational purposes inside the building.. Any help would be appreciated. If you want to use WiFi for indoor location (step 1 before navigation), then distance to the WiFi Access Points is not the correct approach. Instead use RSSI . With Android you would need to take WiFi fingerprint of a building by moving around every few meters and sample the RSSI strength . You need to provide a user interface that lets the user manually specify on an image of the building (e.g. a CAD drawing).

Detecting android devices connected to Wifi

谁说胖子不能爱 提交于 2019-12-04 10:32:45
I want to make an android application that connects to a Wifi network, say network SSID = "ABC".Assume that it is connected to the Wifi ABC. After connecting to ABC, i would want my application to display the ips of all the android devices that are connected to the same wifi ABC network. How can i achieve that? Thanks Check out the file: /proc/net/arp on your phone. It has the ip and MAC addreses of all the other devices connected to the same network. However I am affraid you wont be able to differentiate if they are android phones or not. You will want to use tcpdump to put the network card

How to connect to WPA_EAP WIFI on Android with 4.3 API

会有一股神秘感。 提交于 2019-12-04 10:27:42
问题 Recently Android added the ability to connect to EAP WIFI with API 18 (JellyBean 4.3). I have looked for a number of examples, but can't find any examples, and I can't get my code to connect. Everything appears to work as expected, but making the actual connection doesn't seem to work. Here is what I'm doing: Log.d( "WiFi", "adding network via Android Enterprise Config with SSID: " + ssid ); WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); wifiConfig = new WifiConfiguration

Print from android without system dialog

梦想的初衷 提交于 2019-12-04 10:09:49
i would like to print an image from my android application (printer: canon selphy cp910, with wifi direct). I tried the Google API with the android.support.v4.print.PrintHelper class. It work but i have no way to bypass the system dialog. I would like the the application do not interact with the system UI. user just print the button and start printing on the default connect printer. Is that possible ? thank Short answer is unfortunately: no. The only way to use the Android provided print framework is to send the appropriate intent and the system's print spooler app will show the print preview

Get WiFi captive portal info

自闭症网瘾萝莉.ら 提交于 2019-12-04 09:55:38
Is there a way to access Android's broadcast that the WiFi connection is currently a captive portal (requires web login)? Android seems to do have this built in. If not a broadcast receiver, is there a way to check for the result of the captive portal check? I believe it's using this class, which is hidden from the API: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/5.L_preview/android/net/CaptivePortalTracker.java Prior to 4.2, it was probably using: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.2_r1/android/net

Is it possible to change the WiFi hosted network settings using CMD/BAT/VBS?

对着背影说爱祢 提交于 2019-12-04 09:50:44
I was trying to change two hosted network settings of my WiFi hotspot using CMD/BAT/VBS, but I was unable to do it. The Settings I want to change: Authentication (eg: WPA,WPA2PSK) Cipher (eg: CCMP/AES) The following code gives the information about the hosted network settings: netsh wlan show hostednetwork The following code sets the profile parameters: netsh wlan set profileparameter The problem is: what is the profile name which runs the WiFi Hotspot. The profileparameter asks for the profile name, and I dont know it. I have tried exporting the profile but it does not contain the profile

Get MAC Address without connect to WiFi

最后都变了- 提交于 2019-12-04 09:48:14
问题 Is it possible to get WiFi MAC Address without actually connected to it? Let's say I have android device "A". I already turn on the WiFi, so that my android device is now able to detect nearby WiFi SSID broadcasted. Nearby I have a few WiFi SSIDs broadcasted as listed below: SSID=hype, MAC_ADDRESS=00:39:E0:33:00 SSID=dummy, MAC_ADDRESS=02:33:DF:39:89 SSID=bilbo, MAC_ADDRESS=D0:32:E8:97:29 Without actually connected to WiFi SSID bilbo , can I have its MAC_ADDRESS? Please help, thanks. 回答1: