HTC has released their SDK for the duo-cameras on the HTC One (M8) for developers to take advantage of. The SDK contains plenty of APIs, libraries, and samples for reference, so it shouldn’t take long for a developer to work that into an app.
To download the SDK, you’ll have to create an HTC Dev account, but after that, it’s free to use. Now that it’s available for everyone, we just have to wait and see how many apps take advantage of the unique features that HTC’s camera offers over the competition.
source: HTC Dev