Hi:
I need to call some files in order they are opened with his applications. For example, I need to call some fb2 files (an ebook format) in order they are opened with CoolReader or FBReader, or in order Android tells user what application he wants to use, and show a list of avalaible applications, or something similar.
What I want to have is similar to what you have when you are working with File Expert and press over a fb2 file, a pdf file, a jpg file... They are opened or File Expert ask you what application do you want to work with.
Maybe a Shell routine would work, but it doesn't exists in B4A. I've tried to work with Phone.Shell, but it didn't work:
Dim pi As Phone
pi.Shell("\sdcard\Fronteras [10348].FB2", Null, Null, Null)
where "Fronteras [10348].FB2" is the book I want to open, and it's placed in /sdcard/. I've tried to change "\" for "/", but it didn't work...
Is it possible to do this?
Thank you in advance an best regards.
I need to call some files in order they are opened with his applications. For example, I need to call some fb2 files (an ebook format) in order they are opened with CoolReader or FBReader, or in order Android tells user what application he wants to use, and show a list of avalaible applications, or something similar.
What I want to have is similar to what you have when you are working with File Expert and press over a fb2 file, a pdf file, a jpg file... They are opened or File Expert ask you what application do you want to work with.
Maybe a Shell routine would work, but it doesn't exists in B4A. I've tried to work with Phone.Shell, but it didn't work:
Dim pi As Phone
pi.Shell("\sdcard\Fronteras [10348].FB2", Null, Null, Null)
where "Fronteras [10348].FB2" is the book I want to open, and it's placed in /sdcard/. I've tried to change "\" for "/", but it didn't work...
Is it possible to do this?
Thank you in advance an best regards.