Android的搜索阵列和检索音频文件 [英] android search array and retrieving audio files

查看:154
本文介绍了Android的搜索阵列和检索音频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好进出口新的android开发,我需要在retriving数据的帮助。

Hi guys im new to android development and i need help on retriving data.

进出口工作的音频文件。在数据库中,我有2列一个是文本,另一个是音频文件的目的地。

Im working on audio files. In database i have 2 columns one is text the other is destination of the audio file.

1)用户输入文本:欢迎到Android
2-),我得到的文本并放入数组是这样的:

1-) User enters text: ''welcome to Android' 2-) And i get that text and put in an array like this:

my_array [0] =欢迎;
my_array [1] =到;
my_array [2] =的Andr​​oid;

my_array[0] = welcome; my_array[1] = to; my_array[2] = Android;

3),然后用循环就必须把这些文本的音频文件的目标(这是在原始文件夹中)(welcome.mp3,to.mp3,android.mp3 ...)
4-)然后播放这些音频。

3-) Then with loop it must bring destination of these texts' audio files (which is in the raw folder) (welcome.mp3, to.mp3 , android.mp3 ...) 4-) Then play these audios .

我怎样才能做到这一点?谢谢

How can i do that ? thanks

推荐答案

从这个链接下载zip文件,并看一看的记事本应用程序

Download the Zip file from this link and Take a look at Notepad Application

这篇关于Android的搜索阵列和检索音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆