How to get information from another intent?



I am new on android and I don't understand how the Broadcast Receiver works. In my app I have intent that extends Broadcast Receiver, and also I have xmlFile with editTextPreference. How could I get the text on the xml file into the Broadcast Receiver intent?


This is my xmlFile(res/xml/Prefs.xml):



<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://ift.tt/nIICcg" >

<EditTextPreference
android:title="EditText"
android:key="name"
android:summary="Enter your name"
/>
</PreferenceScreen>

No comments:

Post a Comment