-
ListView中item使用ViewPager
应用背景
ListView中的Item是可以左右滑动的ViewPager,有需要的可以借鉴
关键技术自定义ListView中的Item在加载条目的时候实例化左右滑动的ViewPager,解决了滑动冲突监听,复写OnTouchListener
- 2022-03-26 07:07:16下载
- 积分:1
-
daocrud
android的DAO操作(provider带观察者模式)(
The DAO android operating (provider with observer pattern))
- 2013-12-14 00:57:35下载
- 积分:1
-
Android 自动启动服务的示例
Android 自动启动服务,也可以手动启动或停止指定的服务,这只是一个例子,演示在android环境下,如何在后台自动运行Service。
public void onDestroy() {//重写的onDestroy方法
myThread.flag = false;//停止线程运行
super.onDestroy();
}
@Override
public void onStart(Intent intent, int startId) {//重写onStart方法
myThread = new MyThread() ;//初始化线程
myThread.start();//启动线程
super.onStart(intent, startId);
}
class MyThread extends Thread{//线程类
boolean flag = true;//循环标志位
int c = 0;//发送的消息
@Override
public void run() {
while(flag){
Intent i = new Intent("wyf.ytl.myThread");//创建Intent
i.putExtra("myThread", c);//放入数据
sendBroadcast(i);//发送广播
c++;
try{
Thread.sleep(1000);//睡眠指定毫秒数
}catch(Exception e){//捕获异常
e.printStackTrace();//打印异常
}
}
}
};
- 2023-04-08 03:05:04下载
- 积分:1
-
求原根指数表的android APP
资源描述如果你是学习信息安全专业的学生,你肯定会学习信息安全数学基础,这样就会接触到原根和指数表的概念,这个app简单而且能助你快速的求出原根和指数表,操作界面简单易懂。
- 2022-08-10 14:38:35下载
- 积分:1
-
service
使用Android连接service服务器并返回的方法。提供一种解决方案。(Use Android to connect to the service server and return the method.)
- 2018-12-19 17:55:33下载
- 积分:1
-
如何画各种趋势图
分享给大家学习,如何在android中绘制各种股票趋势图,包括K线,均线,量能,光标,圆饼图等,希望对新手学习有所帮助和提高
- 2022-01-30 22:08:41下载
- 积分:1
-
finalassignment
android 移动应用系统设计
1、最后提交两部分内容
a. 对一个功能的实现+实验报告(该项作为平时作业成绩)
- 可以选择上课中所演示的任意功能,截图完成实验报告
- 需要提交程序 + 3-5页的实验报告
b. 从以下网址下载一个app源码,或者其它地方的源码,对代码进行详细解析(该项作为期末课程考核成绩)
- 推荐下载网址为:http://www.devstore.cn/code/list/pn1-or0.html
- 需要提交下载的源码,和对该源码实现的分析报告,不少于8页
2、将所有内容按下面两个目录进行存放,打包以“学号+姓名” 命名,上传到作业ftp
- 实验
- 课程综合(android mobile application system design 1, the final submission of two parts a test report achieve+ a function (such as the usual job performance)- You can any function demonstrated in class, theme complete test report- to be submitted program+ Experimental report b 3-5 pages downloaded the following URL an app source code, or elsewhere source, detailed analysis of the code (such as the end of course examination results)- Recommended download site at: http: //www.devstore .cn/code/list/pn1-or0.html- to submit to download the source code, and analysis of the source code to achieve, at least 8 2, all the content stored in the following two directories, packed to " learn No.+ name " name, upload to job ftp- Experiment- Integrated Course)
- 2015-11-17 10:36:12下载
- 积分:1
-
Android 图片缩放 图片拖拽 自动居中实例
Android 实现的图片缩放 图片拖拽,限制最大最小缩放比例,自动 横向、纵向居中,图片小于屏幕大小,则居中显示。大于屏幕,上方留空则往上移,下方留空则往下移,最小缩放比例为1%,最大为100%。
在屏幕上按住图片任意方向拖动,松开后,图片会智能判断,并自动复位。
- 2022-01-21 01:16:01下载
- 积分:1
-
viepager联动效果
能够实现画面的联动效果,点击一个button,viewpager会响应按钮的动作事件
- 2022-02-20 19:29:03下载
- 积分:1
-
android开发入门
说明: android应用开发很好的入门资料,非常适合初学者。(An excellent introduction to android application development)
- 2019-02-17 15:11:49下载
- 积分:1