sony

Android Studio: Android Device Monitor not showing my device

◇◆丶佛笑我妖孽 提交于 2019-12-10 02:31:04
问题 My real device is Sony Xperia c6502 with android version 4.3 I'm sure I connect it to my computer and I turn Developer options/ USB debugging on In SDK manager, Google USB driver is already installed. I downloaded Xperia Z Driver from this page:http://developer.sonymobile.com/downloads/drivers/ But I don't know how to use it No PTP mode option in USB Connectivity in my phone My device is not shown in Android Device Monitor and thus I can't run app test on my phone. How to let my Android

Sony Smartwatch SW2 - accelerometer output rate

微笑、不失礼 提交于 2019-12-10 00:30:33
问题 From the sample code of the SDK, I can read the accelerometer at 4-5Hz by using: registerListener(listener, Sensor.SensorRates.SENSOR_DELAY_FASTEST, Sensor.SensorInterruptMode.SENSOR_INTERRUPT_ENABLED); but it does not work when using registerFixedRateListener(). How to read accelerometer data from SW2 with higher rate? for example 10Hz, 20Hz... Thanks. 回答1: I'm able to read values on my SW 2 at 10Hz with disabled interrupts using sensor.registerFixedRateListener(mListener, Sensor.SensorRates

Android Icon数字角标Badge的实现方式

大憨熊 提交于 2019-12-09 21:28:49
Android系统 小米,三星,索尼手机发送桌面快键提醒数字图标,在Android系统中,众所周知不支持BadgeNumber,虽然第三方控件BadgeView可以实现应用内的数字提醒,但对于系统的图标,特别是app的logo图标很难实现数字标志,即使是绘图的方式不断修改,但这种方式天生弊端,实用性很差。但幸运的是,某些ROM厂商提供了私有的API,但也带来了难度,API的不同意意味着代码量的增加和兼容性问题更加突出。 我们现在来实现桌面logo或者说icon右上角的图标,先来看2张图,第一张来自互联网,第二张来自个人实践! (由于实验条件有限,只能测试小米的(⊙o⊙)…,有兴趣的同学测试一下其他的吧) 好了,上代码 public class MainActivity extends Activity { //必须使用,Activity启动页 private final static String lancherActivityClassName = Welcome.class.getName(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.common_listview

Retrieving images from sony camera over Wifi AP

流过昼夜 提交于 2019-12-08 09:13:02
问题 I would please like to know if it is possible to retrieve images from a Sony Camera when it is connected to a Wifi Access Point on our local network? I want to retrieve the images from the camera with C# code. Can anyone point me to where I can find resources regarding this? 回答1: Depends on what Sony Camera you are using. See the Camera Remote API SDK page for more details on the API. Inside the SDK you will find a PDF with a list of which APIs are supported for which cameras. https:/

Issue with Zbar qr code scanner on Sony Phone

和自甴很熟 提交于 2019-12-08 05:53:45
问题 I am developing an android application that scans QR codes using the Zbar API. However upon testing, I have noticed that the application worked perfectly fine on Samsung, HTC and a chinese brand phone but not on a sony device(Xperia z1). What happens is that the camera and viewer works fine in the first few seconds but suddenly crashes. Is there an issue with regards to the Zbar API for it not to work with Sony phones, or is this an isolated scenario?? Are there already solutions for this

How to fix custom watch face time on Sony SmartWatch 2 after SW2 update [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-07 12:58:16
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago . Background Sony released an update for the Sony SmartWatch 2 in December 2014. Whilst the update has added new features to the watch, it has unfortunately caused custom watchfaces to break. I have developed over 100 custom watchfaces which are no longer showing the correct time (hours are out but

How to keep my accelerometer awake with screen off with Sony SmartwatchMN2

青春壹個敷衍的年華 提交于 2019-12-07 12:28:50
问题 I want to know the method of keeping my accelerometer awake with screen off. In the developer documentation(SmartWatch_WP_1.pdf in Smart Extension SDK), I read that the sensor is stopped when the control is paused the control is not paused by using ControlExtention#setScreenState(Control.Intents.SCREEN_STATE_OFF). the control is paused by the user operation or time elapses. So I tried to use ControlExtention#setScreenState(Control.Intents.SCREEN_STATE_OFF). After one minute, the control was

Using Sony Camera API on AndroidWear

会有一股神秘感。 提交于 2019-12-06 16:11:16
I want to create an app that can start and stop recording from a Sony AS100VR camera using camera remote API. I can get the same working from my nexus using a direct Wifi connection, but when I establish a direct wifi connection from my Sony smartwatch, it fails at the SSDP detection stage. It's definitely connected to the camera, SSID over Wifi, but it can't detect it. I have tried playing with retries and timeout values, but I have sort of run out of ideas. it's falling into the catch catch (InterruptedIOException e) with a java.net.SocketTimeoutException Any suggestions gratefully

There is something wrong with Sony QX1?

拜拜、爱过 提交于 2019-12-06 07:39:12
I'm a user of the product Sony QX1 and recently there is something wrong. As known, there are two ways to set up connection between the camera and another device. The camera could set up a wifi connection like a hotspot, to which the other device could connect. And this just works pretty smoothly. The problem lies in the other mode when the camera and a PC or cellphone connect to the same wifi. According to the statements described in Camera Remote API, the function setCameraFunction is supposed to help reach and control the camera remotely and it has two values, "Remote Shooting" and "Content

Sony Smartwatch - open smartwatch getting started?

泄露秘密 提交于 2019-12-06 04:30:53
问题 Today almost by accident I stumbled accross the announcement that Sony is opening the firmware development and creates a project under their own hood here: http://developer.sonymobile.com/services/open-smartwatch-project/ Which is great! But it still has a lot of question marks attached: It would be great if there would be an open source sample firmware from which to start. There are some hardware parts of the device which are undocumented, especially e.g. the pretty important Bluetooth