No, a parcel is just a raw blob of data with no structure. Fyi, it sounds like you are relying on private APIs. Doing this will only cause you pain and trouble, and your app will continually break on different devices and different versions of the platform. Please don't do this. (Actually if you are using the ALARM_ALERT broadcast it's even worse -- you are relying on an internal api of one of the -applications-, one that is very likely to be modified or outright replaced by any manufacturer under the sun.)
On Sun, Jan 31, 2010 at 7:35 AM, Mike Luck <[email protected]>wrote: > I have a published app that triggers after the Android Alarm Clock > goes off. I read the Alarm Clock Label and if it matches a user > provided label to trigger off of, my app is triggered. This works > great. > > The problem is that the HTC Sence UI Alarm Clock uses a different > Intent and the extras for that Intent contain a Parcel (that contains > the alarm label). > > I am able to trigger on the HTC Intent and get the Parcel from the > extras, but is it possible to extract the Parcel without knowing what > is in the Parcel in the first place? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] 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. -- 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

