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.

681 Sony related questions
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...

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

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

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 votes 1 answer

sdk camera sony sony-camera-api

How to manually focus using the sony camera SDK over wifi

Sony has released a rather comprehensive API for wifi control of their selection of cameras here: https://developer.sony.com/downloads/camera-file/sony-camera-remote-api-beta-sdk/ I have been searchin...

Latest answer by naotaco: Deep focus stacking sounds great! But unfortunately, manually focus controlling is not provided by the APIs. Once you set "Manual Focus" option, you can move focus by using focus ring on lens. (Don't...

0 votes 5 answers

android camera sony sony-camera-api

Controlling multiple cameras remotely with Sony API via router

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

Accepted answer by chris: This article shows how to connect multiple cameras via WPS. I have not tried it myself but maybe it will help. http://e4e.ucsd.edu/news-and-updates/stereo-qx1-control 1.Put the QX1s into multi camera...

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

0 votes 1 answer

sony sony-lifelog-api

Lifelog API Explorer: Authorization request could not be completed

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

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

0 votes 1 answer

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

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

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

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 votes 1 answer

sdk camera sony sony-camera-api

How to manually focus using the sony camera SDK over wifi

Sony has released a rather comprehensive API for wifi control of their selection of cameras here: https://developer.sony.com/downloads/camera-file/sony-camera-remote-api-beta-sdk/ I have been searchin...

Latest answer by naotaco: Deep focus stacking sounds great! But unfortunately, manually focus controlling is not provided by the APIs. Once you set "Manual Focus" option, you can move focus by using focus ring on lens. (Don't...

0 votes 5 answers

android camera sony sony-camera-api

Controlling multiple cameras remotely with Sony API via router

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

Accepted answer by chris: This article shows how to connect multiple cameras via WPS. I have not tried it myself but maybe it will help. http://e4e.ucsd.edu/news-and-updates/stereo-qx1-control 1.Put the QX1s into multi camera...

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

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