当需要获取的系统服务类通过Context.XXX无法获取时,可以通过getSystemService(String)方法来获取.
RadioManager radioManager =getApplicationContext().getSystemService(Context.RADIO_SERVICE);
RADIO_SERVICE被隐藏,调用时会报红,此时将Context.RADIO_SERVICE替换为"broadcastradio",
radioManager = (RadioManager) getSystemService("broadcastradio"),替换后broadcastradio下方会有红色波浪线,且提示MUST BE ONE OF.......,不用理会,直接rebuild,可正常编译通过。