Did that help for getting access to the media library?
@Neotechni:
I created the Ultimate Audio Library.
This lets you access properties of MP3 files. (Artist, composer, album, etc) and lets you also write to the metadata of an mp3 file.
Tomas
@Neotechni:
I created the Ultimate Audio Library.
This lets you access properties of MP3 files. (Artist, composer, album, etc) and lets you also write to the metadata of an mp3 file.
Tomas
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.provider.ContactsContract.CommonDataKinds.Phone;
import android.view.View;
public class MyApp extends Activity
{
View view;
private static final int PICK_CONTACT = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
public void callIntent(View view) {
Intent intent = null;
switch (view.getId()) {
case R.id.b1:
intent = new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI);
startActivityForResult(intent, PICK_CONTACT);
break;
That wasnt it. I want access to the mediastore, so I can search for all music on the device by category (all/album/artist/etc)
AudioTrack is available since Android 1.5 (API level 3)
- Sends PCM data directly to the device’s audio hardware
- You can use it in two modes: static and streaming.
- Change pitch by Changing the sample rate
- Changing pitch will change tempo
- AudioTrack supports various sampling rates
- 2 PCM encodings
- 8-bit and signed 16-bit PCM
I've just released a library based on AudioRecord, AudioTrack will be the perfect compliment to it, I'll have a look and see what I can do. not sure on timescales though.
This can be done with the Reflection library. Start a new thread for this in the Questions sub-forum and I'll help you with the code.A library that allows as to access the Display class would be potentially very useful.
Is there any library for xml rpc? really needed it.