What is this "com.android.example.MUSIC_SERVICE" that you are
referring to?

Regards,
Justin
Android Team @ Google

On Aug 25, 12:08 pm, marielisacr <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on an application and I am trying to migrate it to 0.9
> I am trying to use a remote service but when I bind it I get the
> following error "Binding to unknown activity".
>
> This is how I am using the service:
>
> 1. AndroidManifest.xml
>
>                 <activity android:name=".ListMusic"></activity>
>                  <service android:name=".MusicService"
> android:process=":remote">
>                         <intent-filter>
>                                 <action 
> android:name="com.android.example.IMusicService" />
>                                 <action 
> android:name="com.android.example.MUSIC_SERVICE" />
>                         </intent-filter>
>                 </service>
> 2. How I am binding the service
>
>        bindService(new Intent(IMusicService.class.getName()),
> mConnection, Context.BIND_AUTO_CREATE);
>
> Thanks so much, I hope someone can help me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to