I see that Bitmap implements Parcelable so you should be able to pass it. I
know with custom objects you must create an aidl file that is ignored by
eclipse so it doesn't create the java file. For example I have an object
SrvStatus.java so I have to create a SrvStatus.aidl file:
Start------------------------------------
package com.whatever.whatever;
parcelable SrvStatus;
End------------------------------------
Not sure if it will work because it's in a different package, but maybe you
could try:
Start------------------------------------
package android.graphics;
parcelable BitMap;
End------------------------------------
Good luck!
--
Zach Hobbs
HelloAndroid.com
Android OS news, tutorials, downloads
On Monday 24 March 2008 21:30:57 [EMAIL PROTECTED] wrote:
> Hi all,
> I have a aidl file containing The following initerface
> ---------------------------------------------------------------------------
>-- package com.jack.app;
>
> import android.graphics.Bitmap;
>
> interface IRemoteServiceCallback {
> void screenUpdate ( Btimap bitmap );
> }
> ---------------------------------------------------------------------------
>--
>
> When i try to compile I have the following error:
>
> ---------------------------------------------------------------------------
>-- Couldn't find import for class android.graphics.Bitmap
> ---------------------------------------------------------------------------
>--
>
> How should I proceed to reslove this problem
>
> Thanx
> Jack
>
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---