lundi 29 août 2016

Is it possible to programmically change the mimeType of a manifest intent-filter?

If I have the below statement in my apps manifest:

Code:
  <intent-filter>
<action android:name=
"android.intent.action.GET_CONTENT" />
<category android:name=
"android.intent.category.DEFAULT" />
<category android:name=
"android.intent.category.OPENABLE" />
<data android:mimeType=
"image/*" />
</
intent-filter>
Is it possibly to either change the mimeType to "audio/*" using code?

Or, is there a way that I could have both mimeTypes in the manifest:

Code:
  <intent-filter>...  
Is it possible to programmically change the mimeType of a manifest intent-filter?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bA6HD4
via IFTTT

Aucun commentaire:

Enregistrer un commentaire