-
Android 日程管理专家 APP源码
一个书中的Android编程范例,Android 日程管理专家 APP源码,主要功能有:添加日程、日程管理、日程搜索、功能设置等。创建新日程时的临时数据,只需要年月日三个数据,用来在刚刚进入新建日程界面日把年月日默认设置成当前日期:
final static int DIALOG_SET_SEARCH_RANGE=1;//设置搜索日期范围对话框
final static int DIALOG_SET_DATETIME=2;//设置日期时间对话框
final static int DIALOG_SCH_DEL_CONFIRM=3;//日程删除确认
final static int DIALOG_CHECK=4;//查看日程
final static int DIALOG_ALL_DEL_CONFIRM=5;//删除全部过期日程
final static int DIALOG_ABOUT=6;//关于对话框
final static int MENU_HELP=1;//菜单帮助
final static int MENU_ABOUT=2;//菜单关于
public static enum WhoCall
{//判断谁调用了dialogSetRange,以决定哪个控件该gone或者visible
SETTING_ALARM,//表示设置闹钟 按钮
SETTING_DATE,//表示设置日期按钮
SETTING_RANGE,//表示设置日程查找范围按钮
NEW,//表示新建日程按钮
EDIT,//表示修改日程按钮
SEARCH_RESULT//表示查找按钮
临时记录新建日程界面里的类型spinner的position,因为设置时间的对话框cancel后回到新建日程界面时会刷新所有控件,spinner中以选中的项目也会回到默认。
String[] defultType=new String[]{"会议","备忘","待办"};//软件的三个不能删除的默认类型
Dialog dialogSetRange;//日程查找时设置日期起始范围的对话框
Dialog dialogSetDatetime;//新建或修改日程时设置日期和时间的对话框
Dialog dialogSchDelCo
- 2023-04-29 08:30:03下载
- 积分:1
-
listviewheSQLitezhishi
注意:本项目是基于android studio开发的,eclipse可能无法直接使用。
本项目是一个简单的基于安卓的记事本项目源码,添加或删除数据的时候会出现显示bug(实际数据不会受到影响),bug体现在添加或删除一条数据以后会在listview里面会展示复制一遍操作后的数据。而不会清除原有的列表文本。新手朋友可以拿这个项目来试试手感,顺便看看能不能独立解决这个问题。
本项目涉及的知识点有:
1、SQLite的基本使用,增删查改
2、listview,adapeter的基本使用
3、activity生命周期
4、intent、bundle传递参数
5、AlertDialog的基本使用(Note: this project is based on the development of studio eclipse, Android may not be able to directly use.
This project is a simple Notepad program source code based on Android, add or delete data will appear when the display bug (actual data will not be affected), bug reflected in add or remove a data will be in inside the listview will show copy again after the operation data. And will not clear the original list of text. Novice friends can take this project to try to feel, by the way to solve this problem can not be solved independently.
The knowledge points involved in this project are:
1, the basic use of SQLite, CRUD
2, listview, the basic use of adapeter
3, activity life cycle
4, intent, bundle transfer parameters
5, the basic use of AlertDialog)
- 2016-07-25 11:25:09下载
- 积分:1
-
android 音乐播放实例源码
android 音乐播放实例源码
- 2014-03-14下载
- 积分:1
-
图像上传
将您的图像上传到计算机
- 2022-01-25 17:12:11下载
- 积分:1
-
Android应用源码之Android电子麦克风.zip
【实例简介】
- 2021-09-07 00:31:14下载
- 积分:1
-
RTSP播放器源码 Android平台
实现RTSP的视频播放器,Java源码,用于Android平台。是完整的项目文件,编译后可直接运行。内有功能显示界面的图片。可用于android手机上。
- 2022-03-22 12:19:18下载
- 积分:1
-
gps定位
实现定位,测速功能。11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
- 2022-05-20 04:36:23下载
- 积分:1
-
Android 权威编程指南(第2版)书中例子GeoQuiz
Android 权威编程指南(第2版)书中例子GeoQuiz,该书不带源码,手工敲打
后续会陆续更新新的例子的源码,方便大家学习验证
- 2022-01-26 07:19:25下载
- 积分:1
-
Android环境 微信抢红包源代码分享
Android环境 微信抢红包源代码分享,这个功能的实现要分几个步骤:第一步:监听通知栏消息,模拟打开发红包的微信通知栏消息,第二步:监听是否进入微信红包消息界面,打印一个节点的结构,这里有一个问题需要注意,就是需要找到一个可以点击的View。
- 2022-03-16 10:47:35下载
- 积分:1
-
ocr光字符识别
ocr光字符识别
- 2013-05-10下载
- 积分:1