Titanium iPhone:如何以编程方式访问语音备忘录并将声音对象存储在文件中?
当我希望用户分享他的语音备忘录记录时,我正在编写一个 Titanium iPhone 应用程序。
有两种选择: (1)记录->保存->分享 (2)浏览语音备忘录->分享
我在这两方面都面临问题。在(1)中,我设法录制音频并播放它。但我很困惑如何将这个录制的声音对象转换为文件对象,以便我可以共享该文件。在(2)中,我无法找到以编程方式访问语音备忘录记录的方法。
有什么帮助吗???
I am writing an Titanium iPhone app when I want user to share his Voice Memos records.
There are two options :
(1) Record -> save -> Share
(2) Browse Voice Memo -> Share
I am facing issue in both of this. In (1) I managed to record an audio and play it back. But I am confused how to convert this recorded sound object to file object so that i can share that file. and in (2) I am unable to find out a way to get access to Voice Memos records programmatically.
Any help???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不知道什么是语音备忘录,但我可以帮助您解决第一个问题:
don't shure what is Voice Memo, but i can help you with 1st issue:
问题1的解决方案:
您可以直接创建一个文件对象,然后将记录的数据写入其上,
问题2的解决方案:
我不确定钛合金中是否提供语音备忘录。
Solution for issue 1:
You can create a file object directly and write your recorded data on it like this,
Solution for issue 2:
I am not sure if Voice Memos are available in Titanium.
经过大量研究后我设法保存声音文件。
问题 1 的解决方案:
仍在解决第二个问题。有什么帮助吗???
I managed to save sound file after a lot of research.
Solution For issue1:
Still working out for second issue. Any help???