android - Is there a way to launch my app's system settings in a PreferenceScreen -
i can launch device's app settings activity preferencescreen. when activity loads, activity displays listview of different apps installed on device. can app's system setting scrolling through list , clicking on title of app.
i make happen in preferences.xml file.
<preferencescreen android:title="@string/system_settings_preference_title" > <intent android:action="android.settings.application_settings" /> </preferencescreen>
is there way launch my app's system settings rather having scroll through list?
your app's system settings can launched using following intent com.myapp app's package name found in manifest file.
<preferencescreen android:title="@string/system_settings_preference_title" > <intent android:action="android.settings.application_details_settings" android:data="package:com.myapp"/> </preferencescreen>
Comments
Post a Comment