wifi

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

你说的曾经没有我的故事 提交于 2019-12-18 11:29:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . 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 回答1: Adobe AIR,

Force Android to Use Wifi network with no internet

有些话、适合烂在心里 提交于 2019-12-18 10:42:41
问题 I am building an android app that needs to communicate over a WiFi network that will not have any internet access. The problem is that even when the WiFi is connected android chooses to use cellular/mobile data when no connection internet is present on the wifi network. I have read many posts on the issue many of which involve rooting the device but that is not possible with a production app (rooting devices is not an option). other solution (like my code bellow) suggest using

Connect two android phones with wi-fi (without laptop or access point) and send file

爷,独闯天下 提交于 2019-12-18 10:37:29
问题 Is it possible to connect two android phones by wi-fi, without using a bluetooth/GSM/CDMA/IR? Also, there is no any laptop or wi-fi access points or wi-fi routers. I think, that it is possible to create some SSID on both phones, do a static configure of IP addresses. Will android connect to another's android wi-fi? If they will be connected, how can I send a file from one phone to second? Is there a ftp-client and server? or Can I ssh to other phone? Or telnel/netcat? Maybe http ? 回答1: This

How to improve accuracy of indoor positioning?

一曲冷凌霜 提交于 2019-12-18 10:30:27
问题 I should be developing an indoor positioning system for some place , so I started by gathering info about how to develop such a system , the question I am up to now is : what controls the accuracy of positioning and how to improve it ? I found different APIs and projects with various accuracies , for example : ericsson indoor positioning API provides an accuracy within 10 meters , while Qubulus API provides an accuracy within 4 meters , and I met some projects like iDOCNET which claims to

How to improve accuracy of indoor positioning?

牧云@^-^@ 提交于 2019-12-18 10:30:05
问题 I should be developing an indoor positioning system for some place , so I started by gathering info about how to develop such a system , the question I am up to now is : what controls the accuracy of positioning and how to improve it ? I found different APIs and projects with various accuracies , for example : ericsson indoor positioning API provides an accuracy within 10 meters , while Qubulus API provides an accuracy within 4 meters , and I met some projects like iDOCNET which claims to

I want to work with Wifi with Delphi. How?

久未见 提交于 2019-12-18 10:29:59
问题 In my Delphi (on Windows Xp) program I'd like to check available WiFi networks. Do you have any idea how to do it? Best is probably to use MS WlanScan API function but I did not found an example. Can someone help me? 回答1: You can use the Native Wifi API, available since Windows Vista and Windows XP. Older versions of Windows are not supported. In this link you can find a very nice translation of the headers. I wrote this code using these headers. Tested in Delphi 2007 and Windows Vista.

android.net.wifi.STATE_CHANGE: not triggered on Wifi disconnect

半腔热情 提交于 2019-12-18 10:19:38
问题 Is it normal to only have a broadcast intent with action NETWORK_STATE_CHANGED_ACTION (whose constant value is android.net.wifi.STATE_CHANGE ) when a Wifi connection is coming back up? I.e. I don't get this intent when Wifi is being disconnected. UPDATE: I am mostly interested to >= 2.2 Froyo 回答1: public static final String SUPPLICANT_CONNECTION_CHANGE_ACTION Since: API Level 1 Broadcast intent action indicating that a connection to the supplicant has been established (and it is now possible

How can I enable and disable WiFi connectivity with a jailbroken iOS device?

给你一囗甜甜゛ 提交于 2019-12-18 05:22:33
问题 How can I programmatically enable and disable WiFi connectivity with a jailbroken iOS device? 回答1: void SetWiFiMode(BOOL mode) { void* manager = WiFiManagerClientCreate(kCFAllocatorDefault, nil); if (mode) { WiFiManagerClientSetProperty(manager, CFSTR("AllowEnable"), kCFBooleanTrue); } else { WiFiManagerClientSetProperty(manager, CFSTR("AllowEnable"), kCFBooleanFalse); } CFRelease(manager); } To use this your application entitlements should have com.apple.wifi.manager-access key with boolean

Maintaining communication between Arduino and Java program

不羁岁月 提交于 2019-12-18 05:12:29
问题 I have gotten a project in school that consists of a RC car that gets controlled over WiFi. It works just fine for a few seconds, but then it just stops the connection and tries to reconnect again. Thing is that if i'm making a car that relies on that unstable connection, it can cause accidents. Either to itself or a person. Perhaps i'm doing something wrong? My question is, how do i keep that connection active at all times? Here is my program so far: Arduino Client: #include <SPI.h> #include

How to programmatically open the WIFI settings in Objective-C on iOS 10

你离开我真会死。 提交于 2019-12-18 04:48:12
问题 The following code works fine on iOS 9, see this post. But it doesn't work on iOS 10. How to open WIFI settings programmatically on iOS 10 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]]; 回答1: The same exact code should work, but for iOS 10 you need to do some additional work by adding "prefs" to the URL Types: After selecting your target: Navigate to "Info" tab. After scrolling to bottom, you should see "URL Types" section. Add a new one (by clicking on