Camera Add-on API

Camera Add-on API

All camera apps in one menu
The Camera Add-on API enables you to both add a shortcut to your imaging app from the Xperia™ Z1 camera apps mode selector, and you can add a shortcut to the Xperia™ Z1 camera apps mode selector in your imaging app UI. This way the user can get a seamless camera experience, and make shifting in-between different camera apps really easy.

For your app to be included in the Xperia™ Z1 camera apps mode selector, the end user needs to have download and installed your imaging app from Google Play™.

Optimise for frequent usage of your imaging app
Frequent usage is essential for the success of an app. But sometimes app developers are suffering from a “fire and forget” attitude, where end users might download and start an app once, and then forget about it. But by using the Camera Add-on API, and being part of the camera app in Xperia™ Z1, you will enable your imaging app to be visible to the end user every time he or she shifts in-between camera modes. This way you’ll ensure that the user will see your app frequently, and thus you are taking an extra step towards a frequent usage of your imaging app.

How does the Camera Add-on API work?
As a developer, you will need to add an XML file to your work project. The XML file should contain the name of your imaging app, an icon and a description. All of this will then show up to the end user in the Xperia™ Z1 camera mode selector screen. You will also need to add some functionality to your app to integrate a clickable icon which takes the user to the camera mode selector screen.

Get started with the Sony Add-on SDK, documentation and code examples
To start using the Camera Add-on API in your app, download the Sony Add-on SDK and the Sony Add-on SDK documentation kit. This includes everything you need to know, including a Get started guide, UI guidelines, and code examples.

The Sony Add-on SDK includes the following code examples for the Camera Add-on API:

  • Basic Camera App: This is a simple code example which shows the camera mode selector UI integration.
  • Multi Function Camera App: This is a more advanced code example which shows the camera mode selector UI integration, with capture functionality and content thumbnail support.

Get more visibility – apply for the Stand out app search campaign
During 2013, Sony is running a new version of our Stand out from the crowd campaign, where we are searching for professional developers, with high quality apps that can bring something extra to the Sony experience. In return, we can offer the best developers support, hardware, and promotion online and at major industry events.

If you’ve got a great idea – and the ability to make it real – you could have what it takes. Apply to join the Stand out from the crowd app search campaign now!

Questions?
If you have any questions while you’re developing, check out the Troubleshooting sections in the Get started guide, in the Sony Add-on SDK documentation kit. If you have any questions the installation or emulator setup, there is also a Troubleshooting section on the Install page. 

If you can’t find an answer to your question, you can post Sony Add-on SDK developer related questions on the Stack Overflow forum. We have a team of Sony developers that constantly monitors, contributes and replies to questions regarding our products and tools at Stack Overflow. This way, your question and our answer can be shared, viewed and used by many people.

So if you have a question, just make sure you add the term “Sony” to your question. Then we should be able to catch your question, and support you in your development!