sdk

windows的Flutter的超简单4步配置及遇到的问题解决!

旧时模样 提交于 2019-12-06 12:35:44
前提: 1.下载好anndoid studio 2.配置好sdk环境变量 ANDROID_HOME 1.下载flutter SDK flutter网址 https://flutter.cn/docs/get-started/install/windows 下载>>解压到相关目 录下 2.配置flutter环境变量 在Windows 环境变量Path中添加flutter的路径,路径指向到Flutter文件的bin路径如下图: 3.打开一个命令窗口 win+r>>cmd 输入fultter doctor 可以看到,检查的有android sdk,android studio版本等等 出现的问题   3.1 flutter doctor 无反应       重新打开一个命令窗口,就ok了   3.2 flutter doctor 没有权限 Android toolchain - develop for Android devices (Android SDK version 28.0.3) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses 方法: cd 到自己sdk的路径 cd tools cd bin sdkmanager --licenses /

Android: how to the design app for Smartphone AND Tablet?

只愿长相守 提交于 2019-12-06 12:29:57
I know there are already quite a lot of blog entries , how to's , questions out there that cover backward compatibility of Android 3.0 apps. However, after reading them all I'm just more confused than before. :( What I have is a Smartphone app that supports min. SDK version 8 (2.2). I now want this one to stay the same on Smartphones, but also provide a fancy version on Honeycomb Tablets with Action Bar and Fragments and so on. I know there is the compatibility pack, but all I read about it was about Fragments. What's with the Action Bar and the holographic Theme? I did get this pretty nice

ArcGIS Runtime SDK for WPF学习笔记(一)

混江龙づ霸主 提交于 2019-12-06 12:28:30
  本节主要讲解如何安装ArcGIS Runtime SDK,以及移除注释与水印。   附上 ArcGIS Runtime SDK for .NET 的官方操作手册网址: https://developers.arcgis.com/net/latest/wpf/guide/install-the-sdk.htm 一、项目添加 ArcGIS Runtime SDK 引用 。    鼠标右键点击项目,选择“管理NuGet程序包”。   在“浏览”中输入“Esri”,在列表中选中“Esri.ArcGISRuntime.WPF”进行安装。 二、在View中使用地图。   在界面中添加引用 xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" 后,就可以直接使用地图控件了。 1 <esri:MapView> 2 <esri:Map> 3 <!-- 用法一 --> 4 <!--<esri:ArcGISTiledLayer Source="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />--> 5 6 <!-- 用法二 --> 7 <esri:Map.Basemap> 8 <esri:Basemap> 9 <esri

ESP8266 SDK开发: GPIO输出

时光毁灭记忆、已成空白 提交于 2019-12-06 12:18:34
前言   官方提供了两个函数       GPIO_OUTPUT_SET(gpio_no, bit_value) 设置GPIO2输出高电平 GPIO_OUTPUT_SET(2, 1); 设置GPIO2输出低电平 GPIO_OUTPUT_SET(2, 0); GPIO_OUTPUT(gpio_bits, bit_value) 官方提供的一次性设置多个引脚函数 设置GPIO2和GPIO5输出高电平 GPIO_OUTPUT(BIT2 | BIT5, 1); 设置GPIO2和GPIO5输出低电平 GPIO_OUTPUT(BIT2 | BIT5, 0); 开发板原理图   一,LED(GPIO2)        二,继电器(GPIO5)         测试(GPIO2输出高电平点亮LED) #include "gpio.h" GPIO_OUTPUT_SET(2, 1);//设置GPIO2输出高电平 测试(GPIO2输出低电平,GPIO5输出高电平控制继电器吸合) #include "gpio.h" GPIO_OUTPUT_SET(2, 0);//设置GPIO2输出低电平 GPIO_OUTPUT_SET(5, 1);//设置GPIO5输出高电平 测试(GPIO2输出低电平,GPIO5输出低电平) #include "gpio.h" GPIO_OUTPUT(BIT2 | BIT5, 0);/

How do I display array elements in Lua?

◇◆丶佛笑我妖孽 提交于 2019-12-06 11:58:09
I'm having an issue displaying the elements of an array in Lua programming language. Basically, i created an array with 3 elements, and i'm trying to display its contents in a for loop on the corona sdk emulator. What happens is that if i display the individual array elements (without the loop), they display fine; as soon as I put them in a for loop, nothing shows up on the screen anymore this is my code: myText = {"hello", "world", "there"} for i = 1, myText do local myText = display.newText( myText[i], 0, 0, native.systemFont, 35 ) end fenadoruk Here is a function I wrote to list the items

iPhone Network Camera Feed

牧云@^-^@ 提交于 2019-12-06 11:56:54
问题 I plan on mounting a Wireless Network Camera on my robot http://mydlink.dlink.com/DCS930L . DLink has an iPhone app to see live video however I want to integrate the video with my iPhone remote controller I made. Is it possible to get that video feed into my own app? Where should i start looking.. 回答1: I know this was posted some time ago, but the easiest way to integrate a network camera feed into your own application is via UIWebView. Then connect to the camera via IP address followed by

Laravel Facebook-Login / missing email

不羁的心 提交于 2019-12-06 11:42:27
I am trying to create a Facebook-Login in my Laravel application. However, the array I get with all the user information does not contain the users email even though I already ask for permission to receive the email. This is my code: Route::get('login/fb', function() { $facebook = new Facebook(Config::get('facebook')); $params = array( 'redirect_uri' => url('/login/fb/callback'), 'scope' => 'email', ); return Redirect::to($facebook->getLoginUrl($params)); }); Route::get('login/fb/callback', function() { $code = Input::get('code'); if (strlen($code) == 0) return Redirect::to('/')->with('message

Duplicate Symbol SBJSON on iOS Facebook SDK V 3.0

大城市里の小女人 提交于 2019-12-06 11:29:41
问题 In the current project, I used SBJSON everywhere and got it working fine with the previous version of iOS Facebook SDK since SBJSON was included in Facebook SDK. I just upgraded to iOS Facebook SDK version 3.0 and having problem with SBJSON. The first thing it complaint was about NOT finding SBJSON header file. So I thought, I could manually include the SBJSON lib into the project. After I did that, then the compiler complaint that the SBJSON symbol was duplicated with the Facebook SDK. I

FQL using facebook android SDK

 ̄綄美尐妖づ 提交于 2019-12-06 11:23:33
问题 I'm trying to create an android application using the facebook android SDK (http://github.com/facebook/facebook-android-sdk). I'm trying to figure out if I will be able to use FQL using this SDK. If anyone has any experiences in this regard, please let me know. FQL can apparently be used using https://api.facebook.com/method/fql.query?query=QUERY, the facebook android SDK however doesn't seem to support this. Thanks; 回答1: This is probably a better way than mentioned. Using the current version

Questions about Universal application in Xcode 4

折月煮酒 提交于 2019-12-06 11:06:32
问题 I am trying to build an universal application with Xcode 4. However, it seems a little different from past versions. My project utilizes the View Based Application template. My issue is that I added a UIViewController subclass which has one nib file for iPad. How do I create another nib file with the same class targeted instead for iPhone? Also, how do I ensure that the proper nib file is loaded for the proper platform? EDITED : here is my code : - (IBAction)BookView { if ([[UIDevice