- Dec 12, 2022
- 357
- 2
Also see:
Many applications that deal with files show a standard file handling dialog. One of the options in this dialog is to open the file with another app. This tutorial explains how you can add your app to this list and then open the file.
For example you can use this to open CSV files received by mail in your app or from Dropbox app (useful for debugging this).
The first step is to register the file types that you would like to handle in your app. You need to find the correct identifier. Some of the standard identifiers are listed here:
For CSV the type is: public.comma-separated-values-text
Use the PListExtra attribute to add the required declaration:
B4X:
برای دیدن لینک ها باید ثبت نام کنید
Many applications that deal with files show a standard file handling dialog. One of the options in this dialog is to open the file with another app. This tutorial explains how you can add your app to this list and then open the file.
For example you can use this to open CSV files received by mail in your app or from Dropbox app (useful for debugging this).
The first step is to register the file types that you would like to handle in your app. You need to find the correct identifier. Some of the standard identifiers are listed here:
برای دیدن لینک ها باید ثبت نام کنید
For CSV the type is: public.comma-separated-values-text
Use the PListExtra attribute to add the required declaration:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید