sdk

gactions CLI crashes on Windows when uploading google actions

杀马特。学长 韩版系。学妹 提交于 2020-01-03 20:44:20
问题 I created a project dawai-5555, and a json action file dawai.json as described in Google's doc https://developers.google.com/actions/sdk/define-actions . When I try to upload it using the Windows (I tested both 32/64bit versions) gactions command line tool from google, I get the following error: panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc

杰理AC692X---LED点灯

限于喜欢 提交于 2020-01-03 20:05:42
根据原厂SDK进行讲解 首先打开LED宏定义(sdk_cfg.h): 选择点灯方式(led.h): 一般选择PA/B/C/D口,PR口是在低功耗(假关机)模式下选择。LED驱动方式一般选择普通。 # define LED_PORTX JL_PORTA # define LED_BLUE BIT(3) # define LED_RED BIT(2) 根据项目需求配置GPIO口。上面代码配置的是PA3&PA2口。 # define LED_INIT_EN() do{LED_PORTX->PU &= ~LED_BLUE;LED_PORTX->PD &= ~LED_BLUE;LED_PORTX->DIR &= ~LED_BLUE;\ LED_PORTX->PU &= ~LED_RED;LED_PORTX->PD &= ~LED_RED;LED_PORTX->DIR &= ~LED_RED;}while(0) # define LED_INIT_DIS() do{LED_PORTX->PU &= ~LED_BLUE;LED_PORTX->PD &= ~LED_BLUE;LED_PORTX->DIR |= LED_BLUE;\ LED_PORTX->PU &= ~LED_RED;LED_PORTX->PD &= ~LED_RED;LED_PORTX->DIR |= LED_RED;}while

Android Studio install failed - unable to run mksdcard sdk tool in Windows

倾然丶 夕夏残阳落幕 提交于 2020-01-03 11:33:09
问题 I installed Android Studio, but now fail in installing Android SDK when start lauching it. It says "unable to run mksdcard sdk tool", and tips that some libraries may be missing. I tried 32bit and 64bit but resulted the same. jdk: 1.7.0_80 os: windows 7 what should I do now? 回答1: On Windows, some SDK tools such as mksdcard.exe require Microsoft Visual C++ runtime 2015-2019. Some download links can be found here. https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c

Android Studio install failed - unable to run mksdcard sdk tool in Windows

十年热恋 提交于 2020-01-03 11:32:10
问题 I installed Android Studio, but now fail in installing Android SDK when start lauching it. It says "unable to run mksdcard sdk tool", and tips that some libraries may be missing. I tried 32bit and 64bit but resulted the same. jdk: 1.7.0_80 os: windows 7 what should I do now? 回答1: On Windows, some SDK tools such as mksdcard.exe require Microsoft Visual C++ runtime 2015-2019. Some download links can be found here. https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c

multiple languages in the same project in Intellij idea

余生长醉 提交于 2020-01-03 10:57:49
问题 In intellij IDEA, I am working with Java & ActionScript in the same project. The Java SDK is the default of the project. When I want to program in ActionScript, several classes are not available (eg. String). The former point happens because the project is not using the ActionScript SDK, I guess. Then my question is: Is it to possible use multiple languages (two in this case) in the same IntelliJ IDEA project? If the answer is "Yes", then How can I do? Thanks in advance 回答1: If your

multiple languages in the same project in Intellij idea

◇◆丶佛笑我妖孽 提交于 2020-01-03 10:57:35
问题 In intellij IDEA, I am working with Java & ActionScript in the same project. The Java SDK is the default of the project. When I want to program in ActionScript, several classes are not available (eg. String). The former point happens because the project is not using the ActionScript SDK, I guess. Then my question is: Is it to possible use multiple languages (two in this case) in the same IntelliJ IDEA project? If the answer is "Yes", then How can I do? Thanks in advance 回答1: If your

RK3399 PRO快速开发 - 车牌识别

喜欢而已 提交于 2020-01-03 09:51:29
简介 Rock-X SDK 是基于 RK3399Pro/RK1808 平台的一套 AI 组件库。开发者通过 Rock-X SDK提供的 API 接口能够快速构建 AI 应用。 Rock-X下载地址: https://pan.baidu.com/s/1brKNqxBYDmElm-A56DLu4Q 提取码:ji14 Rock-X SDK 主要功能 类别 功能 目标检测 人头检测、人车物检测 人脸 人脸关键点、人脸属性分析、人脸识别 车牌 车牌检测、车牌识别 人体关键点 人体骨骼关键点、手指关键点 本篇是使用Rock-X SDK进行车牌识别快速开发的过程,使用自定义或其它的模型的请使用rknn-toolkit和rknn-api进行开发(链接: http://wiki.t-firefly.com/zh_CN/3399pro_npu/ )。 性能指标 车牌识别性能 数据集 性能指标 CCPD 83.31%(8331/10000) 注: 1. CCPD(Chinese City Parking Dataset)是国内车牌数据集,从中随机抽取 10000 张进行测试。 2. 支持识别国内蓝色、绿色和黄色车牌。 3. 可识别的车牌字符如下表所示。 字符类别 可识别字符 省份中文字符 京 沪 津 渝 冀 晋 蒙 辽 吉 黑 苏 浙 皖 闽 赣 鲁 豫 鄂 湘 粤 桂 琼 川 贵 云 藏 陕 甘 青

What version of Apache HttpClient is used in Android 4.2.2 SDK?

人走茶凉 提交于 2020-01-03 08:28:17
问题 What version of Apache HttpClient is used in Android 4.2.2 SDK? I checked https://code.google.com/p/httpclientandroidlib/ but it does not seem correct, reason being AuthCache class is supposed to be in the Android 4.2.2 SDK if it is using the latest HttpClient. 回答1: What version of Apache HttpClient is used in Android 4.2.2 SDK? The same one as has been in every version of Android since the beginning. I think the official number is 4.0-beta-1, or possibly 4.0-beta-2. See https://stackoverflow

Truecaller android sdk Error Code 3

南笙酒味 提交于 2020-01-03 06:50:46
问题 I am trying to implement the Truecaller android-SDK for Sign In/Sign Up on one of my personal app. I received the partner key from truecaller to implement it in my app. Error occurs on pressing 'Autofill with truecaller' returns the 'Error Code 3' on 'trueError.getErrorType( )' in 'public void onFailureProfileShared()'. I can't seem to find the method for describing the error. Does anyone happen to know to fix this error? My implementation: public class auth extends AppCompatActivity

I cannot prevent user from editing labels in ListView

痴心易碎 提交于 2020-01-03 06:08:03
问题 According to msdn, http://msdn.microsoft.com/en-us/library/bb774798%28VS.85%29.aspx, returning TRUE prevents user from editing labels. So I wrote the code below: Main: WinMain(...) { DialogBox(..., DlgProc) } DlgProc: DlgProc(...) { switch(message) { case WM_NOTIFY: if((NMHDR *)lParam->code == LVN_BEGINLABELEDIT) { return TRUE; return FALSE; ... } Still, the labels can be edited. I dont want to cancel the style LVS_EDITLABELS, because sometimes I would like to allow the users edit labels.