-
android 简单的截屏 例子源码下载
android 简单的截屏 例子源码下载
- 2014-09-14下载
- 积分:1
-
Android OnClickListener监听接口用法范例
Android OnClickListener监听接口用法范例,基础级的例子,
Button button = (Button) findViewById(R.id.Button01);//获取屏幕中的按钮控件对象
button.setOnClickListener(//为按钮对象添加OnClickListener接口实现
//OnClickListener为View的内部接口,其实现者负责监听鼠标点击事件
new View.OnClickListener(){
public void onClick(View v){
LinearLayout ll=(LinearLayout)findViewById(R.id.lla);//获取线性布局对象
String msg=LinearActivity.this.getResources().getString(R.string.button);
Button tempbutton=new Button(LinearActivity.this);//创建一个Button对象
tempbutton.setText(msg+(++count));//设置Button控件显示的内容
tempbutton.setWidth(80);//设置Button的宽度
ll.addView(tempbutton);//向线性布局中添加View
System.out.println("========= count"+count);
- 2023-05-27 15:00:04下载
- 积分:1
-
face-detection
在Android平台上使用opencv实现的人脸检测(The Android platform using face detection opencv realized)
- 2013-07-23 22:46:59下载
- 积分:1
-
KDWB
android的一个微博源代码,是学习的基础~~~~(android source code of a micro-Bo, is the foundation of learning ~ ~ ~ ~)
- 2012-09-10 14:38:43下载
- 积分:1
-
File
实现文件的读取在内存卡在android中的使用(Implementation file to read in the memory card)
- 2012-07-30 16:06:57下载
- 积分:1
-
安卓手机通过蓝牙控制单片机小车
本套源码是利用手机的蓝牙,利用Socket套接字,分别将控制小车前进(go)、后退(back)、左转(left)、右转(right)、停止(stop)等字符串通过蓝牙发给串口。然后再单片机端,用一个蓝牙模块接收手机发来的数据通过51的串口发送给单片机,进而驱动小车的运动!
- 2022-03-21 06:45:55下载
- 积分:1
-
天气预报
这个程序是我自己编写的,是一个简单的天气预报功能,可以搜索全国各地天气情况,布局方面有所缺陷,希望网友能够原谅,因为我是初学,所以没有很强的功底来编写很成熟的app,但是他的基本功能能够实现。希望能够帮到你。
- 2022-03-02 06:21:50下载
- 积分:1
-
Project
gradle 项目的算法总结,包含几种基础算法(The algorithm summary of gradle project, including several basic algorithms)
- 2020-06-23 18:00:02下载
- 积分:1
-
LanguageApp_Sodino
Android中不同语言的切换功能,比如英文和越南文之间的切换。UI界面上的文字随着语言的切换就改变为相应的文字(Android different language switching functions, such as switching between English and Vietnamese. UI interface on the text with the language switch is changed to the corresponding text)
- 2012-10-10 10:40:34下载
- 积分:1
-
安卓课程表
安卓课程表,用listview实现
- 2023-03-05 16:05:04下载
- 积分:1