i do an android Editor app for editing texts. now i wish to do these:
- create Widget from my app- as clicking my MainActivity/app starts.
- put the app in open with list- the other *.txt file can open with mine. although is it need to use
read file
code?
i just define a Text view and all editing buttons. i don't know how can i do this.would you please help me?
THANKS!!!
EDIT: i find this code for 2. is it enough?
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/txt" />
</intent-filter>