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 [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