andriod获得应用程序的Context

getApplicationContext()
getResources().getString(R.string.app_name) //获得程序名称
原文地址:https://www.cnblogs.com/gisoracle/p/7641052.html