donm wrote:
> Hi there,
>
> I am starting to feel a bit silly. All I want to do
> is create an interface from a simple AIDL-File:
>
> package dom.da;
> interface RNS {
> Integer getAccountBalance();
> }
> When I compile it, I get:
>
> $ aidl RNS.aidl
> RNS.aidl:3 unknown return type Integer
>
> When I add an import like this:
> import java.lang.Integer; the error changes to:
> RNS.aidl:3: couldn't find import for class java.lang.Integer
>
> Now I also tried to add an import path as a parameter to aidl like
> -I/PATH/TO/android.jar
>
> What am I missing here? Is the parameter to -I correct?
> I read some posts about implementing the Parcable interface,
> but this should not apply to this case?
>
> Thanks for any hints,
Try int instead of Integer.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---