I want to write a simple STL (geometrical data file) viewer application on Android, but I'm not able to make recognize a format to the system. I wrote this in my app manifest file:
<intent-filter>
<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" />
<data android:scheme="http" />
<data android:pathPattern=".*\.stl" />
<data android:mimeType="application/sla" />
<data android:host="*" />
</intent-filter>
But the moment I launch the browser and go to download some sample STL file, the download is interrupted and I'm reported that the data file type is unknown for the system.
I have no real Android device, so I use only an emulator, and for development I use C# on MonoDroid (but I honestly don't think that is the problem).
How could I fix this problem?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…