I just started to build an App for Windows Phone 7 and I want to know if the WP7 support the ad hoc connection for app since I want to use the ad hoc connection to do something for my app. Actually I searched the library and I don't get anything useful related to this issue.
Actually what I want to do is to connect two phones via the ad hoc network. My app initiates the ad hoc network wait for other phone running the same app to join the network and communicate
No. WP7 does not allow you to create an adhoc network through the public APIs.
If you have 2 devices on the same wireless netowrk you can create a UDP conenction between the two though.
Related
I am working on a network controller based on Raspberry Pi 2. I have nicely working WiFi AP, DHCP server, captive portal (via DNSmasq) and a web server. The unit is fully offline, no internet access is available.
My only problem now is that users need to initiate interaction by running their browser and typing in a random domain so they are served my content.
I was searching the internet for a way to make my iPhone initiate captive network assistant, but couldn't find a way to do so on iOS 8.
Given that my network is offline with no access to the internet it is clear to me that my iPhone detected a captive portal as it presumably pings many websites in order to determine it's online status. Why doesn't it display my login screen automatically?
Is there a way for a privileged Firefox OS app to detect if the WiFi is connected to a network? I am aware of https://developer.mozilla.org/en-US/docs/WebAPI/Settings but that API is only for certified apps. All I need to do is detect whether the phone is connected to a network or is not connected.
You need to use the Network Info API, which provides you with values about the bandwidth (Mb/s estimate) and if the current connection is metered (mobile data vs Wifi).
metered should be enough to tell if the user is on wifi. There is no need to read the Settings! This API is even accessible for web apps.
Check the window.navigator.onLine property
Our windows store app allows user to manage (create or dial) VPN profiles.
For this functionality we use
RAS Api (create and dial VPN profile)
RAS Api
Wlan Api (listen to wifi networks) - will be changed to classes with Windows.Networking.Connectivity in windows8
Wlan Api
We face following troubles for Windows Store application:
RAS API functions don't work properly under windows store application template (as example RasEnumDevices return error code 5 - Access Denied).
However it works good from desktop application launched on windows 8.
Question: how we could get RAS API to work under window store applications? If that is absolutely impossible - is there any other way to create VPN connection in app developed for Windows Store?
All user's VPN profiles stored by Windows OS in "..\Microsoft\Network\Connections\Pbk\rasphone.pbk", file could be found on file system manually, but we don't have access to this file via API, either we can't access it directrly. Current workarround uses own created PBK file located in users profile folder.
Question: how we could get access to system VPN connections stored in OS.
Thanks.
Hotspot Shield VPN for Windows offers private browsing to ensure the privacy of your web session.
Check it out here: http://www.anchorfree.com/hotspot-shield-VPN-download-windows.php
I currently create a SL/XNA application.How should I do if the user A want to connect to user B through the application?
Here are two ways you can do this:
Create web services that both phones connect to and build logic to allow the two to communicate via the services.
Ex: http://msdn.microsoft.com/en-us/gg241261.aspx
Use SignalR to allow both phones to talk to each other in real time. You can open up the SignalR WP7 solution and take a look.
Example: http://www.silverlightshow.net/items/Windows-Phone-SignalR-Awesome-Possibilities.aspx
Github: https://github.com/SignalR/SignalR/
Wiki: https://github.com/SignalR/SignalR/wiki
Hope this helps!
I'm trying to find a way of automatically discovering and communicating with a local network service running on desktop/laptop. Much like the Zune's wifi sync feature.
iPhone can do this using Bonjour service. Is there anything like that on WP7 platform? Any other suggestions?
There is currently nothing like this available in the SDK.
Network operations are currently very limited and you're restricted to HTTP based connections. I'm not sure how useful that would be for the scenario you describe.