[android-developers] Re: Problem with bindService

2008-09-01 Thread TuanTuan

Yes, I also notice this problem.

Anyone can help on this?

Thanks.

On 8月30日, 上午4时44分, marielisacr [EMAIL PROTECTED] wrote:
 Hi Justin,

 The problem appears when you try to bind the service in a tabspec, if
 you do it in an independent activity everything works fine.

 This used to work in the older SDK, so how can we do to fix this?

 I found out the problem in the next 
 posthttp://groups.google.com/group/android-developers/browse_thread/threa...

 Thanks,

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with bindService

2008-08-28 Thread Justin (Google Employee)

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
-~--~~~~--~~--~--~---