GithubHelp home page GithubHelp logo

android_tv_metro's Issues

view.playSoundEffect(5);

报错:unknown effect id 5 not defined in android.view.SoundEffectConstantspublic static void playKeySound(View view, int soundKey) {
if (null != view) {
if (soundKey == SOUND_KEYSTONE_KEY) {
view.playSoundEffect(SoundEffectConstants.NAVIGATION_DOWN);
} else if (soundKey == SOUND_ERROR_KEY) {
view.playSoundEffect(5);
}
}
}`
the soundKey==SOUND_ERROR_KEY{view.playSoundEffect(5),How to deal with it? thank you}

setBackground这段代码有问题吗?

在tVMetroMainActivity\src\main\java\com\tv\ui\metro\view\mineview.java
下面这段代码是什么用意了,在模拟的avd上这里似乎是死循环了,最终是栈内存不够死掉。

public void setBackground(Drawable background) {
if(Build.VERSION.SDK_INT >= 16){
setBackground(background);
}else {
this.setBackgroundDrawable(background);
}
}

极米内推

极米科技有限公司招聘各种技术岗位,后台,应用,系统,还有硬件等等.
想投简历的小伙伴发给我,我直接内推,欢迎各位加入极米这个大家庭;
以下面的格式,发到我的邮箱([email protected])
姓名,手机,邮箱
推荐理由
简历

详细的职位列表

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.