Getting security exception for medial player in android?
===

In my application, i need to capture the currently playing song. I got the code from this link 
http://www.alexc.me/android-music-app-service-currently-playing-song/231/ . I have created an activity in my application( package com.android.musicapp.example) and palce this code in that activity. 

     Intent i = new Intent();
     i.setClassName("com.android.music", "com.android.music.MediaPlaybackService");   
     ServiceConnection conn = new MediaPlayerServiceConnection();
     this.bindService(i, conn, 0);
and MediaPlayerServiceConnection.java in the same package.
I get the IMediaPlaybackService.aidl file and place it in com.android.music package. 

    <service android:name="com.android.music.MediaPlaybackService"
            android:export="true"/>  
in manifest file. 
When i run the application i am getting exception 
 **Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { cmp=com.android.music/.MediaPlaybackService } .**

I tried by making **android:export="false"**  but getting same exception. 
I am developing my application on gingerbread.
Any help will be appriciated.