wifi

iOS – Run/Debug/Install builds over Wi-Fi

风流意气都作罢 提交于 2019-11-28 18:16:28
问题 We have iPad and iPhone devices, but short of wires. Is there any way that we can install/debug the builds over Wi-Fi in iOS? I know the way in Android, but not of iOS. 回答1: Now by using Xcode 9 and iOS 11 it is possible to run apps by using Wi-Fi . Connect the iPhone via USB, go into the device window ( Cmd - Shift - 2 ), select your phone, and check the connect via network box. More thorough instructions with screenshots here Pre-Xcode 9 answer: Over Wi-Fi installing and debugging of

iPhone active network type (2G, 3G, WiFi)

风格不统一 提交于 2019-11-28 17:41:04
Does anyone know how to determine the active network type at the specific moment: 2G , 3G or WiFi . For example, at a specific moment there could be enabled 3G , but the used network type could be 2G . The SCNetworkReachability interface can help you with that. Basically, you create a so-called reachability reference and then call SCNetworkReachabilityGetFlags on it to get information about the connection. The returned flags include kSCNetworkReachabilityFlagsIsWWAN , which tells you whether you are connected via WiFi or the cell network. AFAIK it cannot be used to tell the difference between

ANDROID: if WiFi is enabled AND active, launch an intent

无人久伴 提交于 2019-11-28 17:06:26
This is what I would like to do : => IF WiFi is enabled AND active, launch an intent (in fact it's a WebView that gets its content=>the instructions of my app on the web) => IF NOT, then I would launch another intent so that I don't show a WebView with "Web page not available ... The Web page at http://www.mywebsite.com might be temporarily down or it may have moved ..." I tought initially to use if(wifi.isWifiEnabled()) but that does not say if the Wifi connection is ACTIVE or not. It says only that the user has turned the switch on. The device may or may not be connected... Is this correct ?

iphone SDK detect Wifi and Carrier network

好久不见. 提交于 2019-11-28 16:55:12
my app accesses the internet and i just want to detect whether there is a connection either via wifi or via carrier data network or not apple has made an example for that "Reachability" https://developer.apple.com/iphone/library/samplecode/Reachability/ i think it just detects the wifi and not the carrier network can anyone tell me, whats the best to be done to detect if there's a connection ( any type of connection ) Appreciate ur help! That sample is exactly what you need. Look at Reachability.m. it'll tell you whether you have any connection, and then tell you what kind of connection you

Android: Stop/Start service depending on WiFi state?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 16:25:20
In the android application that I'm designing, my service only needs to be running when the device is connected to the router (via WiFi obviously). I'm really new to android, and what I've got so far has taken me forever to Achieve, so I'm really hoping for some pointers. My service is set to start up when the phone starts up. Also when the Activity is launched it checks whether the service is running - and if not it starts it. I'm just wondering what code I can put into my service to make it turn off if the WiFi state is lost - and what code I need to make the service start once a WiFi

Wifi Triangulation

不羁岁月 提交于 2019-11-28 15:59:45
What would be the best way to triangulate a wireless network passively. Are there tools available? Algorithms? Libraries? My goal would be to create a relative map of various objects that sends or receive signals using signal strength (DB's), signal/noise ratio, signal phase, etc. from a few location points. With enough sampling, i'm guessing it would be possible to create a good 2d/3d map. I'm searching for stuff in any language / platform. Some keywords: wi-fi site survey, visualization, coverage, location, positioning Thinking about using kismet to gather the data and then process it. Maybe

iPhone indoor location based app

↘锁芯ラ 提交于 2019-11-28 15:42:17
问题 I am researching how to create an app for my work that allows clients to download the app (preferably via the app store) and using some sort of wifi triangulation/fingerprints be able to determine their location for essentially an interactive tour. Now, my question specifically is what is the best route to take for the iPhone? None of the clients will be expected to have jail broken iPhones. To my understanding this requires the use of the wifi data which is a private api therefore not

How and what to set to Android WifiConfiguration.preSharedKey to connect to the WPA2 PSK WiFi network

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 15:25:44
问题 In Android 1.5 (also on 1.6) How to add an Access Point from code? Given Access point that supports WPA2. Here is my code snippet. WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiConfiguration wc = new WifiConfiguration(); // This is must be quoted according to the documentation // http://developer.android.com/reference/android/net/wifi/WifiConfiguration.html#SSID wc.SSID = "\"SSIDName\""; wc.preSharedKey = "password"; wc.hiddenSSID = true; wc.status =

Implementing the AirDrop protocol [closed]

坚强是说给别人听的谎言 提交于 2019-11-28 15:24:28
问题 I am interested in implementing AirDrop as a client on a device such as an iPad or Windows computer. Can anyone point me in the right direction for implementing the AirDrop protocol in either Python or C. Any help on this would be greatly appreciated. Thanks in advance. 回答1: For the benefit of you or anyone who will try to reverse-engineer and implement Airdrop, here is what I found and what you will have to do to get started: There are two steps involved and they can be done in independently

ADB, Wifi and Eclipse: how I can configure?

大城市里の小女人 提交于 2019-11-28 15:24:27
问题 Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem. How I can tell to Eclipse to connect via Wifi method? I think that it is an automatic process, but on start debug it open the Emulator. Someone? :) Bye 回答1: First, run 'adb connect ip:port', like adb connect <phone-ip-address> , from console/terminal (with your IP address and port of cause). This makes adb service to