大约有 4,000 项符合查询结果(耗时:0.0092秒) [XML]
WakeLock 扩展:保持设备唤醒扩展,防止系统休眠和电池优化 · App Inventor 2 中文网
...01-26):添加 WifiLock 功能
1.5 (2021-03-21):添加版本属性和 SDK 版本检查
1.7 (2021-07-20):添加 OnAfterRelease、AcquireCausesWakeup 属性和相关方法
截图
权限请求示例
应用截图
...
Clear Application's Data Programmatically
...ations:
import android.os.Build.*;
if (VERSION_CODES.KITKAT <= VERSION.SDK_INT) {
((ActivityManager)context.getSystemService(ACTIVITY_SERVICE))
.clearApplicationUserData(); // note: it has a return value!
} else {
// use old hacky way, which can be removed
// once minSdkV...
TCPClient TCP客户端扩展:连接TCP服务器进行文本消息通信 · App Inventor 2 中文网
...
连接到 TCP 服务器
支持双向文本消息传输
支持多种字符编码(US-ASCII、UTF-8、ISO-8859-1、UTF-16等)
支持行分隔符配置
提供连接状态监控
支持多屏幕共享客户端(SharedTcpClient)
包含的组件
...
What permission do I need to access Internet from an Android application?
...eavocats"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_l...
TCPClient TCP客户端扩展:连接TCP服务器进行文本消息通信 · App Inventor 2 中文网
...
连接到 TCP 服务器
支持双向文本消息传输
支持多种字符编码(US-ASCII、UTF-8、ISO-8859-1、UTF-16等)
支持行分隔符配置
提供连接状态监控
支持多屏幕共享客户端(SharedTcpClient)
包含的组件
...
通信连接组件 · App Inventor 2 中文网
...Activity活动名称,如果找不到相应的Activity活动,则为空字符串。
启动活动对象()
启动这个 Activity启动器 对应的Activity活动。
应用更新
不可见组件:检查服务器上的版本文件,发现新版本后下载安装包...
App Inventor 2 Encrypt.Security 安全性扩展:MD5哈希,SHA1和SHA256哈希...
...和RSA公钥。
方法
BASE64Encode
此方法用于BASE64编码一个字符串。输入 plaintext
BASE64Decode
此方法用于BASE64解码字符串。输入 ciphertext
GenerateRsaKeyPair
此方法用于生成一对RSA加密/解密密钥(including a private key and a public key),...
What is Gradle in Android Studio?
... command line, but you have to learn what each tool (dx, aapt) does in the SDK.
Eclipse saved us all from these low level but important, fundamental details by giving us their own build system.
Now, have you ever wondered why the res folder is in the same directory as your src folder?
This is whe...
TransformXml task could not be loaded from Microsoft.Web.Publishing.Tasks.dll
...nd although it works, I was going to try installing the Microsoft Windows SDK for Windows 7 and .NET Framework 4 Windows SDK for Windows 7 and .NET Framework 4, but it is taking to long to download.
share
|
...
How to get the ActionBar height?
...by @Marina.Eariel
TypedValue tv = new TypedValue();
if(Build.VERSION.SDK_INT>=Build.VERSION_CODES.HONEYCOMB){
if (getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true))
actionBarHeight = TypedValue.complexToDimensionPixelSize(tv.data,getResources().getDisplayMetr...
