wifi

Connect to Wifi [without Internet] with a high priority?

99封情书 提交于 2019-12-06 10:06:40
问题 I have a problem. I develop a android app, which should also connect to a wifi [ without internet , just to controll a robot, webinterface: 10.10.0.1]. MY PROBLEM : If I connect to the robot wifi, Android prevents the connection and connect to my default home wlan. What can I change to connect to robot wifi without problems? My connection function: public static void connectToWifi(String ssid, String pass){ WifiManager myWifiManager = (WifiManager) getApplicationContext().getSystemService

Is it possible for android devices to exchange messages over an access point and request a list of connected devices to this AP?

ε祈祈猫儿з 提交于 2019-12-06 10:04:29
I am developing an application which should connect to an open WiFi access point and exchange messages with devices that are also connected to this access point. Lets assume the access point is open and has no restrictions. Would it be possible to request a list of the IP addresses of the devices which are connected to it? Then if we have the address would it be possible to initiate a connection and exchange messages with that device? Have you seen any similiar projects/apps? (Is it possible to do with regular access points without hacking?) Thanks, any snippets/thoughts will be highly

How to connect to wifi devices using Java?

限于喜欢 提交于 2019-12-06 09:56:37
问题 I want to know how to establish connection in Java between devices within wifi range. Thanks, in advance. 回答1: To establish a connection between two devices over a network (WiFi, cable, etc...) you need to write 2 pieces of software: 1) A server: which waits for connections 2) A client: which initiates a connection to the server Once the client initiates a TCP connection then the devices are connected and you can send data and messages between them. Here: Java Sockets Here's a COMPLETE step

Implement MobileWIFI Private Framework in Xcode 7.3

耗尽温柔 提交于 2019-12-06 09:26:38
I am creating a private App in Xcode 7.3 ( iOS 9.3) , where I am going to utilize the WiFi Info. I have Followed this link , Bluetooth Private Framework works fine However: I am trying to implement Private Framework " MobileWIFI.Framework " in XCode 7.3 , but it gives me this error: "_WiFiManagerClientCopyNetworks", referenced from: - [AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o "_WiFiManagerClientCreate", referenced from: -[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker

Android: How to/Show wifi (select SSID to connect) as dialog or popup?

馋奶兔 提交于 2019-12-06 09:25:51
I develop an application and want to show wifi networks as a dialog (popup). My code is: startActivity(new Intent(WifiManager.ACTION_PICK_WIFI_NETWORK)); It just show wifi setting as: But I want it show as dialog like this : I wonder this is wifi dialog or we can show another activity as a dialog. 来源: https://stackoverflow.com/questions/28828179/android-how-to-show-wifi-select-ssid-to-connect-as-dialog-or-popup

ACCESS VBA - Obtain Wireless Network Name (Connected)

拜拜、爱过 提交于 2019-12-06 09:04:08
问题 Is it possible to detect the users Wifi network (SSID) they are connected to via vba? in Access 2010 Many thanks Max 回答1: After some more research, I found the following link: http://www.vbforums.com/showthread.php?547916-List-available-wireless-networks-(using-WMI)-Help-pls If you scroll down to post #19 there is a code fragment using Native Wifi API, I adapted to the following code fragment where Function GetConnectedSSID() will return the SSID of the currently connected Wifi network:

https connection works over Wifi (wlan) but not for 3G/GPRS (umts)

有些话、适合烂在心里 提交于 2019-12-06 08:43:01
问题 I find this kindda strange: I transferred a working http connection into a https connection with a self-signed certificate following these instructions. All works well when I'm connected to WiFi. However, 3G/GPRS connections won't work. Instead, I get a 'timed out' or 'connection refused' exception. So does anyone have an explanation for this? Any help is appreciated since this is time critical. Thanks in advance, steff 回答1: Alright, you guys were so right in pointing me to the certificate

Ubuntu下使用无线网卡共享WiFi(AP)

会有一股神秘感。 提交于 2019-12-06 07:43:51
方法一: 以前一直没有成功在ubuntu下开启过android可用的wifi热点. 但是最近使用ubuntu14.04 一次偶然的机会我安装了kubuntu-desktop,使用kubuntu-desktop时发现,使用其自带的网络管理器,比ubuntu默认的多了一种模式:ubuntu自带的网络管理器只有架构和Ad-hoc模式,而Kubuntu-desktop版的网络管理器多了一个Access Poin模式,而且可以选择创建wireless(shared),而ubuntu只能选择新建wifi. 但是假如我不想使用kubuntu-desktop而是使用ubuntu,怎样以这种方式开启android可用的wifi热点呢? 答案是,进入ubuntu软件中心,输入搜索network,选择kde-nm-connection-editor安装即可. 然后打开软件-新建-wireless(shared),然后模式选择Access Point即可开启. 方法二: Android是不支持Ad-hoc模式的WiFi.本文介绍在Ubuntu下实现软AP.(需要你的无线网卡支持AP,并且电脑是通过本地连接路由器而不是宽带连接上网的。) 使用工具hostapd,dnsmasq.我的环境是Ubuntu12.10;手机Android 2.3.4;网卡w311mi.有线网络使用静态的IP.

socket.io seems to be delayed on my Android phone

夙愿已清 提交于 2019-12-06 07:24:10
问题 EDIT 2: I observed the same behavior using server-sent events (SSE) . See example here. (Of course, it is one way). However, it seems more robust on my Nexus 5 and it doesn't lag frequently. Also it recovers/reconnects fast. EDIT 1: See also Websocket interval... on SO. I'm using a Nexus 5 with Chrome 45 to communicate to my laptop via wifi through the router. The server on my desktop is coded with node.js version 0.12.7 and I use socket.io 1.3.6. Here is the code for the server: 'use strict'

Connecting to localhost/index.php through my smart phone [closed]

百般思念 提交于 2019-12-06 05:56:52
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 last year . I want to connect to my localhost using my smart phone through WiFi. I got my IP via www.whatismyip.com , and got my smart phone to connect to my laptop successfully. However, when I type localhost as the web address in the browser of my phone, nothing shows up. How can I access localhost/index.php page through my smart phone? use your laptop wifi connection ip instead of localhost like 192.168.50.2. Are you sure