i have a question. If there is a possibility at windows phone 8 at visual studio to create button event to read text file? i know about streamReader and if i declare wchich exacly file i want to read, but if i want to choose from list of files wchich i want to display. i did research on the Internet but i didint find an answer. I know i can use isolatedStorage to read music, video, image but not text files, on the app i created few files with text in it and i want users to have posibility to display one from this file, whichever they want to see. So, can you tell me how to do this?
Windows Phone 8 choose text file C#
180 Views Asked by Karolina At
2
There are 2 best solutions below
0
user3074358
On
With Windows Phone 8.1, File Pickers are allowed, consisting the same functionality you are expecting, so probably you might want to upgrade your app to WP8.1.
Here's more info on this API : Working with File Pickers
Related Questions in WINDOWS-PHONE-8
- Deployment failed because no Windows Phone was detected when using Windows Phone Emulator
- Ellipsis inside button content Windows Phone
- Binding.StringFormat doesn't adhere to CultureInfo.CurrentCulture
- Deploy enterprise (in-house) application on windows phone without developer unlocking the phone?
- Application configuration files for Windows Universal app
- Cordova 'deviceready' event firing twice on wp8
- Input cursor windows phone phonegap
- How can I create a simple text file on a windows phone (8.1) that can be accessed trough USB cable?
- Windows Phone 8.1 : how to Launch an Installed app From My app
- Receiving shared content using windows phone 8.0
- How can we run camera as background view in windows phone 8?
- Windows Phone local toast notification Text wrapping and image is not showing
- OneDrive SDK & background task WP8.1
- Windows Phone 8.1 Emulator Xde.exe stops working when clicking on "tools"
- FileNotFound when renaming photo WP8
Related Questions in TEXT-FILES
- PHP: Insert line break after every $num word in a text file
- Why does opening a file in two different encodings work as expected?
- find a string in text file and create bytes from The rest of the file c#
- Cannot open: c:\users\...\temp\package.cab when running Process.Start
- MS Access: Linked Text File data doesn't change when pointed at a new file
- Is it ok to load a 2M text file to a Java String at runtime?
- Is it possible to send the content of text file over PuTTY over a serial port?
- Reading a text file in PowerShell after of a marker
- Store patient information into text file and load it afterwards
- Unique words save to text file as a word per line
- Reading tab (\t) separated text from file in shell
- Shell script file, checks if text file is empty or not
- Need to update a text file with new content found in an other text file
- Why has the textfile's encoding changed from UTF-8 to ANSI (and how to solve this)?
- Read from file fast
Related Questions in STREAMREADER
- Exclude last line from StreamReader in C#
- How do I edit/replace a specific value in a .txt file using StreamWriter?
- InputStream vs Reader
- Why does my StreamWriter overwrite my whole .txt file?
- Can I put StreamReaders in a list? Or any other way to read a lot of text files at once?
- Easiest way to Add lines wrong a .txt file to a list
- C# Can't read some characters from a file
- StreamWriter Not working in C#
- Asynchronously manipulating data from streamReader in F#
- "stream was not readable" ArgumentException when using ReadAsStreamAsync with StreamReader
- Read HttpContent stream until a character limit using StreamReader
- Accessing a local text file in a WPF Application
- Selectively read, store text in VB
- streamread can't read any data from NetworkStream in c# ,
- c# What is this delegate within a sort
Related Questions in ISOLATEDSTORAGE
- Collection Modified exception when saving isolated storage settings in windows phone 8 application
- WP 8.1 - How to save an image to Isolated Storage if know it's URL
- IsolatedStorageSettings class object local folder location
- Windows Phone 8 choose text file C#
- WP7 - IsolatedStorageSettings using IF STATEMENTS?
- How to export the Sqlite file in root of the application in windows phone
- How to make IsolatedStorageSettings persist even after the device/emulator is turned off?
- retrieve values by delimiters
- Storing more than one value into Isolated Storage
- Definition of resource ID not found when trying to write to IsolatedStorageFile
- set textblock of isolated storage
- Transferring video off the phone from isolated storage
- storing resource image to isolatedstorage throwing System.NullReferenceException
- Silverlight Isolated Storage using only Javascript API
- Why am I getting FileNotFoundException when using FileMode.OpenOrCreate?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use
IsolatedStorageto read any file type you wish. You must of been using something like aLauncherthat filters out the file type based on the Chooser.You can open a file like this:
If you want to get the PackageLocation (files that you added into the project like assets and images) then replace the
LocalFolderwith