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.

741 Sony related questions
0 votes 1 answer

sony sony-smarteyeglass

Sony Smarteyeglass detect QR code with jpeg stream

I am trying to detect qr codes with the sony smarteyeglass When I use CAMERA_MODE_STILL i can capture a picture and detect the barcode in it works fine! Now when I change the recording mode to CAMERA_...

Latest answer by Robert - Sony: Sorry for the late reply. You should be able to use the CAMERA_MODE_JPG_STREAM_LOW_RATE option and capture the images you need frame by frame and send them to zing. If you start from the SampleCameraC...

0 votes 1 answer

localhost sony sony-smarteyeglass

Livestreaming app for the SmartEyeglass - Localhost

I have downloaded the Livestreaming App for the SmartEyeglass and I want to enter certain things to it but I don't know how.For the App to work you need to install it to your phone and open the localh...

Latest answer by Marlin SONY: To update the localhost server, you will need to edit the HTML and Javascript files located in the PC-nodeJS-Server folder running on your PC.

-1 votes 1 answer

sony sony-smarteyeglass

How to install the custom app to the Android phone for using Sony-SmartEyeGlass?

Dear Developers of the Sony SmartEyeGlass(SED-E1) This is the 1st time question to the Stack Overflow.And my English ability is poor.You may think that my question is a little hard to understand, plea...

Latest answer by Robert - Sony: Yes you will have to use the SmartEyeglass SDK to have your app appear on the glasses. I would recommend checking out our documentation on the SmartEyeglass developer site here: https://developer.sony...

1 vote 1 answer

android sony sony-smarteyeglass

Sony Smart Eye Glass can't activate High Power Mode

I'm using below API utils.setPowerMode(Intents.POWER_MODE_HIGH); I usually can't activate High Power Mode of Sony Smart Eye Glass even try on built-in camera app of the Glass. I tried with many Androi...

Latest answer by Marlin SONY: Unfortunately, this is a known bug and there isn't a workaround available at this time. You can check our SmartEyeglass developer page for updates in the future https://developer.sony.com/develop/wear...

0 votes 1 answer

qr-code sony sony-smarteyeglass

QR Code Reader for Sony SmartEyeglass

$ Hello, I am using an app I found on Github https://github.com/simsor/SmartEyeglassQRCode/blob/master/AndroidApp/app/src/main/java/com/example/sony/smarteyeglass/extension/helloworld/HelloWorldContro...

Accepted answer by stackg91: The problem is the doWebsiteCommunication(result.getText()); Just replace it with updateLayout(result.getText()); This should work fine PS: the doWebsiteCommunication was meant to update an external W...

4 votes 4 answers

android nfc sony sony-smartwatch

Is there an NFC API for the Smartwatch 3 (SWR50)

Just to be sure and have clarification of that at first, is the NFC of the Smartwatch 3 just an embedded tag or is it a theoretically fully functioning NFC-chip? Hoping it's not just a tag, we want to...

Accepted answer by shellström: There is a fully functional chip in the SmartWatch 3. It is today acting according to the spec linked by CM787 (here's a new one as the old one seems dead). When Android Wear officially expands on the...

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

1 vote 2 answers

android sdk sony sony-smartwatch

sony add-on sdk 2.0?

I would like to make an app for my Sony Smartwatch SW2. As I have an Android 4.1.2 (API 16) phone (it does not support higher versions), I guess I must use Sony Add-on SDK 2.0. But I am having a hard...

Latest answer by Naheel: You can download v3.0, all what you'll need for SW2 is the samples that can be founded on Android-sdk/add-ons/addon-sony_add-on_sdk_3_0-sony-19/samples/SmartExtensions/

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

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

Windows compatibility with the Sony Camera Remote API

In the "How to develop an app using the Camera Remote API" toturial it states "The Camera Remote API uses JSON-RPC over HTTP. You can therefore use the Camera Remote APIs with any operating system, su...

Accepted answer by Prem SONY: Thank you for your inquiry. In the A5000, A7R, A7, NEX-6, NEX-5T, NEX-5R cameras, install the below app. https://www.playmemoriescameraapps.com/portal/usbdetail.php?eid=IS9104-NPIA09014_00-F00002 This...

0 votes 1 answer

camera sony sony-camera-api

HTTPS and CORS with Sony Camera API

I am developing a web application which makes use of the Sony Camera API with an Alpha 6300. The web-app needs to access the camera and internet at the same time. Therefore, I am using a laptop with t...

Latest answer by odinho - Velmont: You can use a local CORS proxy. That's what I've done for development. I went the similar route of "Electron" for disabling the same origin policy, only I used PhoneGap because I needed this for a pho...

-1 votes 1 answer

camera sony

Using TouchAFPosition with Sony a6500 Camera

I am trying to use setTouchAFPosition with Sony Camera Remote API version 2.40 and a a6500 Camera. I am able to get the Liveview and actTakePicture to work but any time I call "setTouchAFPosition" I k...

Latest answer by Robert - Sony: It could have something to do with the a6500 not supporting "Tracking Focus". Try running the "getSupportedCameraFunction" and "getAvailableCameraFunction" commands to see if the "setTouchAFPosition"...

0 votes 1 answer

android camera sony

Xperia Z1 camera parameters iso-values

I want to create a Sony Camera Add-on. I cannot get any "iso-values" related camera parameters from my Xperia Z1 device. The Sony Camera app (SomcCameraWidget.apk) does have ISO settings though. Can i...

Accepted answer by Marlin SONY: Currently the iso values are only accessible via private APIs. However, if there is enough community demand for opening up these APIs then it may be possible to do so.

0 votes 2 answers

camera sony

Sony Camera Remote API beta SDK: how to deactivate auto focus on QX10?

Since Sony XQ10's auto-focus can't be deactivated via its app-menu, is there a way to do so using the SDK? Corresponding reference Sony Camera Remote API doesn't contain any "setFocusMode" or similar...

Accepted answer by Marlin SONY: This is not currently supported in the Camera Remote API SDK. There is an update planned for spring which will include additional features but not sure about auto-focus control: https://developer.sony...

0 votes 1 answer

android api camera control sony

SONY CameraRemoteAPI Android camera detection not working

I am trying out the official Sony CameraRemoteAPI and its example application for Android. The sample application however is not finding my A6000 camera on 239.255.255.250:1900 like it is written in t...

Latest answer by Sir Neuman: On your Android device you need to go into your wi-fi settings (outside of the application) and select the camera's access point as your wi-fi network, and when the device prompts you for the wi-fi pa...

0 votes 2 answers

c# api camera sony

getPostviewImageSize and setPostviewImageSize are "Not Available Now"

By using the Sony Remote API I have to download the original image size by JSON from a Sony Alpha 7R to the connected computer (Windows 10, using C#). The API docs says, the Postview Image Size is ava...

Latest answer by Marlin SONY: There are a couple things to check here: Check that your camera has the latest firmware. http://esupport.sony.com/US/p/model-home.pl?mdl=ILCE7M2&template_id=1&region_id=1&tab=download#/dow...

1 vote 1 answer

camera sony sony-camera-api

postview image in original size

(a similar issue was asked before [1], but the answers provided there don't really help me) My camera is a DSC-W500, running Smart Remote Control Ver. 4.10 (no further updates offered). The camera has...

Latest answer by Marlin SONY: It is strange that getAvailablePostviewImageSize() is not returning "Original" as an option. I would suggest checking that your memory card is formatted and installed correctly.

0 votes 1 answer

sony sony-lifelog-api

Get a weird reponse while trying to request data from the lifelog-api

I'm having problems with requesting data, it works fine when I try it in the API explorer but when I'm about to make a request from my webapp it just responds with a status of 200 and a body filled wi...

Accepted answer by Emil Nolin: since your are requesting gzip encoding you need to tell request to expect gzipped content, just add gzip: true to you options. const options = { url: 'https://apigateway.lifelog.sonymobile.com/v1/use...

0 votes 2 answers

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

0 votes 1 answer

sony sony-lifelog-api

How frequent does Lifelog uploads the data to its platform data store

I want to know how frequent does Lifelog uploads the data it collected to the Lifelog Platform Data store. Cause I want to be able to check in real time what activity the user is doing etc!

Accepted answer by Robert - Sony: I believe that it is going to be difficult for you to consistently pull data in real time. Here is the timing for the updates though. The logger normally uploads data once every hour. Once every 15 mi...

0 votes 1 answer

python ssl sony sony-lifelog-api

SONY Lifelog Api: SSL Handshake failure

I get an SSL handshake failure while trying to reach platform.lifelog.sonymobile.com:443 with either python (with requests library) or openssl. Here are the output I get from openssl ssl3: $ >opens...

Latest answer by Awi: I'm using google-oauth-java-client from https://github.com/google/google-oauth-java-client to get data regularly from lifelog API. No special care was needed for certificates. Previous to Android clie...

Get Lifelog API result

I'm trying to use the Lifelog's API and i wrote this portion of code: . . . //MAIN ACTIVITY private void scaricaDati(){ token = spref.getString("access_token"); Log.i(TAG, "(scaricaDati) token = " + t...

Latest answer by Robert - Sony: I believe the answer may be that you are using JSONObjectRequest instead of StringRequest. JsonObjectRequest overrides the getBody() method so your getParam() method never runs. You can read more abou...

0 votes 1 answer

sony sony-smarteyeglass

Sony Smarteyeglass detect QR code with jpeg stream

I am trying to detect qr codes with the sony smarteyeglass When I use CAMERA_MODE_STILL i can capture a picture and detect the barcode in it works fine! Now when I change the recording mode to CAMERA_...

Latest answer by Robert - Sony: Sorry for the late reply. You should be able to use the CAMERA_MODE_JPG_STREAM_LOW_RATE option and capture the images you need frame by frame and send them to zing. If you start from the SampleCameraC...

0 votes 1 answer

localhost sony sony-smarteyeglass

Livestreaming app for the SmartEyeglass - Localhost

I have downloaded the Livestreaming App for the SmartEyeglass and I want to enter certain things to it but I don't know how.For the App to work you need to install it to your phone and open the localh...

Latest answer by Marlin SONY: To update the localhost server, you will need to edit the HTML and Javascript files located in the PC-nodeJS-Server folder running on your PC.

-1 votes 1 answer

sony sony-smarteyeglass

How to install the custom app to the Android phone for using Sony-SmartEyeGlass?

Dear Developers of the Sony SmartEyeGlass(SED-E1) This is the 1st time question to the Stack Overflow.And my English ability is poor.You may think that my question is a little hard to understand, plea...

Latest answer by Robert - Sony: Yes you will have to use the SmartEyeglass SDK to have your app appear on the glasses. I would recommend checking out our documentation on the SmartEyeglass developer site here: https://developer.sony...

1 vote 1 answer

android sony sony-smarteyeglass

Sony Smart Eye Glass can't activate High Power Mode

I'm using below API utils.setPowerMode(Intents.POWER_MODE_HIGH); I usually can't activate High Power Mode of Sony Smart Eye Glass even try on built-in camera app of the Glass. I tried with many Androi...

Latest answer by Marlin SONY: Unfortunately, this is a known bug and there isn't a workaround available at this time. You can check our SmartEyeglass developer page for updates in the future https://developer.sony.com/develop/wear...

0 votes 1 answer

qr-code sony sony-smarteyeglass

QR Code Reader for Sony SmartEyeglass

$ Hello, I am using an app I found on Github https://github.com/simsor/SmartEyeglassQRCode/blob/master/AndroidApp/app/src/main/java/com/example/sony/smarteyeglass/extension/helloworld/HelloWorldContro...

Accepted answer by stackg91: The problem is the doWebsiteCommunication(result.getText()); Just replace it with updateLayout(result.getText()); This should work fine PS: the doWebsiteCommunication was meant to update an external W...

4 votes 4 answers

android nfc sony sony-smartwatch

Is there an NFC API for the Smartwatch 3 (SWR50)

Just to be sure and have clarification of that at first, is the NFC of the Smartwatch 3 just an embedded tag or is it a theoretically fully functioning NFC-chip? Hoping it's not just a tag, we want to...

Accepted answer by shellström: There is a fully functional chip in the SmartWatch 3. It is today acting according to the spec linked by CM787 (here's a new one as the old one seems dead). When Android Wear officially expands on the...

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

1 vote 2 answers

android sdk sony sony-smartwatch

sony add-on sdk 2.0?

I would like to make an app for my Sony Smartwatch SW2. As I have an Android 4.1.2 (API 16) phone (it does not support higher versions), I guess I must use Sony Add-on SDK 2.0. But I am having a hard...

Latest answer by Naheel: You can download v3.0, all what you'll need for SW2 is the samples that can be founded on Android-sdk/add-ons/addon-sony_add-on_sdk_3_0-sony-19/samples/SmartExtensions/

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

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

Windows compatibility with the Sony Camera Remote API

In the "How to develop an app using the Camera Remote API" toturial it states "The Camera Remote API uses JSON-RPC over HTTP. You can therefore use the Camera Remote APIs with any operating system, su...

Accepted answer by Prem SONY: Thank you for your inquiry. In the A5000, A7R, A7, NEX-6, NEX-5T, NEX-5R cameras, install the below app. https://www.playmemoriescameraapps.com/portal/usbdetail.php?eid=IS9104-NPIA09014_00-F00002 This...

0 votes 1 answer

camera sony sony-camera-api

HTTPS and CORS with Sony Camera API

I am developing a web application which makes use of the Sony Camera API with an Alpha 6300. The web-app needs to access the camera and internet at the same time. Therefore, I am using a laptop with t...

Latest answer by odinho - Velmont: You can use a local CORS proxy. That's what I've done for development. I went the similar route of "Electron" for disabling the same origin policy, only I used PhoneGap because I needed this for a pho...

-1 votes 1 answer

camera sony

Using TouchAFPosition with Sony a6500 Camera

I am trying to use setTouchAFPosition with Sony Camera Remote API version 2.40 and a a6500 Camera. I am able to get the Liveview and actTakePicture to work but any time I call "setTouchAFPosition" I k...

Latest answer by Robert - Sony: It could have something to do with the a6500 not supporting "Tracking Focus". Try running the "getSupportedCameraFunction" and "getAvailableCameraFunction" commands to see if the "setTouchAFPosition"...

0 votes 1 answer

android camera sony

Xperia Z1 camera parameters iso-values

I want to create a Sony Camera Add-on. I cannot get any "iso-values" related camera parameters from my Xperia Z1 device. The Sony Camera app (SomcCameraWidget.apk) does have ISO settings though. Can i...

Accepted answer by Marlin SONY: Currently the iso values are only accessible via private APIs. However, if there is enough community demand for opening up these APIs then it may be possible to do so.

0 votes 2 answers

camera sony

Sony Camera Remote API beta SDK: how to deactivate auto focus on QX10?

Since Sony XQ10's auto-focus can't be deactivated via its app-menu, is there a way to do so using the SDK? Corresponding reference Sony Camera Remote API doesn't contain any "setFocusMode" or similar...

Accepted answer by Marlin SONY: This is not currently supported in the Camera Remote API SDK. There is an update planned for spring which will include additional features but not sure about auto-focus control: https://developer.sony...

0 votes 1 answer

android api camera control sony

SONY CameraRemoteAPI Android camera detection not working

I am trying out the official Sony CameraRemoteAPI and its example application for Android. The sample application however is not finding my A6000 camera on 239.255.255.250:1900 like it is written in t...

Latest answer by Sir Neuman: On your Android device you need to go into your wi-fi settings (outside of the application) and select the camera's access point as your wi-fi network, and when the device prompts you for the wi-fi pa...

0 votes 2 answers

c# api camera sony

getPostviewImageSize and setPostviewImageSize are "Not Available Now"

By using the Sony Remote API I have to download the original image size by JSON from a Sony Alpha 7R to the connected computer (Windows 10, using C#). The API docs says, the Postview Image Size is ava...

Latest answer by Marlin SONY: There are a couple things to check here: Check that your camera has the latest firmware. http://esupport.sony.com/US/p/model-home.pl?mdl=ILCE7M2&template_id=1&region_id=1&tab=download#/dow...

1 vote 1 answer

camera sony sony-camera-api

postview image in original size

(a similar issue was asked before [1], but the answers provided there don't really help me) My camera is a DSC-W500, running Smart Remote Control Ver. 4.10 (no further updates offered). The camera has...

Latest answer by Marlin SONY: It is strange that getAvailablePostviewImageSize() is not returning "Original" as an option. I would suggest checking that your memory card is formatted and installed correctly.

0 votes 1 answer

sony sony-lifelog-api

Get a weird reponse while trying to request data from the lifelog-api

I'm having problems with requesting data, it works fine when I try it in the API explorer but when I'm about to make a request from my webapp it just responds with a status of 200 and a body filled wi...

Accepted answer by Emil Nolin: since your are requesting gzip encoding you need to tell request to expect gzipped content, just add gzip: true to you options. const options = { url: 'https://apigateway.lifelog.sonymobile.com/v1/use...

0 votes 2 answers

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

0 votes 1 answer

sony sony-lifelog-api

How frequent does Lifelog uploads the data to its platform data store

I want to know how frequent does Lifelog uploads the data it collected to the Lifelog Platform Data store. Cause I want to be able to check in real time what activity the user is doing etc!

Accepted answer by Robert - Sony: I believe that it is going to be difficult for you to consistently pull data in real time. Here is the timing for the updates though. The logger normally uploads data once every hour. Once every 15 mi...

0 votes 1 answer

python ssl sony sony-lifelog-api

SONY Lifelog Api: SSL Handshake failure

I get an SSL handshake failure while trying to reach platform.lifelog.sonymobile.com:443 with either python (with requests library) or openssl. Here are the output I get from openssl ssl3: $ >opens...

Latest answer by Awi: I'm using google-oauth-java-client from https://github.com/google/google-oauth-java-client to get data regularly from lifelog API. No special care was needed for certificates. Previous to Android clie...

Get Lifelog API result

I'm trying to use the Lifelog's API and i wrote this portion of code: . . . //MAIN ACTIVITY private void scaricaDati(){ token = spref.getString("access_token"); Log.i(TAG, "(scaricaDati) token = " + t...

Latest answer by Robert - Sony: I believe the answer may be that you are using JSONObjectRequest instead of StringRequest. JsonObjectRequest overrides the getBody() method so your getParam() method never runs. You can read more abou...