Answered by:
is it possible to read data from serial port in metro app?

Question
-
I have read this http://social.msdn.microsoft.com/Forums/en-US/tailoringappsfordevices/thread/7c61973a-c371-43e6-952c-3598f0967c82, it seems no way to directly contact serial port in WinRT.
I'm wondering if it's possible to have workaround to read data from serial port in metro style app? We need to integrate a library in metro app which will read gps data from serial port.
- Edited by Dong, Yi Friday, March 2, 2012 6:31 AM
Friday, March 2, 2012 6:30 AM
Answers
-
Have you looked into creating a GPS sensor driver for your device?
- Marked as answer by Eric Hanson-MSFTModerator Thursday, March 29, 2012 1:32 AM
Wednesday, March 7, 2012 7:09 PMModerator -
This isn’t a scenario we targeted. The option of last resort – is you write a custom driver, which isn’t an option for everyone, and even then it can only be accessed by one privileged app declared in device metadata. A desktop app may be a better answer.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Tuesday, September 25, 2012 12:20 AM
Tuesday, September 25, 2012 12:19 AMModerator
All replies
-
Dong, Yi,
I am looking into this for you.
Best Wishes - Eric
Saturday, March 3, 2012 2:36 AMModerator -
Thanks eric.
One more question, can metro app connects to specialized device access serial port?
Monday, March 5, 2012 12:16 AM -
Is this an actual serial port or a USB serial port?Tuesday, March 6, 2012 6:12 PMModerator
-
I think the gps device will use USB port on most laptops.Wednesday, March 7, 2012 5:30 AM
-
Have you looked into creating a GPS sensor driver for your device?
- Marked as answer by Eric Hanson-MSFTModerator Thursday, March 29, 2012 1:32 AM
Wednesday, March 7, 2012 7:09 PMModerator -
wait for Eric's reply.
Dong Yi,it's seems that we are face the some scenario and the same problem to solve.
Thursday, September 20, 2012 3:05 AM -
This isn’t a scenario we targeted. The option of last resort – is you write a custom driver, which isn’t an option for everyone, and even then it can only be accessed by one privileged app declared in device metadata. A desktop app may be a better answer.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Tuesday, September 25, 2012 12:20 AM
Tuesday, September 25, 2012 12:19 AMModerator