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.

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

1 vote 1 answer

camera sony sony-camera-api

Movie Shooting Mode, Not Supported

I'm developing an application with the Sony Camera Remote API, using the a6000 as a test device. When calling startRecMode I get the following error message on the camera - The movie shooting mode of...

Latest answer by Marlin SONY: Check that you are running the latest firmware for the camera. You can get it here: http://esupport.sony.com/US/p/swu-download.pl?mdl=ILCE6000&upd_id=10403&os_group_id=5.

0 votes 1 answer

camera sony sony-camera-api

Sony Camera API - Content URL get request 500, malformed URL?

With the latest Sony Camera API, I'm able to get a list of the contents on the memory card. When I'm trying to download the images using a GET request, I'm getting a 500 error without any descriptive...

Latest answer by user8417839: I can only spoke for me: I want video-data instead of thumbnail-data and I just used the url as given through their "result" JSON-Object and I got no problems. For me this looks like this: http://192...

0 votes 2 answers

camera sony sony-camera-api

sony-camera-api - CameraRemoteAPIbeta - deleteContent/actFormatStorage

In the reference guide of the Sony Camera Remote API SDK (Sony_CameraRemoteAPIbeta_API-Reference_v2.10.pdf) the methods deleteContent and getContentList are documented. But using the Sony Camera Remot...

Accepted answer by chris: I have been able to delete files from the camera using the following sequence of calls: setCameraFunction to "Contents Transfer" getSourceList to get storage location getContentCount to get count of f...

0 votes 1 answer

api sdk camera sony

Sony Sony Camera Remote API beta SDK Transferring images for RX100IV

I am developing remote functions for the Sony RX100 IV. One of the requirements is to download the images wirelessly. I am able to download a small resolution image from the Still Capture api. However...

Latest answer by Robert - Sony: If for instance you use the actTakePicture endpoint it will return the url to the picture you have taken. From there you can download the picture through the url. Because the Camera API is a web api w...

Sony Alpha R 7 Camera - - On Camera App

I have a Sony Alpha 7R Camera and look for information about the "build in" application support. What are those apps, android based? I there information public about how to create and install your own...

Latest answer by Robert - Sony: The real answer is that you can build applications for the Camera API using many different methods. When you create an application for the Camera API you are just making API calls to the camera while...

2 votes 1 answer

camera sony sony-camera-api

still AND movie shootMode on a6300?

Camera: A6300 Remote version: 2.0.1 Is it possible switch between still and movie shootModes remotely? I'm consistently getting back a 500 SET OPERATION FAILED error when trying to switch shoot modes...

Latest answer by Robert - Sony: This does seem like an interesting problem. Can you show me an example of your json request to the camera? Have you already tried getSupportedShootMode and getAvailableShootMode on each icon setting?...

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

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

1 vote 1 answer

camera sony sony-camera-api

Movie Shooting Mode, Not Supported

I'm developing an application with the Sony Camera Remote API, using the a6000 as a test device. When calling startRecMode I get the following error message on the camera - The movie shooting mode of...

Latest answer by Marlin SONY: Check that you are running the latest firmware for the camera. You can get it here: http://esupport.sony.com/US/p/swu-download.pl?mdl=ILCE6000&upd_id=10403&os_group_id=5.

0 votes 1 answer

camera sony sony-camera-api

Sony Camera API - Content URL get request 500, malformed URL?

With the latest Sony Camera API, I'm able to get a list of the contents on the memory card. When I'm trying to download the images using a GET request, I'm getting a 500 error without any descriptive...

Latest answer by user8417839: I can only spoke for me: I want video-data instead of thumbnail-data and I just used the url as given through their "result" JSON-Object and I got no problems. For me this looks like this: http://192...

0 votes 2 answers

camera sony sony-camera-api

sony-camera-api - CameraRemoteAPIbeta - deleteContent/actFormatStorage

In the reference guide of the Sony Camera Remote API SDK (Sony_CameraRemoteAPIbeta_API-Reference_v2.10.pdf) the methods deleteContent and getContentList are documented. But using the Sony Camera Remot...

Accepted answer by chris: I have been able to delete files from the camera using the following sequence of calls: setCameraFunction to "Contents Transfer" getSourceList to get storage location getContentCount to get count of f...

0 votes 1 answer

api sdk camera sony

Sony Sony Camera Remote API beta SDK Transferring images for RX100IV

I am developing remote functions for the Sony RX100 IV. One of the requirements is to download the images wirelessly. I am able to download a small resolution image from the Still Capture api. However...

Latest answer by Robert - Sony: If for instance you use the actTakePicture endpoint it will return the url to the picture you have taken. From there you can download the picture through the url. Because the Camera API is a web api w...

Sony Alpha R 7 Camera - - On Camera App

I have a Sony Alpha 7R Camera and look for information about the "build in" application support. What are those apps, android based? I there information public about how to create and install your own...

Latest answer by Robert - Sony: The real answer is that you can build applications for the Camera API using many different methods. When you create an application for the Camera API you are just making API calls to the camera while...

2 votes 1 answer

camera sony sony-camera-api

still AND movie shootMode on a6300?

Camera: A6300 Remote version: 2.0.1 Is it possible switch between still and movie shootModes remotely? I'm consistently getting back a 500 SET OPERATION FAILED error when trying to switch shoot modes...

Latest answer by Robert - Sony: This does seem like an interesting problem. Can you show me an example of your json request to the camera? Have you already tried getSupportedShootMode and getAvailableShootMode on each icon setting?...

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

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