Jump to content

DulcetTone

Approved Members
  • Posts

    7
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://choicedialer.com

DulcetTone's Achievements

Newbie

Newbie (1/3)

  1. I had added the library project as Project properties->Build Path->Project and was able to compile my code and run it (though it was not working fully). I went back and read your instructions that But this path of options does not appear to exist, or some detail is missing Can you please write out exactly where these options live in Eclipse? tone
  2. I have an app that works with many apps that all rely on the Android MediaStore. I see Poweramp supports that in addition to a more flexible storage model, but I want to start with the MediaStore support. I had database IDs for songs, artists, albums and playlists as longs. How do I prompt Poweramp to play a song (say) from the external SD card with a given database ID? I tried this, and get nothing to happen and Poweramp does not indicate anything in the logfile: protected void _playSong(Song song) { Uri uri = Uri.withAppendedPath( song.isInternal() ? MediaStore.Audio.Media.INTERNAL_CONTENT_URI : MediaStore.Audio.Media.EXTERNAL_CONTENT_URI , "" + song.mDatabaseId ); startService(new Intent(PowerAMPiAPI.ACTION_API_COMMAND) .putExtra(PowerAMPiAPI.COMMAND, PowerAMPiAPI.Commands.OPEN_TO_PLAY) .setData(uri) ); }
×
×
  • Create New...