1
xls 및 xlsx 파일이 첨부 된 이메일을 Android 앱과 함께 열려고합니다. 현재 내 앱에서 CSV 파일을 열 수 있습니다. 도와주세요. 내가 CSV 내 매니페스트에 사용하고 코드는 다음과 같습니다xls 및 xlsx 파일을 열 때 의도 필터
<intent-filter
android:icon='@drawable/rr_ipad1_icon'
android:label="@string/app_name"
android:priority='1'>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/csv" />
<data android:pathPattern="*.csv" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/csv" android:scheme="http" android:host="*" android:pathPattern=".*\\.csv" />
<data android:mimeType="text/csv" android:scheme="https" android:host="*" android:pathPattern=".*\\.csv" />
</intent-filter>