I would like to add a checkbox in XML that stores a true/false (1/0) value depending on whether it's checked or not. Then I want this value to be able to be called by smali somehow. I am modifying the kik apk and I already set the values in strings.xml and public.xml for the title and summary.
<kik.android.widget.preferences.TypingPreference android:enabled="true" android:title="@string/title_typing_toggle" android:key="kik.typing.toggle" android:summary="@string/typing_toggle_summary" kik:divider="bottom" />
^ That is the code for an existing checkbox which I changed to have my title and summary (already defined), but the "kik.android.widget.preferences.TypingPreference" and "kik.typing.toggle" are not yet defined. Is there any way I can change this to simply store a yes/no value and be able to be called upon in smali like I mentioned earlier?
Any help is appreciated, thanks.
Aucun commentaire:
Enregistrer un commentaire