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.

694 Sony related questions
1 vote 1 answer

android sony sony-smarteyeglass

Using qrcode reading without touch event in SmartEye Glass

We create an application with HelloWorld sample that scans QR codes and uses the database. But we want to do it without touch event. The current situation, we have to use touch event to scan QR code....

Latest answer by Tuğçe Acar: We solved the problem with using SamplaCameraExtension Sample. We moved all codes to SampleCameraExtension so now the program is running smoothly

0 votes 1 answer

android sony sony-smarteyeglass

Sending camera data with Wi-Fi from SmartEyeGlass to host device

I have an application that scans QR code with SmartEyeGlass.But It goes so slow.I belive thats because the app sending camera data from glass to host device with bluetooth. Is there any way to speed t...

Latest answer by Robert - Sony: Yes you can actually switch the SmartEyeglass in to High Power Mode which will send the images over wifi. To activate High Power Mode you can run this command: utils.setPowerMode(Intents.POWER_MODE_HI...

0 votes 1 answer

sony sony-smarteyeglass

method to get raw data of streaming

I want porting my application for android phone what analyze live streaming to smarteyeglass. I use raw data (YUV420SP) onPreviewFrame(byte[] data,Camera camera)/setPreviewCallbackWithBuffer() in andr...

Latest answer by Marlin SONY: Unfortunately is not possible to get the raw data, only JPEG data. What is the reason for wanting raw data instead of JPEG?

0 votes 1 answer

sony sony-smarteyeglass

How to change Streaming rate of the camera?

I read in the camera mode documentation of Sony Smartglasses that it has a CAMERA_MODE_JPG_STREAM_LOW_RATE in which camera takes still pictures continuously at 7.5fps. How can I change that to have a...

Latest answer by Marlin SONY: There isn't a way to set a specific frame rate when doing JPEG streaming unfortunately. Did you try just using STILL mode and calling requestCameraCapture() to take pictures in the interval you want?

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

0 votes 2 answers

sony sony-smarteyeglass

Passing image to another layout

I am using Sony Smart eyeglasses sdk for a project. I have two layouts xml file and I am trying to get image from gallery displayed on the imageview of the layout. I have obtained image location as a...

Latest answer by Ahmet SONY: HelloLayouts sample project in SmartEyeglass SDK, shows exactly how to achieve this. You will see a bundle list parameter in showLayout method. You can add your images for different imageViews into th...

0 votes 1 answer

android sony sony-smarteyeglass

How to rotate an ImageView when using SmartEyeGlass SDK?

I am using layout rendering (as opposed to bitmap rendering) in my Smarteyeglass app. How can I rotate an image view, let's say by 45 degrees? I am using the following code to display my layout: Inten...

Accepted answer by Ahmet SONY: Unfortunately, you can not dynamically rotate view elements in the layout. Because layout is rendered and sent to SmartEyeglass once before you use showLayout or sendToHostApp method. If you would lik...

0 votes 1 answer

android sony sony-smarteyeglass

How to get view reference in Sony Smarteyeglass?

I am using layout rendering (as opposed to bitmap rendering) in my Smarteyeglass app. How can I get a reference to the current view? I would like to rotate one ImageView in my layout according to a va...

Accepted answer by Ahmet SONY: Unfortunately, you can not dynamically access to view elements in the layout. Because layout is sent to SmartEyeglass statically once you use the showLayout method or sendToHostApp method. If you woul...

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

0 votes 1 answer

camera sony

The Sony Alpha A77M2 and the Camera Remote API

The new A77M2 has WiFi and the menus look like the camera having the Remote Camera API - and a Sony App for Android is working with the camera (but this app is just a bad joke). I'd like to use the Wi...

Latest answer by Prem SONY: As you might already know, A77M2 is not in the current list of devices supported by Camera Remote API beta SDK. Remote Camera Control Software by Sony Link might come in handy for your situation. Plea...

How to discover sony camers through WiFi even camera wifi password is not stored

How to search Sony Camera wifi programmatically. I want to apply same camera connection feature as sony play memories app do. I want to detect Camera even its wifi password is not stored or currently...

Accepted answer by Marlin SONY: You should be able to use the Android WifiManager class to get a list of all of the WiFi SSIDs. Then it's just a matter of filtering out the camera SSIDs which you should be able to do just by filteri...

0 votes 1 answer

camera sony

Sony Qx1 API getEvent incomplete

The QX1 is able to do exposure compensation. According to the getEvent API reference page 234, it should be in item 25. This item is empty. Is this a bug?

Latest answer by Marlin SONY: Which exposure mode are you in when you get the empty item? If the exposure mode is set to something like "Intelligent Auto" then the item will be empty since exposure compensation is not supported in...

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

camera sony sony-camera-api

Sony Cybershot DSC HX60V And Remote API

I have seen a lot of remote API questions and replies about Sony Camera Remote API.However, I was not able to find the solution to my issue. I have Japanese version of Sony-HX60V. Based on Remote API...

Accepted answer by Deniz Beker: I have found the answer to my own question. I was trying to connect to camera through direct wi-fi connection. However, when I try to connect with application connection (i.e. PlayMobile) in camera me...

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

1 vote 1 answer

android sony sony-smarteyeglass

Using qrcode reading without touch event in SmartEye Glass

We create an application with HelloWorld sample that scans QR codes and uses the database. But we want to do it without touch event. The current situation, we have to use touch event to scan QR code....

Latest answer by Tuğçe Acar: We solved the problem with using SamplaCameraExtension Sample. We moved all codes to SampleCameraExtension so now the program is running smoothly

0 votes 1 answer

android sony sony-smarteyeglass

Sending camera data with Wi-Fi from SmartEyeGlass to host device

I have an application that scans QR code with SmartEyeGlass.But It goes so slow.I belive thats because the app sending camera data from glass to host device with bluetooth. Is there any way to speed t...

Latest answer by Robert - Sony: Yes you can actually switch the SmartEyeglass in to High Power Mode which will send the images over wifi. To activate High Power Mode you can run this command: utils.setPowerMode(Intents.POWER_MODE_HI...

0 votes 1 answer

sony sony-smarteyeglass

method to get raw data of streaming

I want porting my application for android phone what analyze live streaming to smarteyeglass. I use raw data (YUV420SP) onPreviewFrame(byte[] data,Camera camera)/setPreviewCallbackWithBuffer() in andr...

Latest answer by Marlin SONY: Unfortunately is not possible to get the raw data, only JPEG data. What is the reason for wanting raw data instead of JPEG?

0 votes 1 answer

sony sony-smarteyeglass

How to change Streaming rate of the camera?

I read in the camera mode documentation of Sony Smartglasses that it has a CAMERA_MODE_JPG_STREAM_LOW_RATE in which camera takes still pictures continuously at 7.5fps. How can I change that to have a...

Latest answer by Marlin SONY: There isn't a way to set a specific frame rate when doing JPEG streaming unfortunately. Did you try just using STILL mode and calling requestCameraCapture() to take pictures in the interval you want?

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

0 votes 2 answers

sony sony-smarteyeglass

Passing image to another layout

I am using Sony Smart eyeglasses sdk for a project. I have two layouts xml file and I am trying to get image from gallery displayed on the imageview of the layout. I have obtained image location as a...

Latest answer by Ahmet SONY: HelloLayouts sample project in SmartEyeglass SDK, shows exactly how to achieve this. You will see a bundle list parameter in showLayout method. You can add your images for different imageViews into th...

0 votes 1 answer

android sony sony-smarteyeglass

How to rotate an ImageView when using SmartEyeGlass SDK?

I am using layout rendering (as opposed to bitmap rendering) in my Smarteyeglass app. How can I rotate an image view, let's say by 45 degrees? I am using the following code to display my layout: Inten...

Accepted answer by Ahmet SONY: Unfortunately, you can not dynamically rotate view elements in the layout. Because layout is rendered and sent to SmartEyeglass once before you use showLayout or sendToHostApp method. If you would lik...

0 votes 1 answer

android sony sony-smarteyeglass

How to get view reference in Sony Smarteyeglass?

I am using layout rendering (as opposed to bitmap rendering) in my Smarteyeglass app. How can I get a reference to the current view? I would like to rotate one ImageView in my layout according to a va...

Accepted answer by Ahmet SONY: Unfortunately, you can not dynamically access to view elements in the layout. Because layout is sent to SmartEyeglass statically once you use the showLayout method or sendToHostApp method. If you woul...

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

0 votes 1 answer

camera sony

The Sony Alpha A77M2 and the Camera Remote API

The new A77M2 has WiFi and the menus look like the camera having the Remote Camera API - and a Sony App for Android is working with the camera (but this app is just a bad joke). I'd like to use the Wi...

Latest answer by Prem SONY: As you might already know, A77M2 is not in the current list of devices supported by Camera Remote API beta SDK. Remote Camera Control Software by Sony Link might come in handy for your situation. Plea...

How to discover sony camers through WiFi even camera wifi password is not stored

How to search Sony Camera wifi programmatically. I want to apply same camera connection feature as sony play memories app do. I want to detect Camera even its wifi password is not stored or currently...

Accepted answer by Marlin SONY: You should be able to use the Android WifiManager class to get a list of all of the WiFi SSIDs. Then it's just a matter of filtering out the camera SSIDs which you should be able to do just by filteri...

0 votes 1 answer

camera sony

Sony Qx1 API getEvent incomplete

The QX1 is able to do exposure compensation. According to the getEvent API reference page 234, it should be in item 25. This item is empty. Is this a bug?

Latest answer by Marlin SONY: Which exposure mode are you in when you get the empty item? If the exposure mode is set to something like "Intelligent Auto" then the item will be empty since exposure compensation is not supported in...

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

camera sony sony-camera-api

Sony Cybershot DSC HX60V And Remote API

I have seen a lot of remote API questions and replies about Sony Camera Remote API.However, I was not able to find the solution to my issue. I have Japanese version of Sony-HX60V. Based on Remote API...

Accepted answer by Deniz Beker: I have found the answer to my own question. I was trying to connect to camera through direct wi-fi connection. However, when I try to connect with application connection (i.e. PlayMobile) in camera me...

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