- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
android 获取多媒体信息之音频文件(国外英语资料)
android 获取多媒体信息之音频文件(国外英语资料)
Audio file of the android multimedia information 2011/06/22 07:36 p.m. Music file attributes generally preserved in the music files, some in the file header, some on the end-of-file, must read the file related the contents of the byte can get music file information. There is an open source project that can parse the file information in an MP3 file. But its also a time-consuming operation. The system will call MediaScanner to scan the Internal and External Volume. Originally, the system would scan memory and external storage devices in the background, and update the multimedia data to the database. It also scans the file information so that we can solve the problem without effort.
Well, look at the code below, and it should be clear, based on the path of an audio file that is given:
Start by setting up a class Song that holds audio file information:
Package com. Android. Music;
/ * *
* Song
*
* this is the message set for song
*
* @author wenliang Created: 2011.06.22
* /
Public class Song {
/ * *
* fileName
* /
Private String mFileName = ;
/ * *
* song name
* /
Private String mFileTitle = ;
/ * *
* play total time
* /
Private int mDuration = 0;
/ * *
* singer
* /
Private String mSinger = ;
/ * *
* album name
* /
Private String mAlbum = ;
/ * *
* mYear
* /
Private String mYear = ;
/ * *
* mFileType
* /
Private String mFileType = ;
/ * *
* mFileSize
* /
Private String mFileSize = ;
/ * *
* mFilePath
* /
Private String mFilePath = ;
/ * *
* getmFileName ()
*
* @ return
* /
Public String getmFileName () {
Return mFileName;
}
/ * *
* setmFileName ()
*
* @ param mFileName
* /
Public void setmFileName (String mFileName)
Enclosing mFileName = mFileName;
}
/ * *
* getmFileTitle ()
*
* @ return
* /
Public String getmFileTitle () {
Return mFileTitle;
}
/ * *
* setmFileTitle ()
*
* @ param mFileTitle
* /
Public void setmFileTitle (String mFileTitle)
Enclosing mFileTitle = mFileTitle;
}
/ * *
* getmDuration ()
*
* @ return
* /
Public int getmDuration
您可能关注的文档
- (转)美国人教你这样用Google,你真的会变特工~~~()(国外英语资料).doc
- (medical) the point of knowledge of the TXT ().((医学)断层解剖TXT版知识要点())(国外英语资料).doc
- (下末)五年级语文期末试卷((bottom) fifth grade Chinese final examination paper)(国外英语资料).doc
- (关节脱位、脊柱骨折)((joint dislocation, spinal fracture))(国外英语资料).doc
- - Oracle backup and recovery and use the problem set () in the Oracle9i process.(- Oracle备份与恢学习并使用Oracle9i过程中的问题集())(国外英语资料).doc
- 05-2-1. What kind of future can the Chinese wang reduce(05-2-1.汉王降价,能降出个怎样的未来)(国外英语资料).doc
- 03-3-5. Cloud computing makes the future full of imagination(03-3-5.云计算让企业未来充满想象)(国外英语资料).doc
- 02-hub (HUB)(02-HUB(集线器))(国外英语资料).doc
- 09防火墙(国外英语资料).doc
- 1-5年的积累背诵(国外英语资料).doc
- android4.0 wifi模块详细解析(国外英语资料).doc
- Android人才严重短缺 培训机构学员起薪5000元(国外英语资料).doc
- android四大组件(国外英语资料).doc
- Android多点触控技术解析(国外英语资料).doc
- Ansys memory setup problemansys内存设置问题(国外英语资料).doc
- answer_oracleanswer_oracle(国外英语资料).doc
- Ansys10.0 installs the methodAnsys10.0安装破解方法(国外英语资料).doc
- APK complete hanghua tutorialAPK完全汉化教程(国外英语资料).doc
- AP fat switchAP胖瘦切换(国外英语资料).doc
- arm11(国外英语资料).doc
最近下载
- 北师大版六年级数学上册《分数混合运算(一)》教学设计.pdf VIP
- 安宁疗护(Hospide)考试题库(含答案).docx VIP
- 2020新译林版高中英语选择性必修一全册单词表.docx VIP
- 企业组织架构培训PPT模板.ppt VIP
- DB50∕T 1807-2025 承压设备射线检测缺陷自动识别系统评价方法.pdf
- 廉政党课PPT课件含讲稿:年轻干部违纪违法案例警示教育.pptx VIP
- 智能网联汽车技术教学课件项目十.docx VIP
- 第1单元第2课《缤纷的世界美术流派》课件-2025-2026学年人美版(2024)初中美术八年级上册.pptx VIP
- 河北高速公路集团有限公司招聘笔试题库2024.pdf
- 第一单元+第2课《缤纷的世界美术流派》-2025-2026学年人美版(2024)美术新教材八年级上册.pptx VIP
文档评论(0)