-
Android 设计制作的动态桌面
Android 设计制作的动态桌面,做动态桌面 触屏移动时 有圈
在源代码中初始化 画笔、定义触屏位置、圈的半径、在初始化Engine时被调用、当可见度改变时被调用、当触屏时被回调。
//在初始化Engine时被调用
@Override
public void onCreate(SurfaceHolder surfaceHolder) {
super.onCreate(surfaceHolder);
paint = new Paint();
paint.setColor(Color.RED);
paint.setStrokeWidth(2);
paint.setStyle(Paint.Style.STROKE);
//使用触屏
setTouchEventsEnabled(true);
}
- 2023-03-21 22:45:04下载
- 积分:1
-
BubbleLiveWallpaper-Sample-master
Bubble Live Wallpaper for Android
- 2015-12-25 09:18:03下载
- 积分:1
-
属性动画的展示 多种方式
实现属性动画的的各种展示方式
提
供了几种动画类型:View Animation 、Drawable Animation 、Property Animation 。View
Animation相当简单,不过只能支持简单的缩放、平移、旋转、透明度基本的动画,且有一定的局限性。比如:你希望View有一个颜色的切换动画;你
希望可以使用3D旋转动画;你希望当动画停止时,View的位置就是当前的位置;这些View Animation都无法做到。这就是Property
Animation产生的原因,本篇博客详细介绍Property Animation的用法。至于Drawable Animation,嗯,略~
- 2022-06-26 08:25:31下载
- 积分:1
-
Android 开启指定名称和密码的 Wifi热点 实例源码下载
Android 开启指定名称和密码的 Wifi热点 实例源码下载
- 2014-08-26下载
- 积分:1
-
android listView checkBox EditText 支持全选/反选/加减 例子源码下载
android listView实现EditText checkBox 全选 反选
- 2015-04-01下载
- 积分:1
-
WiFi Android数据发送测试
任何无线串口模块通信的Android设备。
- 2022-08-19 15:27:14下载
- 积分:1
-
AutoRingProjectxx_zz_src
I created this app to simulate the ring behavior of the Motorola RAZR which would switch to loud when charging and return to vibrate-only when disconnected (no manual adjustment needed). This app also allows the reverse scenario (silent when connected otherwise ring).
This tutorial assumes you already have the Eclipse environment up and running. If you are new to Eclipse and Android development, I recommend going through the temperature converter tutorial which can be found here.
- 2012-06-20 10:51:20下载
- 积分:1
-
下拉刷新demo
实现listview的下拉刷新
- 2013-05-15下载
- 积分:1
-
实现手机端通过蓝牙连接传输信息
实现蓝牙连接传输数据:
1 使用registerReceiver注册BroadcastReceiver来获取蓝牙状态、搜索设备等消息;
2 使用BlueAdatper的搜索;
3 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI);
4 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI);3 在BroadcastReceiver的onReceive()里取得搜索所得的蓝牙设备信息(如名称,MAC,RSSI);
5 由BluetoothDevice衍生出BluetoothSocket,准备SOCKET来读写设备;
6 通过BluetoothSocket的createRfcommSocketToServiceRecord()方法来选择连接的协议/服务,这里用的是SPP(UUID:00001101-0000-1000-8000-00805F9B34FB);
7 Connect之后(如果还没配对则系统自动提示),使用BluetoothSocket的getInputStream()和getOutputStream()来读写蓝牙设备。
- 2023-04-06 07:00:03下载
- 积分:1
-
android 指南针app源码(亲测可用)
android 指南针app源码(亲测可用)
- 2019-12-26下载
- 积分:1