SurfaceView中的getSystemService
来源:互联网 发布:动态规划矩阵连乘问题 编辑:程序博客网 时间:2024/06/05 10:25
今天想通过在SurfaceView中取得一个AudioManager对象,可是总是报错,源码为Manageram=(AudioManager)getSystemService(Context.AUDIO_SERVICE);在别人的帮助之下,原来要在前面加上context,为Manageram=(AudioManager)context.getSystemService(Context.AUDIO_SERVICE);呵呵,花了我不少时间呢。
- SurfaceView中的getSystemService
- Android中的getSystemservice,很全
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService ()
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- getSystemService
- Spring MVC 转换器
- 基于NS2的网络路由协议仿真(AODV、COPE+AODV)
- oracle 数据库概述
- android 底部控件,随软键盘弹出,跟着上移
- 代码清单1-2 猜数游戏
- SurfaceView中的getSystemService
- (转)某资深程序员写给后来者的忠…
- 学无止境 学习是一件快乐的事情 […
- (Growing)新手小白对自己暑假一…
- 模拟android发短信
- eclipse自动补全代码
- vs2010下编译opengl遇到的小问题
- glPushMatrix和glPopMatrix的作用 …
- glViewport()与glOrtho()函数的理…