I am opening DATA USAGE screen on button click from my application, using the following Intent:-
Intent intent = new Intent(); intent.setComponent(new ComponentName("com.android.settings","com.android.settings.Settings$DataUsageSummaryActivity")); startActivity(intent);
Now I want to read the data usage of a particular application, say YouTube, and print the same on an EditText in my application. Can anybody suggest how to achieve this?