-1
我有: String list [];Android error with importanceReasonComponent.getShortClassName(); ?
ActivityManager m = (ActivityManager)getSystemService(ACTIVITY_SERVICE);
List<ActivityManager.RunningAppProcessInfo> process = m.getRunningAppProcesses();
list = new String[process.size()];
for(int i=0;i<process.size();i++)
{
list[i]=process.get(i).importanceReasonComponent.getShortClassName();
}
,如果我嘗試運行應用程序迫使其關閉,請告訴我出了什麼問題
請添加日誌。你到底想了解什麼? – Fildor 2013-04-24 14:59:27