如何创建自定义主屏幕 [英] How to create custom home screen

查看:158
本文介绍了如何创建自定义主屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了谷歌的默认主屏幕和adw的源码。我在Eclipse中创建了一个项目,并使用了这些源。但是,我不能编译代码,因为有很多错误。有谁知道如何正确地做到这一点?我需要将所有的Google代码添加到我的项目中吗?
(我在另一个主题中问同一个问题,链接文本



谢谢

解决方案

blockquote>

我已经下载了谷歌的默认主屏幕和adw的源代码。


什么是 adw?


有没有人知道如何正确执行?


Android开源项目中的Home应用程序只能作为固件映像的一部分构建。它不是设计为仅使用SDK编译。您的SDK中有一个示例Home应用程序,但是使用SDK构建。



所以,如果您的目标是创建一个替换的主屏幕独立应用程序,请使用您的SDK中的Home应用程序作为起点。如果您的目标是创建替换固件,请下载整个固件并以这种方式构建。


I've downloaded the source for both google's default home screen and adw. I created a project in Eclipse and used those sources. However, I can not compile the code as there are quite a few errors. Does anyone know how to do this correctly? Do I need to add all of the google code to my project? (I asked the same question in another thread, link text )

Thanks

解决方案

I've downloaded the source for both google's default home screen and adw.

What is "adw"?

Does anyone know how to do this correctly?

The Home application in the Android open source project can only be built as part of a firmware image. It is not designed to be compiled just using the SDK. There is a sample Home application in your SDK, though, that builds with the SDK.

So, if your goal is to create a replacement home screen standalone app, use the Home app in your SDK as a starting point. If your goal is to create replacement firmware, download the entire firmware and build it that way.

这篇关于如何创建自定义主屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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