Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] Android App: Recognizing .eap-config files by file extension?

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [[cat-users]] Android App: Recognizing .eap-config files by file extension?


Chronological Thread 
  • From: Martin Pauly <pauly AT hrz.uni-marburg.de>
  • To: cat-users AT lists.geant.org
  • Cc: Bernd Nicklas <nicklas AT hrz.uni-marburg.de>
  • Subject: Re: [[cat-users]] Android App: Recognizing .eap-config files by file extension?
  • Date: Tue, 1 Aug 2017 17:40:06 +0200

Hello,

we tried again, and again we were presented with the XML of the .eapconfig
file.
(on a BQ phone running Android 7).

ButBernd Nicklas (who wrote our local CAT forerunner for Windows)
pointed me to a possible glitch in:

https://github.com/GEANT/CAT-Android/blob/master/AndroidManifest.xml

AFAIU the handling of a local file is done is directed by this part of the
manifest:
<intent-filter>
<data android:scheme="file" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*" />
<data android:pathPattern=".*\\.eap-config" />
<data android:mimeType="application/eap-config" />
</intent-filter>

Does the last line mean to require a MIME type, or are mimeType and
pathPattern
combined in an OR fashion? This example would suggest the former to me:
https://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension
They use
<data android:mimeType="*/*" />
there.

Cheers, Martin

--
Dr. Martin Pauly Phone: +49-6421-28-23527
HRZ Univ. Marburg Fax: +49-6421-28-26994
Hans-Meerwein-Str. E-Mail:
pauly AT HRZ.Uni-Marburg.DE
D-35032 Marburg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19.

Top of Page