标签: sony

自固件更新以来,索尼SmartWatch 2定制手表面临破损

我知道这将与此重复 - > 如何在SW2更新后修复索尼SmartWatch 2上的自定义手表时间

但是发帖是因为原始问题由于我不清楚的原因而被关闭了.

背景

我在谷歌的Play应用程式(https://play.google.com/store/apps/details?id=com.epix.smartextension.watchfaces),它提供定制手表面临着索尼的SmartWatch 2,它已经有在商店接近一年,表现不错.

问题

最近索尼推出了SW2的固件更新.在此更新后,它确实带来了一些欢迎功能.但随之而来的是严重的错误.主要问题是它使所有第三方定制表面(包括我的)无意义.这是在此更新后,自定义表盘开始显示错误的时间,日期等.

我尝试了什么

我用Sony的最新文档和示例代码仔细检查了我的代码.我确定问题不在于我的代码,因为它在固件更新之前的这几个月都运行良好.此外,我找不到任何官方信息表面API是否有任何新的变化或类似的东西.我还通过电子邮件与索尼开发人员的支持联系.他们已经确定已经向他们的团队报告了该问题,并指示我在stackoverflow中发布有关相同内容的查询.因此我发布了这个.

  1. 有谁知道这方面的任何工作?
  2. 有没有人知道使用最新固件的表面API的任何变化?
  3. 有谁知道索尼是否已将此作为最新固件中的错误接受?

这方面的任何信息都会有很大帮助.我的应用程序最近开始在商店中得到不好的评论,并且发现很难让用户相信这个问题.

android sony sony-smartwatch

5
推荐指数
1
解决办法
1141
查看次数

Smartband Talk - 音频通过它

我已经尝试了几天通过SmartBand Talk(SWR30)发送Google文本到语音的音频.我在AndroidManifest.xml上拥有正确的权限

PERMISSION_CONTROL_EXTENSION,BLUETOOTH_ADMIN,BLUETOOTH,MODIFY_AUDIO_SETTINGS,BROADCAST_STICKY

我正在使用此代码获取AudioManager:

mAudioManager = (AudioManager) context
            .getSystemService(Context.AUDIO_SERVICE);
Run Code Online (Sandbox Code Playgroud)

并使用AudioManager通过SmartBand Talk讲话,如下所示:

mAudioManager.setSpeakerphoneOn(false);
mAudioManager.startBluetoothSco();
mAudioManager.setMode(AudioManager.MODE_IN_CALL);
mAudioManager.setBluetoothScoOn(true);
speakMethod();
Run Code Online (Sandbox Code Playgroud)

此解决方案适用于某些设备,这意味着我可以通过SmartBand Talk真正听到消息.但对于其他一些设备(如三星Galaxy S5 4.4.2,LG Nexus 5 Lollipop和索尼Z3 4.4.4),这个解决方案不起作用,因为很少有音频通过SmartBand Talk,几乎95%的时间都在手机,而不是配对的蓝牙设备.

我想知道设备扩展是否能够正常使用此方案,其中音频将被发送到蓝牙设备,正确配对电话.

我想知道是否有可能有稳定的东西,在每部手机上工作,或者如果不可能的话.

sony text-to-speech android-audiomanager

5
推荐指数
1
解决办法
380
查看次数

Camera Remote API:相机+ iPad + PC?

我目前正在研究索尼相机远程API测试版SDK提供的开发指南,到目前为止我所理解的是,为了在相机和移动设备之间发送和接收消息,智能手机或平板电脑应该是通过Wifi连接到摄像头,摄像头充当接入点.

实际上,从相机下载移动设备上的图片之后我想做的是将其传递给PC,以便我能够将其打印出来并用于其他目的.对于最终用户,此过程应该是完全透明和自动的.

因此,我的问题是我需要通过Wifi将移动设备连接到相机和PC.

我想到的解决方案是:

  1. 使移动设备和PC连接到摄像机接入点,以便它们可以位于同一网络上.这可能吗?我的意思是,索尼相机在作为接入点时可以处理多个客户端吗?如果是,我可以为移动设备和PC提供固定的IP,以便我可以轻松地交换数据吗?

  2. 使用简单的wifi路由器,使相机,移动设备和PC连接到此路由器.如果不充当接入点(即简单的网络客户端),相机是否可以与遥控功能一起使用?

如果你们看到任何其他选择,我很乐意阅读它们!

谢谢,伯特兰德

camera sony

5
推荐指数
1
解决办法
413
查看次数

无法获得Debug,Verbose登录Nougat

我的设备:Sony Xperia XA1 Nougat(7.0)

我想在Android Monitor上显示如下日志:

public static final String  TAG   = MainActivity.class.getSimpleName();
public static final boolean DEBUG = true;

if(DEBUG) Log.d(TAG, "onResume()");
Run Code Online (Sandbox Code Playgroud)

但是..当我打开监视器窗口时,即使日志级别是详细/调试,我也看不到此日志.我只能在Android Monitor上看到I/W/E级别,它总是显示:

I/art: Enter while loop...
Run Code Online (Sandbox Code Playgroud)

这是一个安全问题吗?

非常感谢你!

android sony android-studio

5
推荐指数
0
解决办法
1240
查看次数

如何在没有预共享密钥的情况下使用 Sony Bravia TV IP Control 进行身份验证

本指南 ( https://pro-bravia.sony.net/develop/integrate/ip-control/ ) 介绍了如何通过在电视菜单中设置预共享密钥并使用标头 (X-Auth-PSK: [Pre-Shared Key])与请求。

除了我的应用程序之外,其他应用程序会在网络上发现我的电视,电视上会弹出一个(一次性)PIN,然后由用户在客户端输入(例如远程应用程序)。此身份验证流程如何运作?我自己该如何实施呢?

authentication sony

5
推荐指数
1
解决办法
3168
查看次数

当getBluetoothLeAdvertiser返回一个对象时,为什么isMultipleAdvertisementSupported()返回false?

我正试图在我的设备上玩BLE传输.

这是我使用的代码和输出:

// check BLE support
Log.i(TAG, "BLE supported: " + getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)); // true

// check BLE transmission support
final BluetoothManager bluetoothManager =
        (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
BluetoothAdapter mBluetoothAdapter = bluetoothManager.getAdapter();

Log.i(TAG, "isMultipleAdvertisementSupported: " + mBluetoothAdapter.isMultipleAdvertisementSupported()); // false
Log.i(TAG, "isOffloadedFilteringSupported: " + mBluetoothAdapter.isOffloadedFilteringSupported()); // false
Log.i(TAG, "isOffloadedScanBatchingSupported: " + mBluetoothAdapter.isOffloadedScanBatchingSupported()); // false

BluetoothLeAdvertiser mBluetoothLeAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser();
Log.i(TAG, mBluetoothLeAdvertiser.toString()); //android.bluetooth.le.BluetoothLeAdvertiser@1c51f789

// check BLE transmission support
// android-beacon-library, https://github.com/AltBeacon/android-beacon-library
int result = BeaconTransmitter.checkTransmissionSupported(getApplicationContext());
Log.i(TAG, "ABL checkTransmissionSupported: " + result); // 0
Run Code Online (Sandbox Code Playgroud)

我无法理解为什么mBluetoothLeAdvertiser不是 …

android sony ibeacon-android android-ibeacon android-ble

4
推荐指数
1
解决办法
3653
查看次数

Windows与Sony Camera Remote API的兼容性

在"如何使用Camera Remote API开发应用程序"中,它表示"Camera Remote API使用基于HTTP的JSON-RPC.因此,您可以将Camera Remote API与任何操作系统一起使用,例如Android,IOS或Microsoft®的Windows®".这是有道理的,因为协议是平台无关的.但是,在此页面上的相机兼容性图表中:http://developer.sony.com/develop/cameras/它指出必须安装Sony智能远程控制应用程序才能"启用API".由于该应用仅限iOS和Android,这是否意味着API无法在Windows上使用?

我非常有兴趣为Windows 8平板电脑开发远程控制应用程序,然后为Windows 8手机开发.但如果我无法控制A5000,A7R,A7,NEX-6,NEX-5R或NEX-5T,那么它就变得不那么有趣了.

是否可以使用普通的HTTP JSON通信来控制这些摄像机?

谢谢

windows camera sony windows-store-apps

3
推荐指数
1
解决办法
5642
查看次数

如何知道我的Android SmartWatch扩展程序是否处于非活动状态?

我正在使用Notification API开发RSS智能扩展应用程序.我想知道如何获得智能扩展的活动/非活动状态(在SmartWatch应用程序中单击我的RSS智能扩展时的第一个复选框).

NotificationAPI示例使用额外的Checkbox首选项来启动或不启动下载数据生成通知的服务,但我不想强迫用户进入子菜单并激活数据下载.如果用户激活我的RSS智能扩展,他已经预计扩展程序会通知他是否有一些新项目进入RSS.

有一个回调知道我的智能扩展程序何时正确添加到liveware/smartwatch应用程序(onRegisterResult),但我没有找到回调来知道智能扩展程序是否实际处于活动状态.

提前致谢!

android sony sony-smartwatch

2
推荐指数
1
解决办法
942
查看次数

Android活动无法在某些设备上启动(错误充气类)

我的程序(实际上不是我的,我只是想修复这个错误)在大多数手机上运行正常,但它不能在索尼Xperia P上启动.

当我启动该程序时,会出现以下消息:

应用程序意外停止.

该应用程序在此手机上也没有启动器图标(仅限默认图标).

错误日志说:

java.lang.RuntimeException: unable to start Activity
android.view.InflateException: Binary XML file line #16: error inflating class android.view.ImageView
Run Code Online (Sandbox Code Playgroud)

应用程序调用时出现错误消息:

setContentView(R.layout.menu_0_splash);
Run Code Online (Sandbox Code Playgroud)

我注意到可绘制资源是针对以下分辨率定义的:

1024x600 320x240 400x240 480x320 800x480 854x480

这款手机的电话是960x540,所以我最好的问题是它也应该是dafault资源.

可能是什么问题呢?

布局文件(现在复制/粘贴-d):

<?xml version       = "1.0" 
encoding    = "utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/m0_relativeLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/gradient_green" >

<ImageView #this is the problematic line
    android:id="@+id/arrow_top"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:layout_marginTop="@dimen/m0_arrow_top_margintop"
    android:src="@drawable/splash_arrow_top" />

<ImageView
    android:id="@+id/arrow_bottom"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentLeft="true"
    android:layout_marginBottom="@dimen/m0_arrow_bottom_marginbottom"
    android:src="@drawable/splash_arrow_bottom" />

<ImageView
    android:id="@+id/belt_top"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:src="@drawable/splash_belt_top" …
Run Code Online (Sandbox Code Playgroud)

android resolution sony runtimeexception inflate-exception

2
推荐指数
1
解决办法
1629
查看次数

适用于Aplha和NEX的Sony Playmemories SDK

您是否计划为Aplha和NEX相机发布SDK?您自己发布了一些应用程序,很高兴看到开发人员社区可以使用这些设备做些什么.

特别是我希望看到一个Studio应用程序,无论手动摄像头设置如何,都会使OLED取景器显示曝光良好的图像.这将允许我在具有高功率工作室闪光灯的工作室中使用A6000,A7R等.

非常感谢

尼克SS

sdk camera sony

2
推荐指数
1
解决办法
2064
查看次数