File associacion

Cableguy

Expert
Licensed User
Longtime User
Hi guys...
I was aiming for a litle surprise, but I have a doubt that "forces" me to pop the package up...
I'm about 75% done of an INI file creator for the device...
I thought to myself:
" it's pretty easy writing an INI file, so lets try it in the device...hum...with what app should I do it?"
Then I realized that there is no easy way, either to create an INI file,or rename a TXT file into INI...
So I decided to get myself going in creating a very simple but yet effective INI creator...
NOW my problem is not directly related to the coding, but more on how things work...
I was planning to include some file association for my app, so that any INI file tapped would open the App automatically and loaded...
Also planning to do a custom icon for the INI files, so that they would be more easely tracked in a fileexplorer in the device...

How can I achieve theese two things?

I know i have to teak the regestry, and even know were and what to create, the only doubt about that is how to enable the tap - open event...
Do I need to define some args to my app?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

Cableguy

Expert
Licensed User
Longtime User
Thanks Erel, so I Do have to work with args...
great....Hope to have it ful working by week end...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…