首页>
外国专利>
METHOD FOR TRANSFERING SERVICES IN APPLICATION ENVIRONMENT IN DIGITAL TELEVISION
METHOD FOR TRANSFERING SERVICES IN APPLICATION ENVIRONMENT IN DIGITAL TELEVISION
展开▼
机译:数字电视应用环境中业务转移的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
The invention proposes a method for leakage arbitrary object inheritress class through Android Binder interprocess mechanism in Android DTV environment. Leakage of inheritress class through Android Binder is done by adding the Parcelable interface that is implemented based on the standard method, ( 100 ) describeContents() and method ( 101 ) writeToParcel() , and additional specific attributes (102 ) className. A method ( 100 ) describeContents() contains attributes that describe the content of the class , and method ( 101 ) writeToParcel() writes the attributes of Parcel interface . Adding attributes ( 102 ) className in the parent class solves the problem of leakage object of inheritress class required for the functioning Android application works DTV environment . Creating a parent class is done by defining specific attributes enrolled in the method ( 100 ) describeContents(), defining attributes ( 102 ) and className attribute ( 103 ) Creator that implements Parcelable interface and contains methods ( 105 ) createFromParcel () which is called when the object reaches the destination through the Android Binder . A method ( 105 ) createFromParcel () call correctly defined constructor (300 ) Class successor with standard methods ReadString(). Creating a class successor requires innovate accurate reference method 105 createFromParcel() with Android Binder gets an attribute ( 102 ) className which forwards the correct class name successor . Constructor call ( 401 ) public ServiceContent ( Parcel in) executes the forwarding method 200 readFromParcel() which calls the parent method ( 402) super.readFromParcel() and forward methods ( 101) writeToParcel() which calls the parent method ( 403 ) super.writeToParcel() to load and store all the extra class attributes successor.
展开▼