简体   繁体   English

制作android电视应用程序是否与在android studio中制作android(移动/平板电脑)应用程序相同?

[英]Is making android-tv apps same as making android (mobile/tablets) apps in android studio?

i am going to make my first android app for android TV and i already know android development. 我将为Android TV制作我的第一个android应用程序,我已经知道android开发。 Do i have to learn additional skills to make a app for TV 我需要学习其他技能才能制作电视应用程序吗

You can find a helpful tutorial on how to create Android TV Apps from Android Developers here . 您可以在此处找到有关如何从Android开发人员创建Android TV应用程序的有用教程。

Creating TV apps is basically the same as creating Android Apps, since it's based on the same framework. 创建电视应用程序与创建Android应用程序基本相同,因为它基于相同的框架。

On a TV, you have all your layouts (LinearLayout, RelativeLayout, ...) and stuff like activities as usual, but you have to bear in mind that you are on different hardware. 在电视上,您拥有所有布局(LinearLayout,RelativeLayout,...)以及像往常一样的活动之类的东西,但是必须记住,您使用的是不同的硬件。 So you (obviously) won't have access to things like gyro sensor. 因此,您(显然)将无法使用陀螺仪传感器之类的东西。

As you can see here , some navigation is also different than on Android, so you'll have to learn some new things, but I think the tutorial from Android Developers is a good starting point, and from what I've seen it should not be that hard if you are familiar with the Android API. 正如您在此处看到的,某些导航也与Android上的导航有所不同,因此您必须学习一些新知识,但是我认为Android Developers的教程是一个很好的起点,从我所见,它不应该如果您熟悉Android API,就一定要努力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM