sdk

xmake从入门到精通9:交叉编译详解

岁酱吖の 提交于 2019-12-09 07:16:26
xmake是一个基于Lua的轻量级现代化c/c++的项目构建工具,主要特点是:语法简单易上手,提供更加可读的项目维护,实现跨平台行为一致的构建体验。 除了win, linux, macOS平台,以及android, ios等移动端平台的内建构建支持,xmake也支持对各种其他工具链的交叉编译支持,本文我们将会详细介绍下如何使用xmake进行交叉编译。 项目源码 官方文档 交叉编译工具链简介 通常,如果我们需要在当前pc环境编译生成其他设备上才能运行的目标文件时候,就需要通过对应的交叉编译工具链来编译生成它们,比如在win/macos上编译linux的程序,或者在linux上编译其他嵌入式设备的目标文件等。 通常的交叉编译工具链都是基于gcc/clang的,大都具有类似如下的结构: /home/toolchains_sdkdir - bin - arm-linux-armeabi-gcc - arm-linux-armeabi-ld - ... - lib - libxxx.a - include - xxx.h 每个工具链都有对应的include/lib目录,用于放置一些系统库和头文件,例如libc, stdc++等,而bin目录下放置的就是编译工具链一系列工具。例如: arm-linux-armeabi-ar arm-linux-armeabi-as arm-linux

Programmatically importing MS Speech API speech profile

。_饼干妹妹 提交于 2019-12-09 07:11:20
问题 I have a Windows 7 computer trained to my voice, and I would like to distribute my speech profile along with a software package I have created. I know of tools such as WSRProfile.exe (http://www.microsoft.com/download/en/details.aspx?id=16296), which allow one to save and load new speech profiles. However, is there a away to implement this in my own code (C#), without requiring any external tools or applications? Thanks in advance. 回答1: You can follow the procedure described here: http:/

Make Update to a live iPhone app

北城余情 提交于 2019-12-09 05:44:55
问题 I have an iPhone app which is aleready live on the app store...Now I want to make small updates to the app (fixes and adding iAd) How do I submit the new updated app..Will that create a new version OR is that not required? Also in iTunes Connect, I do not see any link which says Submit update or new version.. Do I first have to upload via Loader ...Please guide me. Thank you. 回答1: You should update the "version" field in your .plist, then submit a new binary. In the application page, there is

Removing iOS SDKs from OSX

余生长醉 提交于 2019-12-09 05:37:43
问题 This isn't a programming question but it's about the SDKs and the IDE. I've accumulated a ton of different XCode installs over the past couple of years and now my hard drive is nearly full. With each SDK clocking in at around 5 gigs, and my storage space getting low, I have a couple of questions 3 Questions: Can I remove old ones? Where are they stored? Does the newest SDK overwrite base classes from previous SDKs? (Does NSString.h now reside in two different SDKs or will the newest one take

SDK的下载与安装

时光总嘲笑我的痴心妄想 提交于 2019-12-09 05:35:21
SDK及其相关资源的下载地址: SDK Tools SDK Tools的下载 SDK Tools的安装 配置国内的镜像服务器地址 使用Android SDK Manager下载软件 SDK及其相关资源的下载地址:   由于国内有墙的缘故,所以说下载SDK及其相关资源我们一般选用国内的下载源,比如说在androidDevTools网站中就有包含SDK等开发软件在内的完整下载源。 androiddevtools   当然其它的国内很多网站中也有类似的下载源,比如说Android Studio网站等 android-studio SDK Tools SDK Tools的下载   这里我是以在androidDevTools网站中下载SDK Tools为例来进行说明,此处我下载的软件安装包为 installer_r24.4.1-windows.exe ,下载位置如下: SDK Tools的安装   双击安装包,打开如下所示界面,点击【Next】   这里继续点击【Next】   这里选择允许任何人使用,所以点击【Next】   在这里,我们自定义软件的安装位置,然后点击【Next】   在这里,点击【Install】执行安装操作   安装完成之后,点击【Next】   在这里,点击【Finish】,完成SDK Tools的安装操作,同时启动SDK Manager 配置国内的镜像服务器地址  

How to remember last selected tab in UITabBarController?

喜欢而已 提交于 2019-12-09 05:21:41
问题 I'm trying to make my app remember which tab was last being viewed before the app quit, so that the app opens up to the same tab when it is next launched. This is the functionality of the iPhone's phone function: how can I do this? 回答1: In the UITabBar's Delegate, overwrite - (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item and store item 's index in NSUserDefaults. Next time your app starts, read it from there, and set it back to being selected. Something like this: -first,

OpenXML SDK Spreadsheet starter kits

大憨熊 提交于 2019-12-09 05:20:14
问题 I am trying to start working with Excel documents through the OpenXML SDK Spreadsheet API. But I haven't found any good guides or even examples on how to create a xlsx file from scratch. Only how to open an existing document and modify it. I have been thinking on having a empty template document and make a copy of it an then begin my proccessing on it. But it doesent feel right. It might be easier but I not comfortable using a technique I dont feel that I understand "pretty" good at least. So

View an Android App's shared preferences?

你。 提交于 2019-12-09 04:37:45
问题 When I am working on my app in eclipse, is there a way to see the changes I make to the shared preferences of the app while it is debugging in the emulator? Thanks in advance 回答1: Run project in emulator, then from Eclipse choose menu Windows-> open perspective ->DDMS. From tab device, choose emulator name, then go to file explorer,expand data->data->yourpackagename, you should see share reference xml file ( only work on the emulator or a rooted device ). Finally, export this file to windows.

Java JDK, SDK, SE?

情到浓时终转凉″ 提交于 2019-12-09 04:05:39
问题 If you could answer these questions or help me out a little with clarity, it will be greatly appreciated: Is Java 7 just Java SE 7? and Java 6 is Java SE 6? Is Java SE 7 also Java JDK 7? and also what is the JDK? Does this mean that the Java JDK is the same as the java number (Java SE 7)? what is java 1.5 and 1.6? and how does that correspond to the java number (Java SE...)? Is Java's SDK the same as the JDK? 回答1: Yes, it can be confusing. You didn't ask for it, but I'll start from here. The

Android Studio: Fail to parse SDK may be missing the directory add-ons

吃可爱长大的小学妹 提交于 2019-12-08 23:11:47
问题 I am new to android software development. When I try to write the first android program, a pop up window shows up after I finish choosing all the basic settings, said that it fail to parse SDK, and the directory 'add-ons' might be missing. I check the SDK folder I just install, and the SDK folder exist, also with plenty of stuff inside. Can anyone tell me how to solve this problem? 回答1: The SDK is bundled with Android Studio, you don't have to download it separately. I've seen this issue on