-
Android视频程序源码
这是一个比较简单的实用Android 进行开发的Android视频程序源码
- 2022-05-22 06:45:19下载
- 积分:1
-
android中不错的ExpandableListView实例效果源码
一、ExpandableListView介绍 一个垂直滚动的显示两个级别(Child,Group)列表项的视图,列表项来自ExpandableListAdapter 。组可以单独展开。 1.重要方法 expandGroup(int groupPos) :在分组列表视图中展开一组, setSelectedGroup(int groupPosition) :设置选择指定的组。 setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) :设置选择指定的子项。 getPackedPositionGroup(long packedPosition) :返回所选择的组 getPackedPositionForChild(int groupPosition, int childPosition) :返回所选择的子项 getPackedPositionType(long packedPosition) :返回所选择项的类型(Child,Group) isGroupExpanded(int groupPosition) :判断此组是否展开 2.代码:ExpandableListContextMenuInfo menuInfo=(ExpandableListContextMenuInfo)item.getMenuInfo();String title=((TextView)menuInfo.targetView).getText().toString();int type=ExpandableListView.getPackedPositionType(menuInfo.packedPosition);if (type==ExpandableListView.PACKED_POSITION_TYPE_CHILD) {int groupPos =ExpandableListView.getPackedPositionGroup(menuInfo.packedPosition);int childPos =ExpandableListView.getPackedPositionChild(menuInfo.packedPosition);二、ExpandableListAdapter 一个接口,将基础数据链接到一个ExpandableListView。此接口的实施将提供访问Child的数据(由组分类),并实例化的Child和Group。 getChildId(int groupPosition, int childPosition) 获取与在给定组给予孩子相关的数据。 getChildrenCount(int groupPosition) 返回在指定Group的Child数目。
- 2013-03-07下载
- 积分:1
-
HelloAndroid
HelloAndroid 这是一个简单地安卓程序,导入eclipse即可运行,适合初学者体验编写安卓程序的乐趣。这是上传的第一个安卓程序。后续将不定期更新。
- 2022-11-02 10:35:03下载
- 积分:1
-
android 高斯模糊算法例子
android 高斯模糊算法例子
- 2015-06-07下载
- 积分:1
-
android selector例子(normal/pressed/focused/disabled状态)
android selector例子(normal/pressed/focused/disabled状态)
- 2015-06-12下载
- 积分:1
-
android 时间轴 TimeLine例子
android 时间轴 TimeLine例子
- 2014-12-04下载
- 积分:1
-
android 日历app源码(附带时钟功能)
安卓日历,可直接运行,可添加日程,可调整日历,附带安卓时钟功能
- 2019-06-15下载
- 积分: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
-
相机与相册类
主要是封装好的相机与相册类,阿斯顿撒旦撒旦撒旦飒飒的萨达撒撒按时啊是,可以调用系统相机和相册。
- 2023-02-15 03:25:04下载
- 积分:1
-
蓝牙实时语音对讲机源码,测试可用,可供android学习,及二次开发!
实时语音对讲机,在Android上测试可用,通过蓝牙2.4G频段收发数据,实时对讲效果好,可以直接使用,也可以根据项目需求,在蓝牙实时语音对讲机的基础上做二次开发,也可以供初学者入门
- 2023-07-14 05:15:04下载
- 积分:1