First of all, thank you for replying.

My aidl file is like this:

//IActions.aidl

package com.xyz.a;
//import java.util.ArrayList;

interface IActions{
float getSpeed();
//ArrayList<String> getDataList();

int getDataState();
}

I have to comment out ArrayList<String> getDataList(); because eclipse
says "unknown return type ArrayList<String>"

When I add  the "import java.util.ArrayList;" eclipse says "couldn't
find import for class java.util.ArrayList"

Really annoying.

Also, I don't need external jar file. They are just what I defined in
the project.

Thank you Sathya!
On Dec 2, 4:50 pm, sathya subbiah <[email protected]> wrote:
> Think you need to add the aidl path your make file and have to include in
> your file
> import com.xyz.fooPackage.<aidlfilename>
>
> Hope this helps you.
>
> On Wed, Dec 2, 2009 at 2:46 AM, yidongsoft <[email protected]> wrote:
> > I need a aidl file defining:
>
> > ArrayList<Foo> getFoo();
>
> > I import ArrayList package and Foo with
>
> > import java.util.ArrayList;
> > import com.xyz.fooPackage;
>
> > But eclipse keeps saying that can't find the importing class. Would
> > anybody help me? Thank you!
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to