Re: [android-developers] how to send a image from one process to another

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 2:15 AM, mani  wrote:

> Any body can suggest what would be the best way to send a image from one
> process to another process ?
>

What interface does Bitmap inherit from?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] how to send a image from one process to another

2010-10-11 Thread mani
Hi all,

  I am looking for sending a image ( fav icon from browser ) to
Notification service.

I couldnt do successfully, as there are some problems with parcelable
class.

public class Notification implements Parcelable

   public Notification(Bitmap icon)--> I wrote this
new api on the framework.
{
if(icon == null)
System.out.println("In notification fav icon is NULL ");
else
{
System.out.println("In notification fav icon ");

this.favIcon = icon; }
}

But i couldnt find proper functions to write this Bitmap into the
parcel.

 parcel.writeLong(when);
parcel.writeInt(icon);
parcel.writeInt(number);

Similar to these api's how do i write a Bitmap. I dint find any
matching api's

How do i do it ?

Any body can suggest what would be the best way to send a image from
one process to another process ?

Thanks
- mani

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en