Is there any way to put extras to Intent from preferences ?
- by Alex Volovoy
Hi i'm launching activity from preferences screen. Activity is shared among three preferences.
I wonder if i can set extras for this activity in xml
<Preference
android:key="action_1"
android:title="@string/action_1_title"
>
<intent
android:action="com.package.SHAREDACTION"
>
</intent>
</Preference>
i wonder if i can do something like
<extras>
<item
android:name=""
android:value=""/>
</extras>
All i need to do to pass an integer really. I can different actions and check action instead of extras.