wifi

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

时光毁灭记忆、已成空白 提交于 2019-11-30 06:59:05
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 I was looking for the same thing but sadly those features are only available in private APIs which Apple does not allow anymore at all! So there is no official way of finding or

Send notification to all the devices connected to a Wi-Fi network

余生长醉 提交于 2019-11-30 06:26:19
问题 Is there any way to send a notification to the devices which are connected to a particular Wi-Fi network? Say, I have a Wi-Fi network named "My Wi-Fi", which is not secured, that is any one can connect. A public network. There may be N-number of users connected to "My Wi-Fi". These users can perform any kind of transaction, say online payment. Now if I want to turn off or shut down "My Wi-Fi" router or access point, these transactions may fail. So before shutting down, I want to send a text

Android: Stop/Start service depending on WiFi state?

我们两清 提交于 2019-11-30 06:17:21
问题 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

Set WiFi proxy without rooting phone [closed]

假装没事ソ 提交于 2019-11-30 05:40:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . I'm connected with my personal Android phone on the WiFi network of my company. To access to the Internet, we have to specify the proxy address and port ; no user or password to set. How could I specify proxy address in my phone without rooting it? I don't find any option in the WiFi advanced settings. AFAIK,

Get list of available WiFi spots

放肆的年华 提交于 2019-11-30 05:26:09
I'm creating an app that needs internet connection. So when the WiFi setting is not enabled, I pop up a message to switch it on. But when it's on, it's not nessecarily connected to a WiFi Access Point. Is there any way to show all current available WiFi spots in a list? Thanks in advance Have a look on the methods of the WifiManager class. Especially the getScanResults() method will return the results of the last scan for Wifi networks. Be aware that the getConfiguredNetworks() only returns those networks that have been configured beforehand by the user (i.e. the password has been provided for

How to make an android peer to peer without using intermediate server? [closed]

▼魔方 西西 提交于 2019-11-30 03:43:18
I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling. Any help would be appreciated. Regards, Pawan Adobe AIR, which can run on Android 2.2+ devices can use a (fledgling) technology called Adobe Cirrus (used to be Stratus) which makes p2p possible. If you would prefer to use Java and create your own p2p system, you might like to take a look at this project: peerdroid However, I don't have any experience using either of these on

如何在联想Y430P安装Fedora24

这一生的挚爱 提交于 2019-11-30 03:32:43
1、制作U盘安装盘 问题:在Bios里有UEFI启动模式,这是微软针对市场的一种限制策略,幸好现在linux的发行版基本都支持UEFI了。我在尝试使用Universal-USB-Installe以及UltraISO均不能有效引导安装,使用UltraISO,甚至在bios里都看不到U盘;使用Universal-USB-Installe一直会提示Problem loading in-kernel x.509 certification,无法安装成功。 解决方法:使用 Fedora官方的U盘安装盘制作工具 即可。 2、安装完成 问题,目前Y430P会在开\关机时,会有爆破的声音,猜测应该是因为内核对主板支持不好导致关机时出现电流脉冲。 解决方法:暂时未找到。 3、wifi设置 问题:开机之后找不到wifi设置,但是有线可以使用。 解决方法: Fedora 22 and later: dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch

Is it possible to get wifi signal strength in ios 9

南笙酒味 提交于 2019-11-30 03:13:42
问题 I want to check WIFI signal strength to display some kind of message for weak WIFI signal. I fount that it is not possible in iOS 8 and older. Is it possible to get wifi signal strength in iOS 9? and if answer is yes then How? 回答1: Yes , it is possible in iOS 9.Look into NEHotspotNetwork 回答2: Register your app as Hotspot helper. (forums.developer.apple.com/message/30657#30657) #import <NetworkExtension/NetworkExtension.h> for(NEHotspotNetwork *hotspotNetwork in [NEHotspotHelper

How to determine a wifi channel number used by wifi ap/network?

孤人 提交于 2019-11-30 00:27:53
Ive discovered that several android wifi-apps (WiFi Manager, WiFi Analyzer) shows a channel number of WiFi network additionally to BSSID/SSID etc. But I can't find any info on how they do it. The only thing I know is I can get some wifi frequency. Maybe they determine a channel corresponding to that frequency? Is there a way to detect channel of wifi network in android at all? Of course this info is not a big deal and I can live without it :) but still i'm curious... According to Radio-Electronics.com , channel number is truly related with frequency. CHA LOWER CENTER UPPER NUM FREQ FREQ FREQ

Captive portal on android device

北慕城南 提交于 2019-11-30 00:22:40
I am using my android device as a mobile web server. I want to direct every user that connects through my portable Android hotspot to a specific wellcome page. Does anybody know how to implement this technique in my device (I believe this is called the captive portal technique)? I answer my own question until someone shares some useful information on how to implement the captive portal in a non-rooted device. At the moment I am not aware of such working solution. Captive portal works by intercepting most network packets (using a firewall), regardless of address or port, until the user opens a