can I use gps from phone for my laptop - windows-8

I would like to know if is it possible to use gps module from my phone in my laptop.
I want to write an application (Windows 8 Metro) that uses geolocalization but my PC doesn not have a gps module. Is there some possibility to use phone as an external gps ?

Set up a web service. Create a phone application that will send geolocation data to the service. The service can then either fetch the data to the Metro Style application, or the application can pull the location data at specific time intervals.

Related

How to get WiFi MAC asdress on Windows Store App

I am looking for some api.
Can I get WiFi HotSpot MAC address on Windows Store APP ?
I know this is not possible in Windows Phone.
No, this is not possible in Windows Store apps either. This is at least partially because it would allow you to find the approximate location of users based on the nearby access points.

Serial communication in metro style app?

I am developing metro style app which should read data from external device using serial communication but unfortunately metro apps does not support "Serial and parallel port API ". So i thought to use hyperterminal to read data from serial port and use it in my metro application. Is there any way to access data directly from hyperterminal using c# in metro style app? If no is there any other way to access data from serial port in metro style app?
You cannot make this work with Hyperterminal either. The sandbox in which Store apps operate explicitly defeats any attempt a Store app might make to use a inter-process communication mechanism.
Do ask yourself if it makes sense to publish such an application in the Store. The odds that a user that visits the store will have the required hardware to make your app useful are extremely slim. These kind of apps will stay desktop apps for a long time to come. If the manufacturer of the device sees a market opportunity to get his device operating in store apps then he'll create a Store compatible driver for it. But that's up to them, you cannot do this yourself.

How to call a voice xml application?

I have a local installation of Voxeo's Prophecy platform, and a voice xml application that runs on the voicexml browser of the platform. How can i call the application to listen to the message, without having a sip phone, and without using the voxeo's hosting capability? I just want to call the application at the local installation without using a phone. When i try this from the browser, i just get the xml file containing the dialog.
Why are you trying to start the application without a SIP phone? The developer version of Prophecy comes with a SIP phone that works great for testing and debugging. Are you trying to access the application from a regular telephone or POTS. If that is the case you will need additional hardware, such as a Cisco VoIP Gateway to translate the land-line signal to SIP. There are a number of VoIP Gateways available. Another option is to put Dialogic cards in your server and use a software that translates between SIP and the Dialogic API. If you purchase Prophecy from Voxeo as an appliance there are options they can sell you to achieve this. The advantage of getting this from Voxeo is that they will help configure it, which is not trivial depending upon the type type of telephone lines you are using and whether they are behind a PBX or not.
The telephony/communications interface to Prophecy is SIP so that is the only way to communicate with it. You could use any open source SIP stacks to develop something yourself, but the easiest thing to do is to use a software based SIP phone. It is not like you could just start talking and the VXML app would know what you intended, or if the if the voice input was really intended for the VXML app. You still need to maintain things like sessions and routing to the correct application which is easily handled by a SIP phone. Prophecy is designed for a telephony environment. If you are trying to use it for something like a home automation system, which some people have, I would think you would have to provide some type of SIP front end that is voice activated.

VB app needs Windows TS thin client unique ID

I have a custom bar code app running on .Net 2.0 framework and installed on a Windows Terminal Server. I’m using HP type thin clients and they are pulling their desktop from the TS that has my barcode app installed on it.
For the most part, the barcode app runs with no problem. The only issue I have, is that my barcode app needs to print labels to a specific printer based on the work center that the thin client is located in. The barcode app was designed to route the labels based on the device name (Windows name) of the system that the barcode transaction originated from.
I have a full blown Windows XP Pro system also running the barcode app and I have no problem with the label routing because each of those type systems has a unique name that I can use for routing. Where I’m running into a problem is that the barcode app running from the thin clients, appears (from the barcode app’s point of view) to running from the Terminal Server not the individual thin clients.
Does anyone have any idea how I can pull some type of unique identifier from these thin clients to use within the barcode app to use for routing of the labels?
That is a tricky problem. If your thin clients have set IP addresses though, I think I have a solution for you. I found an article that explains how to get the RDP client IP address (not the server's address). This will have a problem if you are going through a NAT but if you are connecting directly using RDP, it should work:
http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/857af1fe-75a4-4845-b989-f18636f296c9/

VoIP App using Sailfin

I'm looking at developing a VoIP application running on Sailfin (https://sailfin.dev.java.net/).
I have the server up and running and a sample app installed. What I want to be able to do is:
Receive calls from my landline in my VoIP application.
Make calls from the application to other numbers in the PSTN.
The part I'm not sure about is what hardware do I need between the landline jack and my dev box?
Thanks!
You need to look at Asterisk and hardware used to support it.