The AndroidManifest.xml File - ìëë¡ì´ë 기ì 커뮤ëí° : Korea ...
The AndroidManifest.xml File - ìëë¡ì´ë 기ì 커뮤ëí° : Korea ...
The AndroidManifest.xml File - ìëë¡ì´ë 기ì 커뮤ëí° : Korea ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Parcel : Activie Objects<br />
An unusual feature of Parcel is the ability to read and write active objects. For these objects the<br />
actual contents of the object is not written, rather a special token referencing the object is<br />
written. When reading the object back from the Parcel, you do not get a new instance of the<br />
object, but rather a handle that operates on the exact same object that was originally written.<br />
<strong>The</strong>re are two forms of active objects available.<br />
Binder objects are a core facility of Android's general cross-process communication system.<br />
<strong>The</strong> IBinder interface describes an abstract protocol with a Binder object. Any such interface<br />
can be written in to a Parcel, and upon reading you will receive either the original object<br />
implementing that interface or a special proxy implementation that communicates calls back to<br />
the original object. <strong>The</strong> methods to use are writeStrongBinder(IBinder),<br />
writeStrongInterface(IInterface), readStrongBinder(), writeBinderArray(IBinder[]),<br />
readBinderArray(IBinder[]), createBinderArray(), writeBinderList(List), readBinderList(List),<br />
createBinderArrayList().<br />
<strong>File</strong>Descriptor objects, representing raw Linux file descriptor identifiers, can be written and<br />
Parcel<strong>File</strong>Descriptor objects returned to operate on the original file descriptor. <strong>The</strong> returned file<br />
descriptor is a dup of the original file descriptor: the object and fd is different, but operating on<br />
the same underlying file stream, with the same position, etc. <strong>The</strong> methods to use are<br />
write<strong>File</strong>Descriptor(<strong>File</strong>Descriptor), read<strong>File</strong>Descriptor().<br />
<strong>Korea</strong> Android Community- www.kandroid.org<br />
27