How do i get duration,album,singer,etc of a media file,not only mp3 format but including video file also in MFC, i have opened an OPENFILENAME dialog and want to retrieve the media file' infomation when select on a media file. please help me to get over it. Thank's so much!
Use IShellFolder2::GetDetailsOf
Here is a discussion in a German forum but you can easily extract sample code there.
Related
With spreadsheet such as application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
If a similar MIME-TYPE file has already been downloaded then when trying to open it frefox will add a .xlsx to the correct .xls extension making it un-openable
Looks like a glitch that has already been reported:
Bugzilla link
I'm a beginner at App Inventor and I don't know what I'm doing wrong with the sharing component. I'm trying to share a sound file but it gives me the following error:
No Activity found to handle Intent { act=android.intent.action.SEND flg=0x1 (has clip) (has extras) }
The code is the following:
I also tried the following things:
This doesn't work.
This reproduces the sound perfectly. That means that the picker works and the file exists.
I put a file in my root folder and it works but I want to send the file which was picked from the list which is in the following folder "/storage/sdcard0/MyDocuments/Downloads/app_inventor_1431867799168.mpeg".
I don't know where is the problem and I look in a lot of forums and none of the solutions solved my problem.
Thanks for your help.
PD: I just found that the downloaded files are stored in .MPEG format which it is a compressed format. It is possible that sharing function don't find any app that accept this type of format. If this is the problem please tell me what I have to do to make App Inventor to not change the original .mp3 file.
ok, problem solved as I said in the PD part the problem was that by default App Inventor stores the audio files in to MPEG format. This format is not recognized by whatsapp, gmail, etc...
Solution was to set a name to each file when I download them that ends with .mp3
With this extention the programs of my device recognize them and now I can share my audio files.
Thanks to everyone that was trying to solve this problem.
i want to implement the possibility that people can comment on a picture, that is
displayed to them in the app. And that all other users can see the comments.
I was thinking about using a xml file in which the comments are put. And everytime
the app starts, this xml file is opened and the comments are displayed.
Would something like this work? Or is there a better possibility?
The other thing is, where to save this xml file? Could it be uploaded to skydrive / dropbox
from the app automatically?
You can save your xml in SkyDrive. Have a look at the Live SDK:
http://msdn.microsoft.com/en-us/live/ff621310
(Keep in mind if you share the file with a read & write hyperlink everyone who is able to view this link can read & edit your xml file.
Maybe you can create a Live-ID only for your App to get access to SkyDrive folders & files.)
I'm working with Flowplayer captions plugin http://flowplayer.org/demos/plugins/flash/captions.html and I need references/links in subtitles. When I've built into srt file link like click this link to flowplayer.org
then the flowplayer stuck on parse processing and last message was only
org.flowplayer.captions::Caption : captions file loaded, parsing cuepoints
Please prompt me how to resolve this problem. Thanks
I've resolved this problem by commented out some piece of code in source code. This code checks for XML subtitle format and fails when it reads linked html code.
I'm using WMP engine to convert audio to WMA format, but I didn't see any API that I can put a alubm art to WMA file. is there a way to do that? Thanks in advance.
Give this post a try.
You can do it by using MediaCatalog,which gives you an API to do this sort of thing, as explained in the link.
Check out TagLib Sharp. I have once used this to read album art. I am sure you can useit write it back too.