为什么android.os.IServiceManager在Android中没有解决 [英] Why android.os.IServiceManager in Android not resolving

查看:321
本文介绍了为什么android.os.IServiceManager在Android中没有解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编码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的所有内部类,并且不可公开。

您不能建立自己的source.android.com应用。它们只能建立作为固件图像的一部分。请按照<​​a href="http://source.android.com/source/download.html" rel="nofollow">说明来构建整个固件。虽然你可以使用的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.

这篇关于为什么android.os.IServiceManager在Android中没有解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆