[android-developers] Re: unable to bind to a service

2010-02-13 Thread dane131
anybody help? On 13 Φεβ, 00:44, dane131 orestis...@gmail.com wrote: hallo i have aservicethat provides gps coordinates.Here is the code : package app.suite.gps; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location;

Re: [android-developers] Re: unable to bind to a service

2010-02-13 Thread Dianne Hackborn
If you haven't declared an intent-filter in your manifest, then the component will be private to that .apk. You can make it public with either android:exported=true or defining an intent-filter. HOWEVER.. PLEASE be super careful about doing this. Did you realize that you are in the process of

[android-developers] Re: unable to bind to a service

2010-02-13 Thread dane131
well ok i understand the risk..and i will change the architecture but anyway i have a problem to bind to a service of another apk even if its attribute is exported=true i wonder if i do someting wrong in my procedure: in the remote apk i generate an interface from an aidl file and make a service

Re: [android-developers] Re: unable to bind to a service

2010-02-13 Thread Mark Murphy
dane131 wrote: do i make any mistake? That is difficult to answer, as remote services are difficult to debug via email. You should compare your implementation to others that demonstrably work. I would imagine there is a remote service sample in the SDK samples someplace -- search for AIDL