wifi

Does IOS support simultaneous wifi and 3g/4g connections?

独自空忆成欢 提交于 2019-12-30 09:54:50
问题 I have a customer who has a device that has its own builtin wifi hot spot and he would like to connect it to an iPad 4G vie wifi and forward data at the same time through the cellular connection. Is this supported in IOS and if so can you point me to the appropriate documentation. Any suggestions are appreciated. Jim 回答1: Comparing to Android, iOS supports simultaneous work of multiple network adapters. It's necessary to write C code working with BSD sockets, doing enum, bind, and handling

discover mobil devices using wifi

人走茶凉 提交于 2019-12-30 09:52:05
问题 I want to track people (carrying mobile devices) in a pedestrian street by using two "check points" A and B. I'm planning to place mobile devices or netbooks with Android/IOS or Linux in each check point and log an id so I can tell how many walked from A to B. I know I can discover other peoples devices using bluetooth but can it be done with wifi? I thinking of turning my devices into wifi access points. People will of course not connect to the access point, just walk by. So my question is:

Detecting if Wifi or Bluetooth is turned on or off by the user [closed]

↘锁芯ラ 提交于 2019-12-30 07:06:08
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago . How can we determine if Bluetooth or Wifi was turned on/off using the Swift language? My application uses Bluetooth or Wifi to communicate with other devices. We have no problem with these communications, but we would like to inform the user if Wifi and/or Bluetooth is turned off (when the user is

Programmatically turn on/off wifi on real iOS device with UI Automation

孤街醉人 提交于 2019-12-30 04:50:28
问题 I have already read once or twice that turn on/off wifi on a real iOS device (iPad in my case) with a UI Automation script seems not possible. I've also read that you can create a script with the target "Settings" but it seems that it's only for simulators, am I right ? Do you have any ideas or solutions for me ? Regards, 回答1: i was able to do so (just make sure you target application is on foremost state when doing so): var target = UIATarget.localTarget(); target.dragFromToForDuration({x:0

Wi-Fi Direct and “normal” Wi-Fi - Different MAC?

随声附和 提交于 2019-12-30 04:40:12
问题 I'm currently trying to connect two phones which know each other's MAC address via Wi-Fi Direct, and stumbled upon the following problem: The MAC address, which I receive from WifiManager wifiMan = (WifiManager) this .getSystemService(Context.WIFI_SERVICE); WifiInfo wifiInf = wifiMan.getConnectionInfo(); MAC_ADDRESS = wifiInf.getMacAddress(); is slightly different than the one I receive from the WifiP2pManager when discovering and requesting peers. Example: a0:xx:xx:... turns into a2:xx:xx...

Android - Cant Remove Wifi Network Programatically- The method removeNetwork(int) in the type WifiManager is not applicable for the arguments (String)

本秂侑毒 提交于 2019-12-30 03:16:45
问题 I'm attempting to remove my wifi network programatically - however I cannot seem to get it to remove/forget the currently connected wifi connection. This should be a pretty simple task - so I'm not sure exactly what I'm doing wrong. I'm using the following StackOverflow post as an example: How to forget a wireless network in android programmatically? public class KillTimer extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

How to detect and connect to a Wifi network programmatically using Apple SDK

大憨熊 提交于 2019-12-30 02:09:57
问题 I wonder how can I detect and make a connection to a Wifi network programmatically just like the WifiFoFum app does in Apple Store. This app has been approved and recently updated so there must be a legal way of doing it. If anybody knows any way of doing it please post a code snippet... even if it is an undocumented API call and would probably be rejected by Apple. I just need to know if it can be done and how. Thanks 回答1: I was looking for the same thing but sadly those features are only

Detect if connection is wifi, 3G or EDGE in android?

試著忘記壹切 提交于 2019-12-29 16:26:27
问题 I need to detect in android if there is any connection Wifi or 3G ( or 3G+ ) or EDGE in android. When there is an connection wifi or 3G I can send photos to server, and when is only a connection EDGE to not send them to server. I saw that wifi connectivity can be detected with ConnectivityManager.TYPE_WIFI and with ConnectivityManager.TYPE_MOBILE and TelephonyManager.NETWORK_TYPE_EDGE can be detected EDGE connection. But how can be detected 3G or 3G+? 回答1: https://gist.github.com/emil2k

How to call HTTP URL using wifi in J2ME code for BlackBerry 5.0 and above?

爷,独闯天下 提交于 2019-12-29 09:17:09
问题 I am calling a web service from BlackBerry using J2ME code. When I try to open a connection using HttpConnection , it is checking only the GPRS connection. Now, I want to check the Wi-Fi connection and call a webservice through Wi-Fi. The following code is my connection section. How to change the code for a Wi-Fi connection? public boolean HttpUrl() { HttpConnection conn = null; OutputStream out = null; String url = "http://www.google.com"; try { conn = (HttpConnection) new ConnectionFactory(

wifi on iphone simulator

天涯浪子 提交于 2019-12-29 09:17:07
问题 can i disable wifi in iphone simultaor to test my app? I disconnect pc from network, but the icon of wifi on iphone simulator is always on. 回答1: After disabling your network connection, the icon is still present showing it as enabled, but the connection is of course dead. If you are using the Reachability class or just attempting to ping a URL to verify a connection, the simulator will respond the same way a device with disabled Wifi would, which makes testing on the simulator under these