res 中我们可能会放很多图片和音频视频等.它们放在 R.drawable, R.raw 下面. 有一种情况是,比如我有一个数据库保存项目中声音的一些信息.声音的 id 就很难保存.因为我们不能把 R.raw.sound1 在数据库里保存为 text .解决办法是,有一个方法: int id = getResources().getIdentifier("sound1","raw","com.example.test"); sound1 是声音…
版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/linux_loajie/article/details/33823637 Android开发环境搭建时遇到问题的解决方法 错误1: The connection to adb is down, and a severe error has occured.[2013-08-31 16:11:56 -com.qihoo.subject] You must restart adb and Eclip…