Languages

Menu
Sites
Language
Correct way to read files from USB device in TV app

Hi all,
what is the correct way in Tizen.NET for TV App to read content from USB files attached to the TV?
Trying with the emulator different ways:
-Tizen.System.StorageManager not return any avaiable device even if it is connected
-Tizen.Usb throw an exception saying that is not supported
-Reading directly with System.IO from "/opt/media/USBDriveA1" works in the emulator but not in the real device(and I don't like to hardcode path)
Can you give me some guidance?
Thanks
 

Responses

2 Replies
Tizen .NET

Hello,
Could you test it with this sample app first?
I checked that there was no errors when testing on tv emulator and tv device.
For samsung tv emulator, we need to test it after temporarily mounting the host directory with "Emulator Control Panel / VirtualUSB" menu.


Thanks.

Ap

Thanks, your example works. Then it seems that the correct way to develop it is to use the StorageManager class: these is should be something wrong in my app, I'll inestigate about it.

Thanks again.