• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is it possible to un-parcel a parcel without knowing what is in it?

M

mikeluck1981

Guest
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 how can I extract the content of the Parcel without knowing what
is in the Parcel in the first place?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones