# Associating Your App with File Extension/Mime Type on iPhone (iOS), Android & Windows

DevFeed: [Associating Your App with File Extension/Mime Type on iPhone (iOS), Android & Windows](<https://devfeed.tech/articles/associating-your-app-with-file-extension-mime-type-on-iphone-ios-android-windows-19201.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/associating-your-app-with-file-extension-mime-types-iphone-android-windows/>)

Author: Steve Hannah

Published: 2016-11-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [Extension](<https://devfeed.tech/topics/extension.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [code](<https://devfeed.tech/tags/code.md>), [extension](<https://devfeed.tech/tags/extension.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [integration](<https://devfeed.tech/tags/integration.md>), [ios](<https://devfeed.tech/tags/ios.md>), [native](<https://devfeed.tech/tags/native.md>), [platform](<https://devfeed.tech/tags/platform.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A tutorial on registering a Codename One app to handle selected file types on iOS, Android, and Windows. It explains using the AppArg display property, adding platform-specific build hints, and checking the property when the app opens from a file or share action.

## Source excerpt

One of the compelling reasons to go native (vs say a web app) is to better integrate with the platform. One form of integration that is frequently handy is the ability register your app to handle certain file types so that it is listed as one of the options when a user tries to view a file of that type. Codename One supports this use case via the "AppArg" display property - the same, simple mechanism used for handling custom link types in your app.