Accessing Parcelable from Another package in Service AIDL interface

105 views
Skip to first unread message

Digambar Rasal

unread,
Feb 1, 2010, 8:56:29 AM2/1/10
to android-porting
Hi,

I have platform implementation in platform library - com.pltfrm which
has parcelable classes defined. In another package I am adding service
but when I try to import parcelable classes from platform package,
compilation always fails with - couldn't find import for class
com.pltfrm.x.

I already tried using LOCAL_AIDL_INCLUDES, but won't work. If I merge
all code together and keep under same package, it works fine.

So am I missing some options or there is restriction of using
parcelable in Service AIDL interface ?

please reply,
cheers
Digambar

Dianne Hackborn

unread,
Feb 1, 2010, 5:51:44 PM2/1/10
to android...@googlegroups.com
You will need to add that library to your makefile to link against it (as well as having uses-library in your manifest).




--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Reply all
Reply to author
Forward
0 new messages