Yes.

On Mar 22, 1:07 pm, RAJ <trra...@gmail.com> wrote:
> I am facing same problem too.
> I dont ahve AIDL in both projects (i have it only in my service
> project)
> Am i supposed to have same AIDL in both projects?
>
> On Mar 17, 1:58 am, Andreas <andreas.bex...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > Do you set the android:exported property of your service to "true" in
> > the manifest for the service?
>
> > Regards
> > Andreas
>
> > On Mar 17, 1:47 am, Peter Fortuin <peter.fort...@gmail.com> wrote:
>
> > > I had that, but that didn't work. Now I just have set my Build Path in the
> > > gui application.
>
> > > 2010/3/16 Sime <sime...@gmail.com>
>
> > > > Quick question, do you have the aidl file in both applications?
>
> > > > Regards
>
> > > > On 16 mar, 14:07, Peerke <peter.fort...@gmail.com> wrote:
> > > > > Hello,
>
> > > > > I have problems with the following:
>
> > > > > I want to create to applications. One with a Android service and one
> > > > > with a Activity that will use functions on the Service.
> > > > > Before I splitted this in to applications I got everything working in
> > > > > one application. I can call functions (that are definned in the aidl-
> > > > > file) on the service without problems.
>
> > > > > Now the problems coms. I splitted the application into two parts, a
> > > > > Service application and Gui application.
> > > > > The bindins to the service (in the gui application) works and I see
> > > > > that the service is getting created. Then in the onServiceConnected
> > > > > function of the ServiceConnection class I created the following:
>
> > > > > mService = IMyService.Stub.asInterface(service);
>
> > > > > And this gives me the following exception:
>
> > > > > 03-16 13:53:05.549: ERROR/AndroidRuntime(881):
> > > > > java.lang.NoClassDefFoundError: MyPackage.IMyService$Stub
>
> > > > > It looks like he can't find the Stub class in IMyService. But the Stub
> > > > > is part of the java file generated out of the aidl-file.
>
> > > > > Anyone has any idea why I get this exception or how I can resolve this
> > > > > issue?
>
> > > > --
> > > > 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<android-developers%2Bunsubs
> > > >  cr...@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en- Hide quoted 
> > > >text -
>
> - Show quoted text -

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to