Oh thanks, you saved me after all. I didn't know what for is intent-
filter, but now i fully understand it. thanks once more :))

On 25. Apr, 21:41 h., Mark Murphy <mmur...@commonsware.com> wrote:
> Your service needs to have an <intent-filter>, and your Intent needs
> to match that filter. For example:
>
> <service android:name=".BshService">
>                         <intent-filter>
>                                 <action 
> android:name="com.commonsware.android.advservice.IScript" />
>                         </intent-filter>
> </service>
>
> new Intent("com.commonsware.android.advservice.IScript") would match
> that from a bindService() standpoint.
>
>
>
>
>
>
>
>
>
> On Sat, Apr 23, 2011 at 8:55 AM, ivanharmady<ivan.harm...@gmail.com> wrote:
> > Hi, I'm trying to make bound service. Acording to tutorials at
> > developer.android.com it is appropriate for me to implement bound
> > service using messenger // there is written i should use it if i want
> > to allow clients from different applications to access my service for
> > IPC but i don't need to handle multithreading.
> > if i want to bind service in the same application, there is no
> > problem. BUT, my problem is to bind service which is in another
> > application(/project) than my activity which i want to bind to it.
>
> > in the activity which i want bind to service i call:
> >  bindService(new Intent(this, --> !!! <-- ), myServiceConnection,
> > Context.BIND_AUTO_CREATE);
>
> > -> BUT i don't know how to write path to the service.class which i
> > have in another application(/project)
>
> > how can i handle it? can somebody help me pls? i would be very
> > thankfull. I spend too much time to solve it and nothing came :(((
>
> > --
> > 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
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training in London:http://bit.ly/smand1,http://bit.ly/smand2

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to