All Sony questions at Stack Overflow

Below you’ll find all the questions and answers that have been Sony-tagged. If you have a problem while developing, it’s a good idea to check out these threads as a starting point.

Tags used below: All (all questions tagged sony), SmartWatch (tagged sony and sony-smartwatch), SmartEyeglass (sony-smarteyeglass and sony), and Camera (sony and camera). For more information on how to tag questions and what Sony APIs are covered by what tag, see the How to post and tag a question page.

642 Sony related questions
0 votes 2 answers

android sony sony-smarteyeglass

How to record audio with Smart Eye Glass?

I am developing an audio recorder with Sony Smart Eyeglass, but it does not work well. My application records just a voice from phone microphone, not from Smart Eyeglass microphone. I'd like to record...

Latest answer by Ahmet SONY: Some phones require an extra method call after setMode: private AudioManager m_amAudioManager; m_amAudioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); m_amAudioManager.setMode(AudioM...

0 votes 1 answer

sony sony-smarteyeglass

SmartEyeglass: How to view the video that is streamed from the glasses camera

The SampleCameraExtension sdk sample allows writing jpegs (7.5 or 15 fps) to a folder on my phone/tablet. I don't want to store these files, I want to view them (real time) on my tablet (for test) and...

Accepted answer by Ahmet SONY: SampleCameraExtension uses JPEGStream API and saves stream of images to the folder on the mobile. You can use this image stream to develop your own application such as live streaming in a webpage or t...

0 votes 1 answer

sony sony-smarteyeglass

How to maintain the screen or display ON on the sony smarteyeglass?

I want to maintain the screen ON on an app I have developed on the Sony Smarteyeglass. The problem is that I haven't found in the API something to set or unset. How could be done? Is it posible?

Latest answer by Marlin SONY: Take a look at the setScreenState() method: https://developer.sony.com/reference/seg-sdk/com/sonyericsson/extras/liveware/extension/util/control/ControlExtension#setScreenState(int) You can pass Contr...

0 votes 2 answers

sony sony-smarteyeglass

How to change the location of the Smarteyeglass API

I have an application working that I made using one of the samples as base (Advanced Layouts). I added some external modules that was added to the project just fine, but I can't manage to put the 3 fo...

Latest answer by Emily SONY: You probably need to add APIs as modules in your project. Please see steps below: Choose File > New > Import Module Browse to the folder where APIs are stored > select the root folder of the API you w...

1 vote 1 answer

sony sony-smarteyeglass

I can not get the KEY_EVENT

I am participating in a project that makes an extension of a augmented reality application using the smarteyeglass, and I've got a problem. I do not know why when I press the back button on the smarte...

Accepted answer by Ahmet SONY: You can use HelloEvents sample to see KeyEvent for back button quickly. If you would like to implement it in your own project, please check following implementations are in place in your project. Have...

0 votes 2 answers

sony sony-smarteyeglass

Can Sony SmartEyeglass perform live video and audio streaming?

I am participating in a project which requires live video and audio streaming from the device to a computer. For this project, Sony SmartEyeglass is one candidate. Before acquiring the device, it is c...

Latest answer by Goot: I think your problem is, you don't know how providing a live stream works. Read about RTSP and RTMP. I had good expriences with this nginx module: https://github.com/arut/nginx-rtmp-module (this proje...

0 votes 1 answer

sony sony-smarteyeglass

Putting any layout elements above the midline for Sony SmartEyeGlass

I am new to android development/SmartEyeGlass SDK and I am wondering if it is possible to put anything (text, images, whatever) above the midline on the screen. When I put a <ImageView> in my la...

Latest answer by Marlin SONY: You should be able to draw above the midline. Try adding layout_alignParentLeft and layout_alignParentTop like this: <ImageView android:id="@+id/image" android:layout_width="48px" android:layout_he...

0 votes 2 answers

sony sony-smarteyeglass

Sony SmartEyeglass: How can I mirror Sony SmartEyeglass screen to Andorid handset or PC?

I want to show others what I can see on on Sony SmartEyeglass which I have worn. Is there any way to mirror it on paired Android handset screen or PC? Please help.

Latest answer by Marlin SONY: There is no way to get a screen capture of the SmartEyeglass or mirror it. If you are asking about capturing the output from the Camera to display on the Android device, then it is possible using the...

0 votes 1 answer

sony sony-smartwatch

Sony Smartband 2 Beat-To-Beat RR intervals data

Is it possible to access the raw beat-to-beat RR intervals data from Sony Smartband 2 API? If not, are there any other commercial wearable devices that can provide access to this data? Any help would...

Accepted answer by Robert - Sony: Not sure about other wearable devices, but the Smartband 2 does not have a direct way to access it's data. The only data available is what you can pull from partner API's. Here is an article that goes...

0 votes 1 answer

sony sony-smartwatch

Sony, sony-smartwatch

I have a One Question: I newly starting developing for Sony Smart Watch 3. I established all environment setup for developing but I can't able to connect my sony smart watch 3 with nexus 7 tablet. So...

Latest answer by Frank im Wald: Hard to tell from the little information you're providing. But sometimes it helps to reset the smartwatch to its factory settings. Find 'Reset Device' in the settings menu tap to confirm Also don't fo...

Control App Sony Smartwatch2

Hello I am developing an app for the Sony Smartwatch 2 and I have a couple of questions: First: is it possible to Launch the "app on the watch" using the app on my phone? I mean I want to be able to c...

Latest answer by Robert - Sony: If you want to start the SmartWatch 2 you can do it using this code: Intent i1 = new Intent("com.sonyericsson.extras.aef.control.START_REQUEST"); i1.putExtra("aea_package_name", "com.youpackage.name"...

Send a vibration to a SmartWatch 2 App

I've been trying for a while and I can't send a vibration to my SmartWatch 2. I'm just editing one of the sample codes, so it would be relatively easy. This is the code fragment: // Show something Tex...

Latest answer by Marlin SONY: The code looks correct to me. Only possibilities I can think of here are: The startVibrator method is not being called. Are you sure it's going into the "if" statement? The vibration on your watch is...

Receive message SmartEyeglass ControlExtension

I want to make an app for Sony SmartEyeglass where the App on the Phone and the ControlExtension exchange data on runtime. It's pretty obvious how to send messages from the app to the extension... pub...

Latest answer by Marlin SONY: You can do this using Intents the same way you would for an standard Android app. For example from your Activity: Intent intentBuzz = new Intent(); intentBuzz.setAction(buzzIntent); mContext.sendBroad...

Using Sony Camera API on AndroidWear

I want to create an app that can start and stop recording from a Sony AS100VR camera using camera remote API. I can get the same working from my nexus using a direct Wifi connection, but when I establ...

Accepted answer by Willings: UDP Mulitcast is not available on smartwatch, so SSDP discovery fails. There is a fail-safe choice for any UPnP based application, that is: As in most case, the resource URL structure keeps unchanged...

SmartWatch 2 Google Play Licensing

I want to add Google Play Licensing to my smartwatch 2 app. I would like to know where is the best place to do the license check, since I do not want to do it when the user open the app on the watch s...

Accepted answer by Anup: License checks can be done asynchronously. Since the actual extension apk runs on the phone with only UI components communicated to the watch, it will not affect the performance on the watch if done a...

0 votes 1 answer

api camera sony

getContentList does not return videos

I've created a project which collects videos and images from a sony camera. To do this, I start the "Smart Remote Control" app on the camera using the camera's physical controls. I connect a computer...

Latest answer by Marlin SONY: Unfortunately the A7S is one of the cameras that does not support movie transferring. You can see on the footnote 21 from this page: https://developer.sony.com/develop/cameras/ ILCE-7, ILCE-7R, ILCE-5...

0 votes 1 answer

camera sony

Remote API with WIFI enabled Camcorders

I currently own a CX330, which has WIFI control through a Sony app. I would like to build the remote control features into another app I'm building as well as being able to download video from the dev...

Accepted answer by Robert - Sony: We do have an API for working with cameras, but unfortunately your camera is not supported. You can find the full list of supported cameras here: https://developer.sony.com/develop/cameras/ The API do...

0 votes 3 answers

android camera sony sony-camera-api

Controlling multiple cameras remotely with Sony API via router

I've got five Sony FDR-X1000 cameras and I want to control them all at the same time with my laptop using the Sony remote control API. My plan is connecting them all to a router and then connecting my...

Latest answer by kriskot: It's rather not possible this way as the it is the camera the one that has to be server and your device - a client. So what could be a solution for you is rather to have five usb wifi adapters and use...

1 vote 1 answer

api camera sony

How to download RAW files from A7 API?

I am working on a simple desktop tethering app for my A7 using the Wi Fi based JSON API. https://developer.sony.com/develop/cameras/ All works well except I cannot download the RAW files. I can tweak...

Accepted answer by Kiril: After installing v4 of Smart Remote Control on A7ii I can now list the contents of SD Card and download RAW files and image previews. The sequence is roughly 1 move camera to recording mode (API does...

3 votes 1 answer

c# camera sony sony-camera-api

Sony Camera API with C#

I have asked a previous question on SO with regards to the Sony Camera API and I did get some help but I am still having a problem. I found the following library https://github.com/kazyx/kz-remote-api...

Accepted answer by GANDA1F: I finally got my thing working and I tried to put it in such a manner so that it is easily understandable. If anyone would like my Sony Library that I wrote that please let me know as I also tried the...

3 votes 1 answer

camera sony sony-camera-api

Setting focus manually with Sony Camera API

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...

Latest answer by Marlin SONY: 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.

0 votes 2 answers

matlab camera sony sony-camera-api

Possible to automate Sony cameras from Matlab with API Beta SDK?

I'm doing research that requires a camera that is automated, but it also has to coordinate with the rotation of a filter wheel and take a series of images relatively quickly (4 images in less than 2 s...

Latest answer by Daniel: My understanding is that it is designed to allow the user to create a stand-alone app, but not to integrate camera commands into a programming environment like Matlab. Don't trust marketing statement...

0 votes 1 answer

sony sony-lifelog-api

ssl peer unverified exception LIFElog api

I am getting ssl peer unverified error while fetching AccessToken from lifelog api. I am able to get the auth_code from the callback URL, but when I am trying to get Access_Token it is giving me SSL p...

Latest answer by Robert - Sony: Is there any chance you are using HttpClient to connect to Lifelog? This problem has appeared before because of the use of HttpClient. It looks like Google has removed support for this call in Android...

0 votes 1 answer

sony sony-lifelog-api

Can I access Lifelog APIs from my android application

When ever I tried to authorize my android application. But It gives me Unauthorized user error.. Can i access lifelog data on my android application using these lifelog REST API's? could some one sugg...

Latest answer by Robert - Sony: What steps have you tried to retrieve data from the API? Are you following the instructions from the Lifelog Authorization page? https://developer.sony.com/develop/services/lifelog-api/authentication...

1 vote 1 answer

sony sony-lifelog-api

Can I access lifelog API (java) and collect data (in background) every hour

My need is to get data of say 10 lifelog users (example my project teammates ) I want to analyse their data and do some scoring to create fitness competition within my team. If I have all these life l...

Latest answer by Robert - Sony: Actually the way to get the data from your teammates is by authenticating them with your app: https://developer.sony.com/develop/services/lifelog-api/authentication/ Once they have authenticated with...

0 votes 1 answer

sony sony-lifelog-api

Lifelog API Explorer: Authorization request could not be completed

I'd like to use the lifelog api for my own webapplication to store my own data and adapt it to my needs. I tried looking into it but unfortunately I'm not able to get the api explorer (to see how it w...

Accepted answer by Robert - Sony: Unfortunately the API Explorer is not working correctly right now. The team is working to fix the issue. In the meantime you can try postman to play around with the API. https://www.getpostman.com/ He...

0 votes 1 answer

sony sony-lifelog-api

How to extend Lifelog

Dose anyone knows (especially someone from sony) is it possible to add new activity to Lifelog like for example ice skating? Additionally is it possible to add activities from external app? Like from...

Latest answer by Robert - Sony: The Lifelog API is a read-only API. Unfortunately you will not be able to add new activities.

0 votes 2 answers

android sony sony-smarteyeglass

How to record audio with Smart Eye Glass?

I am developing an audio recorder with Sony Smart Eyeglass, but it does not work well. My application records just a voice from phone microphone, not from Smart Eyeglass microphone. I'd like to record...

Latest answer by Ahmet SONY: Some phones require an extra method call after setMode: private AudioManager m_amAudioManager; m_amAudioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); m_amAudioManager.setMode(AudioM...

0 votes 1 answer

sony sony-smarteyeglass

SmartEyeglass: How to view the video that is streamed from the glasses camera

The SampleCameraExtension sdk sample allows writing jpegs (7.5 or 15 fps) to a folder on my phone/tablet. I don't want to store these files, I want to view them (real time) on my tablet (for test) and...

Accepted answer by Ahmet SONY: SampleCameraExtension uses JPEGStream API and saves stream of images to the folder on the mobile. You can use this image stream to develop your own application such as live streaming in a webpage or t...

0 votes 1 answer

sony sony-smarteyeglass

How to maintain the screen or display ON on the sony smarteyeglass?

I want to maintain the screen ON on an app I have developed on the Sony Smarteyeglass. The problem is that I haven't found in the API something to set or unset. How could be done? Is it posible?

Latest answer by Marlin SONY: Take a look at the setScreenState() method: https://developer.sony.com/reference/seg-sdk/com/sonyericsson/extras/liveware/extension/util/control/ControlExtension#setScreenState(int) You can pass Contr...

0 votes 2 answers

sony sony-smarteyeglass

How to change the location of the Smarteyeglass API

I have an application working that I made using one of the samples as base (Advanced Layouts). I added some external modules that was added to the project just fine, but I can't manage to put the 3 fo...

Latest answer by Emily SONY: You probably need to add APIs as modules in your project. Please see steps below: Choose File > New > Import Module Browse to the folder where APIs are stored > select the root folder of the API you w...

1 vote 1 answer

sony sony-smarteyeglass

I can not get the KEY_EVENT

I am participating in a project that makes an extension of a augmented reality application using the smarteyeglass, and I've got a problem. I do not know why when I press the back button on the smarte...

Accepted answer by Ahmet SONY: You can use HelloEvents sample to see KeyEvent for back button quickly. If you would like to implement it in your own project, please check following implementations are in place in your project. Have...

0 votes 2 answers

sony sony-smarteyeglass

Can Sony SmartEyeglass perform live video and audio streaming?

I am participating in a project which requires live video and audio streaming from the device to a computer. For this project, Sony SmartEyeglass is one candidate. Before acquiring the device, it is c...

Latest answer by Goot: I think your problem is, you don't know how providing a live stream works. Read about RTSP and RTMP. I had good expriences with this nginx module: https://github.com/arut/nginx-rtmp-module (this proje...

0 votes 1 answer

sony sony-smarteyeglass

Putting any layout elements above the midline for Sony SmartEyeGlass

I am new to android development/SmartEyeGlass SDK and I am wondering if it is possible to put anything (text, images, whatever) above the midline on the screen. When I put a <ImageView> in my la...

Latest answer by Marlin SONY: You should be able to draw above the midline. Try adding layout_alignParentLeft and layout_alignParentTop like this: <ImageView android:id="@+id/image" android:layout_width="48px" android:layout_he...

0 votes 2 answers

sony sony-smarteyeglass

Sony SmartEyeglass: How can I mirror Sony SmartEyeglass screen to Andorid handset or PC?

I want to show others what I can see on on Sony SmartEyeglass which I have worn. Is there any way to mirror it on paired Android handset screen or PC? Please help.

Latest answer by Marlin SONY: There is no way to get a screen capture of the SmartEyeglass or mirror it. If you are asking about capturing the output from the Camera to display on the Android device, then it is possible using the...

0 votes 1 answer

sony sony-smartwatch

Sony Smartband 2 Beat-To-Beat RR intervals data

Is it possible to access the raw beat-to-beat RR intervals data from Sony Smartband 2 API? If not, are there any other commercial wearable devices that can provide access to this data? Any help would...

Accepted answer by Robert - Sony: Not sure about other wearable devices, but the Smartband 2 does not have a direct way to access it's data. The only data available is what you can pull from partner API's. Here is an article that goes...

0 votes 1 answer

sony sony-smartwatch

Sony, sony-smartwatch

I have a One Question: I newly starting developing for Sony Smart Watch 3. I established all environment setup for developing but I can't able to connect my sony smart watch 3 with nexus 7 tablet. So...

Latest answer by Frank im Wald: Hard to tell from the little information you're providing. But sometimes it helps to reset the smartwatch to its factory settings. Find 'Reset Device' in the settings menu tap to confirm Also don't fo...

Control App Sony Smartwatch2

Hello I am developing an app for the Sony Smartwatch 2 and I have a couple of questions: First: is it possible to Launch the "app on the watch" using the app on my phone? I mean I want to be able to c...

Latest answer by Robert - Sony: If you want to start the SmartWatch 2 you can do it using this code: Intent i1 = new Intent("com.sonyericsson.extras.aef.control.START_REQUEST"); i1.putExtra("aea_package_name", "com.youpackage.name"...

Send a vibration to a SmartWatch 2 App

I've been trying for a while and I can't send a vibration to my SmartWatch 2. I'm just editing one of the sample codes, so it would be relatively easy. This is the code fragment: // Show something Tex...

Latest answer by Marlin SONY: The code looks correct to me. Only possibilities I can think of here are: The startVibrator method is not being called. Are you sure it's going into the "if" statement? The vibration on your watch is...

Receive message SmartEyeglass ControlExtension

I want to make an app for Sony SmartEyeglass where the App on the Phone and the ControlExtension exchange data on runtime. It's pretty obvious how to send messages from the app to the extension... pub...

Latest answer by Marlin SONY: You can do this using Intents the same way you would for an standard Android app. For example from your Activity: Intent intentBuzz = new Intent(); intentBuzz.setAction(buzzIntent); mContext.sendBroad...

Using Sony Camera API on AndroidWear

I want to create an app that can start and stop recording from a Sony AS100VR camera using camera remote API. I can get the same working from my nexus using a direct Wifi connection, but when I establ...

Accepted answer by Willings: UDP Mulitcast is not available on smartwatch, so SSDP discovery fails. There is a fail-safe choice for any UPnP based application, that is: As in most case, the resource URL structure keeps unchanged...

SmartWatch 2 Google Play Licensing

I want to add Google Play Licensing to my smartwatch 2 app. I would like to know where is the best place to do the license check, since I do not want to do it when the user open the app on the watch s...

Accepted answer by Anup: License checks can be done asynchronously. Since the actual extension apk runs on the phone with only UI components communicated to the watch, it will not affect the performance on the watch if done a...

0 votes 1 answer

api camera sony

getContentList does not return videos

I've created a project which collects videos and images from a sony camera. To do this, I start the "Smart Remote Control" app on the camera using the camera's physical controls. I connect a computer...

Latest answer by Marlin SONY: Unfortunately the A7S is one of the cameras that does not support movie transferring. You can see on the footnote 21 from this page: https://developer.sony.com/develop/cameras/ ILCE-7, ILCE-7R, ILCE-5...

0 votes 1 answer

camera sony

Remote API with WIFI enabled Camcorders

I currently own a CX330, which has WIFI control through a Sony app. I would like to build the remote control features into another app I'm building as well as being able to download video from the dev...

Accepted answer by Robert - Sony: We do have an API for working with cameras, but unfortunately your camera is not supported. You can find the full list of supported cameras here: https://developer.sony.com/develop/cameras/ The API do...

0 votes 3 answers

android camera sony sony-camera-api

Controlling multiple cameras remotely with Sony API via router

I've got five Sony FDR-X1000 cameras and I want to control them all at the same time with my laptop using the Sony remote control API. My plan is connecting them all to a router and then connecting my...

Latest answer by kriskot: It's rather not possible this way as the it is the camera the one that has to be server and your device - a client. So what could be a solution for you is rather to have five usb wifi adapters and use...

1 vote 1 answer

api camera sony

How to download RAW files from A7 API?

I am working on a simple desktop tethering app for my A7 using the Wi Fi based JSON API. https://developer.sony.com/develop/cameras/ All works well except I cannot download the RAW files. I can tweak...

Accepted answer by Kiril: After installing v4 of Smart Remote Control on A7ii I can now list the contents of SD Card and download RAW files and image previews. The sequence is roughly 1 move camera to recording mode (API does...

3 votes 1 answer

c# camera sony sony-camera-api

Sony Camera API with C#

I have asked a previous question on SO with regards to the Sony Camera API and I did get some help but I am still having a problem. I found the following library https://github.com/kazyx/kz-remote-api...

Accepted answer by GANDA1F: I finally got my thing working and I tried to put it in such a manner so that it is easily understandable. If anyone would like my Sony Library that I wrote that please let me know as I also tried the...

3 votes 1 answer

camera sony sony-camera-api

Setting focus manually with Sony Camera API

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...

Latest answer by Marlin SONY: 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.

0 votes 2 answers

matlab camera sony sony-camera-api

Possible to automate Sony cameras from Matlab with API Beta SDK?

I'm doing research that requires a camera that is automated, but it also has to coordinate with the rotation of a filter wheel and take a series of images relatively quickly (4 images in less than 2 s...

Latest answer by Daniel: My understanding is that it is designed to allow the user to create a stand-alone app, but not to integrate camera commands into a programming environment like Matlab. Don't trust marketing statement...

0 votes 1 answer

sony sony-lifelog-api

ssl peer unverified exception LIFElog api

I am getting ssl peer unverified error while fetching AccessToken from lifelog api. I am able to get the auth_code from the callback URL, but when I am trying to get Access_Token it is giving me SSL p...

Latest answer by Robert - Sony: Is there any chance you are using HttpClient to connect to Lifelog? This problem has appeared before because of the use of HttpClient. It looks like Google has removed support for this call in Android...

0 votes 1 answer

sony sony-lifelog-api

Can I access Lifelog APIs from my android application

When ever I tried to authorize my android application. But It gives me Unauthorized user error.. Can i access lifelog data on my android application using these lifelog REST API's? could some one sugg...

Latest answer by Robert - Sony: What steps have you tried to retrieve data from the API? Are you following the instructions from the Lifelog Authorization page? https://developer.sony.com/develop/services/lifelog-api/authentication...

1 vote 1 answer

sony sony-lifelog-api

Can I access lifelog API (java) and collect data (in background) every hour

My need is to get data of say 10 lifelog users (example my project teammates ) I want to analyse their data and do some scoring to create fitness competition within my team. If I have all these life l...

Latest answer by Robert - Sony: Actually the way to get the data from your teammates is by authenticating them with your app: https://developer.sony.com/develop/services/lifelog-api/authentication/ Once they have authenticated with...

0 votes 1 answer

sony sony-lifelog-api

Lifelog API Explorer: Authorization request could not be completed

I'd like to use the lifelog api for my own webapplication to store my own data and adapt it to my needs. I tried looking into it but unfortunately I'm not able to get the api explorer (to see how it w...

Accepted answer by Robert - Sony: Unfortunately the API Explorer is not working correctly right now. The team is working to fix the issue. In the meantime you can try postman to play around with the API. https://www.getpostman.com/ He...

0 votes 1 answer

sony sony-lifelog-api

How to extend Lifelog

Dose anyone knows (especially someone from sony) is it possible to add new activity to Lifelog like for example ice skating? Additionally is it possible to add activities from external app? Like from...

Latest answer by Robert - Sony: The Lifelog API is a read-only API. Unfortunately you will not be able to add new activities.