hello again mark, i have read trough it and the "These parameters and return values can be of any type" sentence is a bit misleading, because it only supports the data types given on the link you sent me. thank you very much for your attention and your help. i decided that i will just subclass Date and Enumeration implementing parceble, as for the method names, i will just have to create them with different names.
if anyone has the same problem, i can send the subclasses i made cheers and thanks again Guilherme On Sep 1, 7:01 pm, Mark Murphy <[email protected]> wrote: > Guilherme Melo wrote: > > On Sep 1, 1:46 pm, Mark Murphy <[email protected]> wrote: > >> Guilherme Melo wrote: > >>> Hello all, i am creating a service and i am having two big problems > >>> with my aidl, first, i cannot import any Java types(Enumeration , > >>> Date, etc) that i get an error (couldn't find import for > >>> class ... ) > >> Correct. Those are not valid AIDL data types: > > >>http://developer.android.com/guide/developing/tools/aidl.html#aidlsyntax > > > acording to the link "These parameters and return values can be of any > > type" i thought that , even though it seems counter intuitive because > > they do not implement parceble ... > > i though i could , for instance use Date in passing a parameter > > You need to read further in the section I linked to above. Date is not a > valid parameter type. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 1.0 In Print! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

