sdk

Session control with Google Analytics API v3 for iOS?

大兔子大兔子 提交于 2019-12-04 03:02:45
I just replaced GA implementation with API v3, and found this useful session managing feature: https://developers.google.com/analytics/devguides/collection/ios/v3/sessions Since I implemented, every session is measured 00:00:00. Did anybody managed to use this? Or something is messed in my client code. (the time interval based session calculations gives inaccurate data for my needs) Rob I was having the same problem and the issue was that once the start session value was applied it was applied to all future analytic events. This would mean that every event you send would start a new session

Android SDK AVD Error:null

家住魔仙堡 提交于 2019-12-04 03:01:54
When I try installing the Android SDK onto eclipse, I can not create a new virtual device. I keep getting this error [2011-05-28 12:05:16 - SDK Manager] Error: null. Is there any way I can fix this How I Fixed This Problem deleted all the files in my workspace. Reset and it started working. same issue here on MAC OS X. Here is my configuration. bigboy:platform-tools kaffein$ uname -a Darwin bigboy.home 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64 The Why It is a problem with the permission settings of your ~/.android/avd folder.

How to add button to annotation view in XCode(iOS SDK)

落爺英雄遲暮 提交于 2019-12-04 02:35:27
问题 In MKAnnotation there are just title and subtitle, and i don't add anything control to annotation. How to I add a button? 回答1: Try using following delegate method of Map View. You can set right call out accessory view as button - (MKAnnotationView *)mapView:(MKMapView *)mV viewForAnnotation:(id <MKAnnotation>)annotation{ MKAnnotationView *view = nil; //MKPinAnnotationView *view=[[MKPinAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:@"HotSpotsLoc"]; if(annotation !=mapView

Failed to set up SDK: Error:Module 'app': platform 'Google Inc.:Google APIs:21' not found

喜你入骨 提交于 2019-12-04 02:25:33
Failed to set up SDK: Error:Module 'app': platform 'Google Inc.:Google APIs:21' not found. At a complete loss as to why this isn't working. Attempted to update my SDK to 23 but realized I wasn't prepared to deal with all the new deprecations, etc., so I reverted to an older version on Mercurial. I've done literally nothing else, and the reversion should have solved everything. Unfortunately, I'm stuck unable to connect my app and build it. I've even reinstalled Android Studio from scratch, but I continue to receive the same warning and my app won't build at all. What could possibly be going

Win7 64位编译Python扩展解决”error: Unable to find vcvarsa

坚强是说给别人听的谎言 提交于 2019-12-04 02:02:39
Python编译扩展命令python setup.py install但命令总是失败,出现error: Unable to find vcvarsall.bat 参照 http://wangye.org/blog/archives/738/ 按照如下设置解决问题。 set DISTUTILS_USE_SDK=1 set MSSdk=1 "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64 来源: oschina 链接: https://my.oschina.net/u/53273/blog/189838

How to setup Android sdk from command-line on headless server? [duplicate]

情到浓时终转凉″ 提交于 2019-12-04 02:01:02
This question already has an answer here: “android update sdk” on headless linux 5 answers So far Ive managed to download and install the SDK and its in my PATH. Problem now is that I can't run "android update sdk" since it expects to be connected to a display and Im connected to a remote headless server through ssh (its a build server so there's no desktop env). Is there a command-line option for the android tool that tells it to run without X ? There is a --no-ui flag for the update. Typical linux setup: cd android-sdk-linux_86/tools ./android update sdk -u This will run it headless. To note

Problems with jslint-v8 Ruby gem installation on Windows7 64-bit

淺唱寂寞╮ 提交于 2019-12-04 01:46:40
问题 There is a problem during Rally App SDK 2.0p environment setup on Windows 7 (64-bit). I have installed Ruby 1.8.7-p358 from rubyinstaller.org and managed to install rake Ruby gem. But I have problems installing jslint-v8 gem. It has dependencies on therubyracer and libv8 gems which need to be built using Ruby DevKit. During the installation I got the following error: C:\ruby> gem install jslint-v8 Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a

Sony Bravia JavaScript API & Emulator

微笑、不失礼 提交于 2019-12-04 01:36:44
I recently purchased a Sony Bravia TV that comes with Internet capability built in. It supports a number of internet capable widgets and web video streaming apps for sites like youtube, twitter & various yahoo! offerings. I'd like to hack on the SDK, but the only version I can find is Japanese. Is there an English version of the SDK? Where can I find some tutorials/examples? Japanese SDK Documentation (English Layout & JavaScript API pdfs included) Take a look at this specification https://dlx.jp.sonystyle.com/dlx/nws/vgc/taiken/applicast/AC-JavaScriptAPISpec.pdf , hope it helps you. Check out

Ionic Mac 环境配置

坚强是说给别人听的谎言 提交于 2019-12-04 01:26:03
Ionic Mac 环境配置 · 安装cordova之前要安装nodejs 会包含npm安装(npm是个包管理器),到官网下载https://nodejs.org/en/download/ 是个pkg包下载之后双击下载包运行然后 step by step,osx下会自动添加环境变量,不用手动配置,默认安装到、usr/local下,可以更改目录 这一步就可以安装cordova了和ionic (这一步的主要问题是cordova安装包的镜像问题) · 如果提示上面的就表示安装成功了。$cordova –v;ionic –v 创建 Ionic 项目 ionic start myIonic blank 其中 myIonic 为我们的项目名称 执行过程它会从 github 下载项目源码,请等待。。。 执行完毕后你到开发目录下查看会发现多了一个名为 myIonic 的文件夹,这个文件夹就是 Ionic 项目的所在目录了。 目录下有以下文件: hooks //google之后这个目录应该是在编译cordova时自定义的脚本命令,方便整合到我们的编译系统和版本控制系统中 plugins //cordova插件的目录,插件的安装下一节详述 scss //scss文件,发布时编译这个目录下的文件输出到www的css目录中 www //我们的开发目录,页面、样式、脚本和图片都放在这个目录下 --css -

cocos2d-x3.2 在Windows下打包Android平台APK

时光怂恿深爱的人放手 提交于 2019-12-04 01:23:35
一、下载Android环境 搭建Android环境需要用到Android SDK、NDK、Ant和JDK; 下载Android SDK  下载Android NDk 下载Android JDK 下载Ant 其中JDK是需要安装的,其他的都直接解压即可。将SDK NDK 和ANT解压缩到同一个文件夹中,我解压后文件都放在了e:\Android文件夹下 SDK如果下载下来的adt文件那么把里面的SDK文件夹考出来,修改后 二、配置JDK 在JDK安装完毕之后,需要手动进行环境变量的配置 1、系统变量里新建JAVA_HOME变量,变量值为:C:\Program Files\Java\jdk1.8.0_05(根据自己的安装路径填写) 2、新建系统变量classpath变量,变量值为:.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar (注意前面的“.”不要忘记了) 3、在系统变量path变量(已存在不用新建)添加变量值:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin(注意变量值之间用“;”隔开) 环境变量的解析: JAVA_HOME:jdk的安装路径 classpath:java加载类路径,只有类在classpath中java命令才能识别,在路径前加了个"."表示当前路径。 path:系统在任何路径下都可以识别java