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.

666 Sony related questions

How do I integrate QR code reading application to Sony SmartEyeGlass?

We are developing an application for Sony SmartEyeGlass. Firstly, we created it with Android Studio and android tablet.Now, we are working with Sample Camera Extension sample to integrate it our Proje...

Latest answer by Robert - Sony: The Sample Camera extension is a great place to start building your QR code reader. In the SampleCameraControl.java there is a function called cameraEventOperation. In this function you will see an ex...

-3 votes 1 answer

sony sony-smarteyeglass

Sony Smart Glasses Mic Input

I have a sony developer kit smart eyeglass and was wondering if there are any tutorials to understand java etc and also I am wanting to use voice input methods to control the menus etc. Am I limited t...

Latest answer by Ahmet SONY: There aren't any tutorials directly on controlling the menu using the microphone. But you can use microphone on SmartEyeglass just like a regular bluetooth headset. You can find a guide about this on...

0 votes 1 answer

sony sony-smarteyeglass

Connecting Sony SmartEyeGlasses with Desktop

Is there a way to connect Sony SmartEyeGlasses directly with a PC using bluetooth? I have to create a Augmented Reality application which cannot use Android Phone or any phone because the application...

Latest answer by Ahmet SONY: There isn't a direct way to connect SmartEyeglass to PC using bluetooth. But as you described, a virtual machine running Android may work. You will need to install SmartConnect and SmartEyeglass apps...

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

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

2 votes 3 answers

android sony sony-smartwatch

Sony SmartWatch 3 (SWR50) no longer returns Sensor.TYPE_LINEAR_ACCELERATION

I am writing an application which uses the Sensor.TYPE_LINEAR_ACCELERATION. mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); This was working up until recently howeve...

Accepted answer by Marlin SONY: Sounds strange that it would just stop working all of a sudden. Did you install any firmware updates recently? Have you tried power cycling the watch? Have you tried doing a factory reset?

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

0 votes 3 answers

python camera sony sony-camera-api

Sony Camera Remote API, Liveview streaming slow

I'm using trying to stream live view of a SONY FDR-X1000V camera on desktop. I use python to call the API and download the package and use opencv to decode jpeg. When I run it, it can hardly catch one...

Accepted answer by Jason: The answer from @Simon Wood and @Robert - Sony are all very useful! I made two mistakes in my code. One is the payload size is 3 bytes instead of 4 bytes. Another is that I assumed the byte order is l...

2 votes 3 answers

sdk camera sony

Sony Playmemories SDK For Aplha & NEX

Do you plan to publish an SDK for the Aplha and NEX cameras? You publish some apps yourself and it would be good to see what the developer community out there could do with these devices. In particula...

Latest answer by Prem SONY: Currently only Camera Remote API(beta) is published and constantly being updated with new capabilities and new devices.

0 votes 1 answer

camera sony

Sony Camera Remote API available over USB on new models?

While Sony teases new camera models to customers (UMC-R10C, UMC-S3C) and mentions both API access and USB connectivity (rather than wifi) - the Sony Camera Remote API currently only mentions wifi. Is...

Latest answer by Simon Wood: +1 on question/request. A lot of DIY'ers are interested in (buying and) controlling Sony cameras via USB. WiFi in 'noisy' environments is problematic.

1 vote 1 answer

camera sony

Can I connect Sony HDR-AS100 to existing access point

I would like to use the camera API to access the live view of a Sony HDR-AS100V camera. I also need my WIFI adaptor to connect to an existing access point. I cannot to the AP provided by the camera. C...

Accepted answer by Prem SONY: This functionality is not officially supported!! HDR-AS100V can connect to an external Wi-Fi access point and be controlled from your app using Camera Remote API over that connection. But operation in...

0 votes 2 answers

camera sony

Sony A7Sii not showing expected API features

I'm trying to control a Sony a7SII via the pysony Sony Camera API wrapper. https://github.com/Bloodevil/sony_camera_api I'm able to connect to the camera, start the session, but I'm not getting the ex...

Latest answer by user1474971: Turns out, both pysony and the API are working fine. You must install the Remote App from the store rather than relying on the "embedded" remote that ships with the camera to get full API functionalit...

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

How do I integrate QR code reading application to Sony SmartEyeGlass?

We are developing an application for Sony SmartEyeGlass. Firstly, we created it with Android Studio and android tablet.Now, we are working with Sample Camera Extension sample to integrate it our Proje...

Latest answer by Robert - Sony: The Sample Camera extension is a great place to start building your QR code reader. In the SampleCameraControl.java there is a function called cameraEventOperation. In this function you will see an ex...

-3 votes 1 answer

sony sony-smarteyeglass

Sony Smart Glasses Mic Input

I have a sony developer kit smart eyeglass and was wondering if there are any tutorials to understand java etc and also I am wanting to use voice input methods to control the menus etc. Am I limited t...

Latest answer by Ahmet SONY: There aren't any tutorials directly on controlling the menu using the microphone. But you can use microphone on SmartEyeglass just like a regular bluetooth headset. You can find a guide about this on...

0 votes 1 answer

sony sony-smarteyeglass

Connecting Sony SmartEyeGlasses with Desktop

Is there a way to connect Sony SmartEyeGlasses directly with a PC using bluetooth? I have to create a Augmented Reality application which cannot use Android Phone or any phone because the application...

Latest answer by Ahmet SONY: There isn't a direct way to connect SmartEyeglass to PC using bluetooth. But as you described, a virtual machine running Android may work. You will need to install SmartConnect and SmartEyeglass apps...

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

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

2 votes 3 answers

android sony sony-smartwatch

Sony SmartWatch 3 (SWR50) no longer returns Sensor.TYPE_LINEAR_ACCELERATION

I am writing an application which uses the Sensor.TYPE_LINEAR_ACCELERATION. mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); This was working up until recently howeve...

Accepted answer by Marlin SONY: Sounds strange that it would just stop working all of a sudden. Did you install any firmware updates recently? Have you tried power cycling the watch? Have you tried doing a factory reset?

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

0 votes 3 answers

python camera sony sony-camera-api

Sony Camera Remote API, Liveview streaming slow

I'm using trying to stream live view of a SONY FDR-X1000V camera on desktop. I use python to call the API and download the package and use opencv to decode jpeg. When I run it, it can hardly catch one...

Accepted answer by Jason: The answer from @Simon Wood and @Robert - Sony are all very useful! I made two mistakes in my code. One is the payload size is 3 bytes instead of 4 bytes. Another is that I assumed the byte order is l...

2 votes 3 answers

sdk camera sony

Sony Playmemories SDK For Aplha & NEX

Do you plan to publish an SDK for the Aplha and NEX cameras? You publish some apps yourself and it would be good to see what the developer community out there could do with these devices. In particula...

Latest answer by Prem SONY: Currently only Camera Remote API(beta) is published and constantly being updated with new capabilities and new devices.

0 votes 1 answer

camera sony

Sony Camera Remote API available over USB on new models?

While Sony teases new camera models to customers (UMC-R10C, UMC-S3C) and mentions both API access and USB connectivity (rather than wifi) - the Sony Camera Remote API currently only mentions wifi. Is...

Latest answer by Simon Wood: +1 on question/request. A lot of DIY'ers are interested in (buying and) controlling Sony cameras via USB. WiFi in 'noisy' environments is problematic.

1 vote 1 answer

camera sony

Can I connect Sony HDR-AS100 to existing access point

I would like to use the camera API to access the live view of a Sony HDR-AS100V camera. I also need my WIFI adaptor to connect to an existing access point. I cannot to the AP provided by the camera. C...

Accepted answer by Prem SONY: This functionality is not officially supported!! HDR-AS100V can connect to an external Wi-Fi access point and be controlled from your app using Camera Remote API over that connection. But operation in...

0 votes 2 answers

camera sony

Sony A7Sii not showing expected API features

I'm trying to control a Sony a7SII via the pysony Sony Camera API wrapper. https://github.com/Bloodevil/sony_camera_api I'm able to connect to the camera, start the session, but I'm not getting the ex...

Latest answer by user1474971: Turns out, both pysony and the API are working fine. You must install the Remote App from the store rather than relying on the "embedded" remote that ships with the camera to get full API functionalit...

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