如何建立默认浏览器应用程序的Andr​​oid OS 4.0 [英] How to build the default browser application in android Os 4.0

查看:112
本文介绍了如何建立默认浏览器应用程序的Andr​​oid OS 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载从这里了Android的默认浏览器应用程序的源$ C ​​$ C

和尝试它建立在Eclipse。它被示出在不同classes.Main误差各种编译错误是由于在进口,因为它不是能够挑选以下类

and tried it to build from the eclipse. It is showing various build error in different classes.Main error is due to in import as it is not able to pick the following classes.

import android.provider.BrowserContract;
import android.net.WebAddress;
import android.webkit.WebSettings.AutoFillProfile;

和同样others.I搜查android.provider的Andr​​oid和没有这样的类被提及的包的文档。 寻找帮助

and similarly others.I searched it in the documentation of the package of android.provider of android and no such class is mentioned. Looking for the help

推荐答案

默认浏览器是不是SDK的应用程序。它不与SDK开发的,但整个Android项目之内。因此,它已经访问到未在SDK露出的内部类

The default browser is not an "SDK" application. It is not developed with the SDK, but within the whole Android project. It has therefore access to internal class which are not exposed in the SDK.

所以你不能建立它作为一个普通的应用程序。你将不得不沿着整个Android项目,这意味着下载所有Android源$ C ​​$ C构建它,至少做一个完整的Andr​​oid版本。而且我不知道所产生的APK能正常的设备上安装。

So you can't build it as a regular app. You will have to build it along the whole Android project, which means download all the Android source code, and do at least one full Android build. And i'm not sure the resultant apk can be installed normally on a device.

这篇关于如何建立默认浏览器应用程序的Andr​​oid OS 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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