Hello,

My answer comes perhaps too late for you, but this could somebody
else.

About the aidl file:
1- write the interface in a file which has the same name. For example
if you declare an interface called IMyInterface, your file must be
named as IMyInterface.aidl.
2- Then the file must be in the source tree in java style. For
example, if in the aidl file you have written "package
com.my.example", your file must be in the subdirectory src/com/my/
example.
3- When the aidl file is added in this directory, Eclipse should
detect it and generate automatically a java file corresponding to this
aidl file in the gen directory.

You have finished the step "Create an .aidl File" and can now go to
the next one, "Implementing the Interface".

Bye.

On 15 juin, 08:41, Alex Lv <[email protected]> wrote:
> Hi,everyone!
> My develop environment: eclipse, ADT0.9, SDK1.5, Windows XP.
> How to use theaidlform creating anaidl-file to using the service?
> Step by step.
> Need your help!
> In the sdk document, it descripe as "AIDLgenerates an interface file
> for you with the same name as your .aidlfile. If you are using the
> Eclipse plugin,AIDLwill automatically be run as part of the build
> process (you don't need to runAIDLfirst and then build your
> project). If you are not using the plugin, you should runAIDLfirst.
> "
> But I can not find how to do this step!
> Even I download anaidl-example, and import to the eclipse, there is
> some errors....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to