I want read one file .txt in root folder of my project into my database at first time application launch, but I don't know how to do that. Anyone know how can I do that, please help me... Thanks
I'm working in Windows Phone 8.1 Runtime.
I want read one file .txt in root folder of my project into my database at first time application launch, but I don't know how to do that. Anyone know how can I do that, please help me... Thanks
I'm working in Windows Phone 8.1 Runtime.
If you want to read a file from your project you can for example do it like this:
Also please ensure that you have set the Build Action of your file as Content (it should be as default).
More about URI schemes you will find here at MSDN.
A slightly different way to access the file:
It can only run in
Windows Phone 8.1
. No previous version of windows phone (Windows Phone 8
,Windows Phone 7
) would be able to run your app.