1

I'm making a hand-outs app for android or like a book reader for android.

I have a parsed xml stream uploaded online and my app will parse the data in the said xml file with links inside it to be downloaded. It will be saved in the sdcard with a specific extension name that only my app can read and should be encrypted.

I managed to encrypt and decrypt the file, but I like something like when I open the file manager and locate the file, clicked the file it will open my app. How can I do that?

paary
  • 421
  • 6
  • 16

2 Answers2

1

Try reading these:

http://developer.android.com/guide/topics/intents/intents-filters.html

Android intent filter for a particular file extension?

Community
  • 1
  • 1
Olcay Ertaş
  • 5,987
  • 8
  • 76
  • 112
0

A way to do it is to save the files with a custom extension and associate your app with that extention.

This post might guide you

Community
  • 1
  • 1
Flexo
  • 2,506
  • 3
  • 21
  • 32