首页> 外国专利> 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.
机译:本发明提出了一种在Android DTV环境下通过Android Binder进程间机制泄漏任意对象继承类的方法。通过添加基于标准方法(100)describeContents()和方法(101)writeToParcel()以及其他特定属性(102)className实现的Parcelable接口,可以通过Android Binder泄漏继承类。方法(100)describeContents()包含描述类内容的属性,方法(101)writeToParcel()编写Parcel接口的属性。在父类中添加属性(102)className解决了运行Android应用程序的DTV环境所需的继承类泄漏对象的问题。通过定义方法(100)describeContents()中注册的特定属性,定义属性(102)和className属性(103)的实现来创建父类,该创建者实现Parcelable接口并包含方法(105)createFromParcel(),在以下情况下调用对象通过Android Binder到达目的地。方法(105)createFromParcel()使用标准方法ReadString()调用正确定义的构造函数(300)类的后继者。创建类继承者需要使用Android Binder创新准确的引用方法105 createFromParcel()获取属性(102)className,该属性转发正确的类名称继承者。构造函数调用(401)public ServiceContent(Parcel in)执行调用父方法(402)super.readFromParcel()的转发方法200 readFromParcel()和调用父方法(403)super的转发方法(101)writeToParcel() .writeToParcel()来加载和存储所有额外的类属性后继。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号