android Programming Glossary: audiofile
How can I show a MediaController while playing audio in Android? http://stackoverflow.com/questions/3747139/how-can-i-show-a-mediacontroller-while-playing-audio-in-android private static final String TAG AudioPlayer public static final String AUDIO_FILE_NAME audioFileName private MediaPlayer mediaPlayer private MediaController mediaController private String audioFile private Handler handler.. AUDIO_FILE_NAME audioFileName private MediaPlayer mediaPlayer private MediaController mediaController private String audioFile private Handler handler new Handler public void onCreate Bundle savedInstanceState super.onCreate savedInstanceState setContentView.. public void onCreate Bundle savedInstanceState super.onCreate savedInstanceState setContentView R.layout.audio_player audioFile this.getIntent .getStringExtra AUDIO_FILE_NAME TextView findViewById R.id.now_playing_text .setText audioFile mediaPlayer..
upload an image and audio in One request in android http://stackoverflow.com/questions/7037717/upload-an-image-and-audio-in-one-request-in-android new StringBody somevalue entity.addPart myImageFile new FileBody imageFile entity.addPart myAudioFile new FileBody audioFile httpost.setEntity entity HttpResponse response response httpclient.execute httpost and for php side you can use these entity..
|