sdk

AndroidDevTools简介

元气小坏坏 提交于 2019-12-29 03:49:38
http://www.androiddevtools.cn/ AndroidDevTools简介 Android Dev Tools官网地址: www.androiddevtools.cn 收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Android设计规范,免费的设计素材等。 欢迎大家推荐自己在Android开发过程中用的好用的工具、学习开发教程、用到设计素材,欢迎Star、Fork 。 如果你对翻译英文的Android开发技术文章感兴趣,欢迎Start和Fork AndroidWeekly中国文章翻译项目 Android Dev Tools ADT Bundle ADT Bundle包含了Eclipse、ADT插件和SDK Tools,是已经集成好的IDE,只需安装好Jdk即可开始开发,推荐初学者下载ADT Bundle,不用再折腾开发环境。 版本号 Windows Mac OSX Linux 23.0.2 32位 64位 64位 32位 64位 23.0.0 32位 64位 64位 32位 64位 Android Studio 版本号 Windows Mac OSX Linux 0.8.13 下载 下载 下载 0.8.12 下载 下载 下载 0.8.11 下载 下载 下载 0.8.10 下载 下载 下载 0.8.9 下载

Android: Battery usage of each application

不羁的心 提交于 2019-12-29 00:59:28
问题 Is there anyway to get the battery usage info per application per second in API, adb shell, ...? 回答1: Other than the battery usage screen in Settings, there is no API or command-line way to get this information. 回答2: just try to read http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/1.6_r2/com/android/settings/fuelgauge/PowerUsageSummary.java/ , then you can get the info shown in the battery usage screen. the key class are IBatteryStats and

Has been compiled by a more recent version of the Java Runtime (class file version 57.0)

瘦欲@ 提交于 2019-12-28 19:35:50
问题 I get this problem Using IntelliJ. But I have the newest version of everything newly installed on my system. ... has been compiled by a more recent version of the Java Runtime (class file version 57.0), this version of the Java Runtime only recognizes class file versions up to 52.0 I've set: PATH as C:\Program Files\Java\jdk-13 JAVA_HOME as: C:\Program Files\Java\jdk-13 JRE_HOME as: C:\Program Files\Java\jre1.8.0_221 I've set the path, tried to find a change in the Project structure COMPLETE

Hyperledger Fabric 开启TLS调用Java SDK

好久不见. 提交于 2019-12-28 17:11:12
Hyperledger Fabric 开启TLS调用Java SDK 之前更新的Fabric 1.4.1+版本之后新增了 etcdRaft 共识机制,而且官方文档明确指定了如果使用该共识机制就必须开启 TLS ,所以之前通过关闭 TLS 调用SDK的方式就不好用了,并且Fabric 2.0版本抛弃了 solo , kafka 模式,也就是默认都使用 etcdRaft 共识了,所以记录一下如何开开启 TLS 的情况下使用 SDK . 在之前,本文是直接使用了 Fabric v2.0.0-beta 版本的环境,并且 JAVA SDK 版本也是直接用了 v2.0.0 的版本,所以如果 Fabric 以及 SDK 不会在正式版的 2.0.0 版本发生重大更新的话,本文的方案应该是可以满足 v2.0.0+ 版本的使用的。 先说一下运行环境: Hyperledger Fabric v2.0.0-beta Hyperledger Fabric-sdk-java v2.0.0-SNAPSHOT Java 1.8 本文分成两个部分: Hyperledger Fabric v2.0.0-beta 版本的安装 Hyperledger Fabric-sdk-java 的使用 1 安装2.0版本的Fabric 1.1 前提条件 这里是搭建 Fabric 环境之前需要(安装的工具和软件)完成的步骤: 只介绍

Android Facebook SDK configuration on Eclipse

有些话、适合烂在心里 提交于 2019-12-28 06:01:50
问题 I downloaded the android's facebook sdk but so far I couldn't configure properly. Eclipse doesn't recognize the facebook sdk as a project. Does anyone got this problem? 回答1: You should use the git plugin to import the facebook project from github into your eclipse workspace. It's configured as an android library. And then in your android project in which you want to use the library. Right click on the project and choose properties. Click on the Android tab, and at the bottom should be a

Android Facebook SDK configuration on Eclipse

寵の児 提交于 2019-12-28 06:01:14
问题 I downloaded the android's facebook sdk but so far I couldn't configure properly. Eclipse doesn't recognize the facebook sdk as a project. Does anyone got this problem? 回答1: You should use the git plugin to import the facebook project from github into your eclipse workspace. It's configured as an android library. And then in your android project in which you want to use the library. Right click on the project and choose properties. Click on the Android tab, and at the bottom should be a

Can we play only audio using youtube api for iPhone

独自空忆成欢 提交于 2019-12-28 04:04:27
问题 In my project i have to use youtube api and play only audio of the video. We must not show the youtube player. Is it possible to play only audio without showing video using youtube api? 回答1: Extraction may be the incorrect implied word here. From what I understand, is user133611 wants to have an audio only stream from YouTube. Unfortunately, YouTube directly forbids it. Here is a quote from Kuan Yong from the YouTube API team: Your API Client will not, and You will not encourage or create

How can I add older version of iOS SDK in Xcode 4.5

我们两清 提交于 2019-12-28 03:19:10
问题 I copied the iOS 5.1 SDK here: Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs But, I still can't choose the base SDK in Xcode. Can anybody help? 回答1: You need to copy the iPhoneOS5.1.sdk to the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk and iPhoneSimulator5.1.sdk to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk (You'll

Programmatically changing the iOS lock-screen

╄→尐↘猪︶ㄣ 提交于 2019-12-28 02:52:27
问题 I'm building an app which would have to have the ability to show my own views on the iPhone lock screen. I've seen lots of apps which let you customize the lockscreen and so forth and these were App Store apps so i'm guessing it has to possible. I just can't figure out what to use in the iOS SDK to even try implementing this. Oh and P.S: same goes for wallpapers—can we change this from inside our app? 回答1: It can be changed programmatically (change to SpringBoard), but it won't make the way

Android SDK install: Java SE development Kit (JDK) not found [duplicate]

十年热恋 提交于 2019-12-28 02:39:40
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Android SDK installation doesn't find JDK I have installed Java runtime 6 to C:\src\libraries\jre6 . I installed Java JDK to C:\src\libraries\javasdk . My %PATH% is set to: PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32 \WindowsPowerShell\v1.0;C:\src\libraries\javasdk\bin;C:\src\libraries\javasdk;C: \src\libraries\javasdk\jdk\bin;C:\src\libraries\javasdk\jdk;C:\src\libraries\jav