2010-07-05 5 views
1

Salut, je suis nouveau à Android. J'ai besoin de télécharger le fichier .ics à partir de la pièce jointe. J'utilise le filtre d'intention dans le fichier xml Manifest. Mais il télécharge tous les fichiers de mon application. J'ai besoin de télécharger le fichier .ics seulement. Comment c'est possible ???Télécharger le fichier ics (outlook Calendar) de mon application?

<intent-filter> 
    <action android:name="android.intent.action.VIEW" /> 
    <category android:name="android.intent.category.DEFAULT" /> 
    <data android:mimeType="*/*" /> 
    <data android:pathPattern=".*\\.ics" />  
</intent-filter> 

Répondre

0

je reçois la réponse en utilisant ce

<intent-filter> 
    <action android:name="android.intent.action.VIEW" /> 
    <category android:name="android.intent.category.DEFAULT" /> 
    <data android:mimeType="text/calendar" /> 
</intent-filter> 
Questions connexes