android 谷歌发音

2023年3月28日

http://translate.google.com/translate_tts?ie=UTF-8&q=nima&tl=en&prev=input

 

package google.fayin.activity;

import android.app.Activity;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;

public class MainActivity extends Activity {
	
	String[] cailiao = {"hello","word","i","love","you"} ;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
//        String path="http://translate.google.com/translate_tts?ie=UTF-8&q=hello&tl=en&prev=input";     //这里给一个歌曲的网络地址就行了
//        Uri  uri  =  Uri.parse(path);
//        MediaPlayer   player  =   MediaPlayer.create(MainActivity.this, uri);
//        player.start();
      

        String word = "" ;
        for (int i=0; i 

服务器托管,北京服务器托管,服务器租用 http://www.hhisp.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net

hackdl

咨询热线/微信 13051898268