Register filetype with the browser?
        Posted  
        
            by Lord.Quackstar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lord.Quackstar
        
        
        
        Published on 2010-06-13T01:53:49Z
        Indexed on 
            2010/06/13
            2:02 UTC
        
        
        Read the original article
        Hit count: 413
        
In Android, I am trying to make it so that the user downloads a font from the browser, and I am able to view the font when downloaded. After multiple issues, I still have one lingering one: Registering the filetype with the browser.
When trying to download with the Emulator (2.1-u1), I get "Cannot download. The content is not supported on this phone". Okay, so maybe its my manifest file. Updated with this:
    <activity android:name=".MainActivity" android:label="MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
            <catagory android:name="android.intent.category.BROWSABLE"/>
            <data android:scheme="http"/>
            <data android:scheme="https"/>
            <data android:scheme="ftp"/>
            <data android:host="*"/>
            <data android:mimeType="*/*"/>
            <data android:pathPattern=".*zip"/>
        </intent-filter>
    </activity>
Went back to the browser, and fails again. Restart the Emulator, still fails.
Note that I got this format from posts here.
Any suggestions on what to do?
© Stack Overflow or respective owner