0
Answer

Show all resources in LongList added in Solution Explorer C#

Aditya Patil

Aditya Patil

10y
758
1
I am developing and windows phone app, in that I added many resources like images, pdfs, documents, mp3, videos in Solution Explorer.

I added the LongListSelector on the first screen of Windows Phone app, in that I want to show list of all these resources how to write code for that, and when I will click on any item it will open the file. I want help regarding it, in C# language

How to fetch the names of all those resources???

Code:

<phone:LongListSelector x:Name="files"/>

Added in the Solution Explorer
MAIN.png
ek pyar ka nagma hai.mp3
Innovation Jockey2.avi

How I can show these with the Logo of each file and name in LongListSelector?
Can you tell me code for it? xaml & C# code.