Setting focus manually with Sony Camera API - camera

I'm making a follow focus app for Sony cameras. My app needs to be able to set focus marks and recall them. There are a lot of functions for doing AF on the Sony Camera API, but I'd like to be able to set focus manually to a given absolute value. Is there a way to accomplish this with the Sony Camera API?
If not, am I able to make a feature request for the next version?

Unfortunately there is no way to manually set the focus to a value in the API. But I will let the team know about the feature request.

Related

How I can set auto-ISO by Sony Remote Camera API?

How I can set auto-ISO by Sony Remote Camera API?
I'm able to set any specific value, but what about "auto"? Since PlayMemories-Home app does it, there is a way, but it's not documented.
Thanks,
Oleg.
Did you check/get 'available' (vs 'supported') values? Sometimes I have seen that some values are only usable if the camera is in a particular mode.
You might try changing the shooting mode and see if that then allows you to change ISO setting to auto.
Cheers,
Simon

Camera Remote API for DSC-RX1RM2

I am trying to control my Camera DSC-RX1RM2 with Remote SDK.
With the PDF guide [Sony_CameraRemoteAPIbeta_API-Reference_v2.20.pdf],
I think I can use [Continuous shooting mode]API for my Camera,
But the result always return ["error": [12, "No Such Method"]].
I want to ask where is the problem?my camera or the SDK or my source?
Unfortunately, the DSC-RX1RM2 is not supported by the API. Stay tuned to the Sony Camera Remote API page for any updates on supported cameras - https://developer.sony.com/develop/cameras/.
The latest API does support the DSC-RX1RM2, just confirmed it.
Also check that your URLs are like:
http://ip:port/sony/camera
or
http://ip:port/sony/avContent
I didn't append camera or avContent at first and got similar No Such Method errors.

DSC-HX400 RAW image data & Movie Recording

I am currently testing a DSC-HX400. While I am able to do almost everything I need to with the camera there are a couple of items that are not exposed via the API that have frustrated my efforts.
1) The camera does not seem to offer an option, via the API or the camera itself, to capture images in RAW format. It does offer standard & fine JPEG format but both of those are leaving artifacts in the image that become extremely noticeable when you zoom in with an image editor. Is there a way to get the camera to capture RAW images? I do not need the SDK to return the data just to save it out to the card. If getting the RAW data is impossible has anyone found an inventive way to clean up the artifacts?
2) The camera supports both still shoot and movie mode but the API will only expose the mode that I am currently in. It makes it impossible to transition between still to movie mode (to allow recording) from the API but I can do that same transition by pressing a single button on the camera. Once I am recording a movie the API will allow me to transition back to still mode (by cancelling recording). Is there plans to support the ability to trigger a movie recording via the API if you are in a still capture mode (Seeing the firmware already supports this functionality)?
Answers to the questions below:
If the camera cannot capture RAW images, the API will not be able to either. I do not know of a way to capture RAW images but can only comment with regards to the API as I am not an expert on usage of the camera itself.
You can change between still and movie mode by using the "setShootMode" API.

Mac API to get current media playing

On the mac you can use their native 'f-keys' to do things like change volume, brightness, and even pause or play music or video.
I was wondering if there was someway to access to 'now playing' media (music or video) through an API or something?
I know it's possible to get currently playing tracks from iTunes using things like ITLibMediaItem or even from other apps by using Applescript to ask the application what it's header is. But how would you figure out which application is the 'currently playing' one and then get the play pause functionality?
Does Apple have an API for this?

Codename one Camera app

I'm trying to build sort of a Camera app using Codename one, taking a picture is no problem. But streaming camera feed to the background, like it is on a regular camera on mobile phones, so you can actually see what you're about to film or photograph.
We don't currently support some of the more elaborate AR API's introduced by Google/Apple but we do support placing a camera view finder right into your app with a new cn1lib: https://github.com/codenameone/CameraKitCodenameOne
Since this is implemented in a library you can effectively edit the native code and add functionality as needed.
The original answer is out of date by now I'm keeping the original answer below for reference:
You can record video or take a photo with Codename One.
However, augmented reality type applications where you can place elements on top of the camera viewfinder are currently not supported by Codename One. This functionality is somewhat platform specific and hard to implement in a portable manner.