为什么android.os.IServiceManager在Android中没有解决os、android、Android、IServiceManager

由网友(晨歌 alborada)分享简介:我编码DialerDemo,但进口android.os.IServiceManager;进口android.os.ServiceManagerNative;进口android.telephony.IPhone;不解决code:包com.umesh.umeshfilereadwritedemo1;进口android.a...

我编码DialerDemo,但进口android.os.IServiceManager;进口android.os.ServiceManagerNative;进口android.telephony.IPhone;不解决

  code:
包com.umesh.umeshfilereadwritedemo1;

进口android.app.Activity;
进口android.os.Bundle;
进口android.os.DeadObjectException;
进口android.os.IServiceManager;
进口android.os.ServiceManagerNative;
进口android.telephony.IPhone;
进口android.view.View;
进口android.widget.Button;
进口android.widget.EditText;
进口android.widget.Toast;

公共类DialerDemo扩展活动

 {

    ...
    ...
 }
 

解决方案

这些是SDK的所有内部类,并且不可公开。

基于Android 看看各定制OS有哪些特点

您不能建立自己的source.android.com应用。它们只能建立作为固件图像的一部分。请按照说明来构建整个固件。虽然你可以使用的Eclipse 编辑固件源代码,你还是会使用打造的固件。

I am coding for DialerDemo, But import android.os.IServiceManager;import android.os.ServiceManagerNative; import android.telephony.IPhone; are not resolving

CODE:
package com.umesh.umeshfilereadwritedemo1;

import android.app.Activity;
import android.os.Bundle;
import android.os.DeadObjectException;
import android.os.IServiceManager;
import android.os.ServiceManagerNative;
import android.telephony.IPhone;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class DialerDemo extends Activity

 {

    ...
    ...
 }

解决方案

These are all internal classes of the SDK, and are not available publicly.

You cannot build source.android.com applications on their own. They can only be built as part of a firmware image. Please follow the instructions to build the entire firmware. While you can use Eclipse to edit the firmware source, you will still use make to build the firmware.

阅读全文

相关推荐

最新文章