gpt4 book ai didi

安卓电视应用

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:12:49 25 4
gpt4 key购买 nike

我有一个适用于手机和平板电脑的 Android 应用程序。现在我想使用 leanback 支持库小部件为我的应用程序创建合适的电视应用程序,并且我阅读了不同的电视应用程序教程。现在我想知道我是否应该将新的电视包添加到我当前的项目或创建新项目并发布不同的电视 apk?哪一个更好?将包添加到我当前的项目对 apk 大小有影响吗?

最佳答案

来自 Android TV best practice :

In most cases, we recommend delivering your TV experience as part of your existing app for phones, tablets, and other devices, using the same package name and store listing. This approach lets users upgrade to your TV experience seamlessly and also lets you take advantage of the reviews and ratings you’ve earned in your app for phones and tablets.

您可以使用单个 apk :

You can bundle your TV intents, leanback library, and TV-specific code and resources as part of a single APK solution for all supported devices

或者您可以使用多个 apk 支持:

If necessary, you can use Multiple APK Support to deliver a custom binary to Android TV devices under the same package name and store listing that you use for phones and tablets.

关于安卓电视应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44883037/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com