wifi

Android application not connecting to Wifi ,but works fine in 3G shared through Wifi

此生再无相见时 提交于 2019-12-03 03:50:47
Hi, I am not able to understand why my android application does not work when it accesses the internet through WiFi. The application is able to work when it uses its own 3G connection. It doesn't connect to WIFI. But if I share my 3g connection which i have in my iPhone through WiFi (tethering) the android device can access the server. I checked the application in various devices, and changed the manifest as follows, still no response. The code that doesn't connect is a login page. I followed normal php script,but it not connecting to that script in WiFi, Thanks in advance <?xml version="1.0"

For UDP broadcast gurus: Problems achieving high-bandwidth audio UDP broadcast over WiFi (802.11N and 802.11G)

不问归期 提交于 2019-12-03 03:46:52
I'm attempting to send multichannel audio over WiFi from one server to multiple client computers using UDP broadcast on a private network. I'm using software called Pure Data, with a UDP broadcast tool called netsend~ and netreceive~. The code is here: http://www.remu.fr/sound-delta/netsend~/ To cut a long story short, I'm able to achieve sending 9 channels to one client computer in a point-to-point network, but when I try to do broadcast to 2 clients (haven't yet tried more), I get no sound. I can compress the audio and send 4 channels compressed (about 10% size of uncompressed) over UDP

ADB Wireless Device Unauthorized

南楼画角 提交于 2019-12-03 02:38:49
When connecting a device (like LG G2) with ADB Wireless, the device shows up as unauthorized. Why does this happen? From Android 4.2, every ADB device needs to be authorized for a computer to connect. This is done for security. So when a USB is connected a prompt comes asking to authorize the device when USB debugging is set. But does not happen for WIFI ADB. So the workaround is to connect the device by USB, accepting the machine always. Then when the Wireless ADB is tried, it should work. Solution 1 Connect device(over USB) to computer. 2 Authorize adb device, so it can communicate(handshake

How does the iPhone learn new WiFi locations in terms of using them for location estimates

不想你离开。 提交于 2019-12-03 02:31:40
I know the iPhone can and does use WiFi proximity to get approximate location. This obviously only can occur when some database in the sky knows the approximate location of that WiFi hotspot. My question is how do hotspots get into that db? Is it automatically added whenever the iPhone has a reasonably accurate GPS position and detects the WiFi or is there some manual or programatic way of adding hotspots? Apple uses their own database since iOS 3.2 (prior to that they used Skyhook Wireless). This works by sending WiFi MAC addresses to Apple by GPS-enabled iOS devices. So if the device has a

Multicast Support on Android in Hotspot/Tethering mode

廉价感情. 提交于 2019-12-03 02:07:29
I have a prototype Android app that is listening for multicast packets to 'discover' clients to communicate with. The socket set up is similar to this: InetAddress group = InetAddress.getByName("228.1.2.3"); MulticastSocket s = new MulticastSocket(4000); s.joinGroup(group); This works very well when all the devices are connected via WiFi. I would like to support this with the phone acting as a portable hotspot. However, while all my devices appear to connect to the hotspot correctly I no longer receive multicast data. I'm wondering if there are restrictions that disallow this type of

Android ESC/POS Printing Over WiFi

*爱你&永不变心* 提交于 2019-12-02 23:02:08
I want to write an Android app which will do following in steps and I want you to help me find right APIs for them to speed up the process. The printer I am going to use supports ESC/POS protocols. Find all printers nearby using WiFi. It will select one printer may be first one. It will send a text document to printer for printing and will see if it was printed successfully. I found some APIs like this . I believe my problem is similar to this post I have been looking into this for a long time. There are almost no APIs out there, much less good APIs. The only one I have gotten to work so far

How can i check my android device support wifi direct?

无人久伴 提交于 2019-12-02 21:29:04
I am working with android wifi direct demo application. After installation in my device I noticed that it is not working as expected. I am confused, does my device support wifi direct or special hardware feature required for wifi direct? My device is local walton brand and API level 16. After reading android documentation i know that Wi-Fi Direct added in API level 14 doesn't need a wireless access point. My other question is if in a place where no wifi zone is created using wifi direct two or more device communicate with each other. in summing my problem, i need to know if my device not

Indoor Custom Maps Application

笑着哭i 提交于 2019-12-02 21:23:11
I am currently in the research phase of my project on Android. I am interested in developing indoor custom maps application. There are 2 problems I am currently facing in this: I can't use GPS as it won't work in the indoor settings like a building or a mall I can't use Google Maps API as I need to show my location on a indoor custom map(like a floor-plan of a building). I'm assuming here that I have the custom map of the building or mall. Now my goal is to find location of the Android phone using some methods and display it on the custom map.To find the location I have following options, Use

Need Reachability version for ARC in iOS5

安稳与你 提交于 2019-12-02 18:52:48
Using Apple's Reachability code in iOS5 I get a bunch of compilation errors as shown below. Any ideas on what is happening here? I'm using ARC so I have edited the standard code slightly to remove autorelease/retain and the NSAutoReleasePool . Undefined symbols for architecture armv7: "_SCNetworkReachabilityCreateWithAddress", referenced from: +[Reachability reachabilityWithAddress:] in Reachability.o "_SCNetworkReachabilityCreateWithName", referenced from: +[Reachability reachabilityWithHostName:] in Reachability.o "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from: -[Reachability

how to send data from iphone over wifi to application, to print message

懵懂的女人 提交于 2019-12-02 18:16:36
i would like to know how to do the following: step 1: how to send the following string from the iphone to a mac computer via WIFI when a user presses a button. string to be sent: "hello". step2: how to receive that string with an application i would have to create. it will be very simple. it will have no interface, except it will just print out the message. How do i achieve something like this. I've never sent a signal over WIFI with the iphone programming. Can someone guide me please? Ben I'll quote myself from a similar question: How can I create a small Mac app that receives data over the