跨平台的Android SDK

发布于 2024-09-30 05:41:57 字数 233 浏览 7 评论 0原文

我正在尝试在 Beagleboard(TI 的 OMAP35x 芯片)上安装 Android。他们提供了工具链来构建操作系统并将其移植到芯片上。现在下一个问题是开发 Android 应用程序。我有兴趣了解 Android 的 Java SDK。那么我可以使用google提供的标准SDK吗,到目前为止我找不到TI提供的Java的SDK。

简单来说,一个基于标准Android SDK开发的应用程序是否可以在beagleboard上运行。

I am trying to install Android on Beagleboard (TI's OMAP35x chip). They have provided toolchain to build the OS and port it on the chip. Now the next question is developing Android apps. I am interested in knowing about the Java SDK for android. So can I use the standard SDK provided by google, so far I cannot find any SDK provided by TI for Java.

Putting it in simple terms, will an application developed on standard Android SDK work on beagleboard.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

嘴硬脾气大 2024-10-07 05:41:57

对于 Android 的嵌入式开发,一般来说标准 SDK 应该可以工作,这就是 Android 的优点以及拥有一组定义良好的 API。这就要求你使用的端口是比较完整的,但是对于Beagle Board来说应该是这样。您可以从开源项目运行兼容性测试套件,以找出与标准 SDK 的合规性,但开始时这不是必需的。

与手机相比,使用开发板设置 adb 通常要困难一些,但一旦通信通道正常工作,Android 开发就可以像使用普通手机一样进行,即使用标准 SDK 和 adb 工具。

唯一需要注意的可能是 API:s 需要您的开发板不支持的硬件,例如调制解调器等。也可以通过使用 SDK 插件来支持特定硬件的自定义 API:s让 TI 等公司分发整个 SDK。到目前为止,我还没有看到它被广泛使用,标准 API:s 涵盖了人们可能需要的很多内容。但我认为,随着 Android 被用于智能手机领域之外的用例,我们将会看到更多这样的情况。

For embedded the development with Android in general the standard SDK should work, that is the beauty of Android and having a well defined set of API:s. This requires that the port you are using is relatively complete but for the Beagle Board that should be the case. You can run the compatibility test suite from the open source project in order to find out the compliance with the standard SDK but to get started that should not be necessary.

It is often a little more tricky to setup adb with a dev board compared to phone but once you get the communication channel working then Android development can be done in the same way as with a regular phone, that is using the standard SDK and adb tools.

The only caveats may be for API:s that require hardware that is not supported by your dev board such as a modem etc. It is also possible to support custom API:s for a specific piece of hardware by using an SDK add-on instead of having companies like TI distribute entire SDK:s. I have not seen this used very much so far and the standard API:s covers a lot of what one may need. But I think we will see more of it as Android is adopted for use cases outside the smartphone space.

耀眼的星火 2024-10-07 05:41:57

是的,会的。我不确定远程调试(ADB)。

Yes it will. I'm not sure about remote debugging tho (ADB).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文