-
WiFiDirectServiceDiscovery
WIFI直接的客户端,和服务端配合使用,Android4.0以后的功能,需要硬件的支持(WIFI Direct client and server with the use, Android4.0 later feature, you need hardware support)
- 2013-08-28 10:33:43下载
- 积分:1
-
Android中的星星投票+进度条值变化
Android中的星星投票,这个不包括后台记录投票值的模块,仅是前台的星星选择变色功能,星型拖拉条被拉动的处理代码,然后将0-5星星数折算成0-100的进度值,当用户单击星星时,进度条和星星都会根据实际值变化。
final static double MAX=100;//ProgressBar的最大值
final static double MAX_STAR=5;//RatingBar的最大星星数
- 2023-02-26 03:15:03下载
- 积分:1
-
Android开发框架
Android开发框架,表现层、业务层、数据层,采用gradle构建。独立于框架、独立于UI、不依赖于数据库和外部代理。
- 2023-01-30 19:25:03下载
- 积分:1
-
Android高仿饿了吗
高仿饿了吗,侧滑,购物车,列表标签悬停效果,下拉刷新,欢迎初学小伙伴们下载
- 2023-06-25 04:00:05下载
- 积分:1
-
LinkGame
能实现电脑端双人连连看游戏,里面已设置好关卡,只有在规定时间内通过游戏关卡才能进入下一关,否则游戏失败,同时进行倒计时。(It can realize the double-player continuous watching game on the computer side. The game has been set up a checkpoint. Only through the game checkpoint in the prescribed time can we enter the next level, otherwise the game will fail and the countdown will be made at the same time.)
- 2019-04-03 15:34:59下载
- 积分:1
-
Android高仿新浪微博的Tab
一个简单的Android Demo,实现了android新浪微博客户端4.x后的底部tab效果,并实现了切换功能,代码清晰,注释清楚,欢迎学习交流
- 2022-10-25 17:50:03下载
- 积分:1
-
MyFirstAndroidProjectstrings.xml
MyFirstAndroidProject(配置strings.xml)(MyFirstAndroidProject (configuration strings.xml))
- 2013-03-27 23:55:28下载
- 积分:1
-
FileManager
安卓应用中的文件管理开发范例,提供各种文件管理功能(Android application development paradigm in document management, offering a variety of file management functions)
- 2013-09-30 08:27:56下载
- 积分:1
-
android 实现调用系统相机拍照,并且存到sd卡 实例 附完整源码
一个demo,实现调用系统相机拍照,将其显示在屏幕上,并且存到sd卡。 Android中实现拍照有两种方法,一种是调用系统自带的相机,然后使用其返回的照片数据。 还有一种是自己用Camera类和其他相关类实现相机功能,这种方法定制度比较高,洗染也比较复杂,一般平常的应用只需使用第一种即可。 用Intent启动相机的代码:Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);startActivityForResult(intent, 1); 拍完照后就可以在onActivityResult(int requestCode, int resultCode, Intent data)中获取到Bitmap对象了。Bitmap bitmap = (Bitmap) data.getExtras().get("data"); 要将图像存储到sd卡之前最好先检查一下sd卡是否可用 String sdStatus = Environment.getExternalStorageState(); if (!sdStatus.equals(Environment.MEDIA_MOUNTED)) { // 检测sd是否可用 Log.v("TestFile", "SD card is not avaiable/writeable right now."); return; } 以下代码可以实现将图像文件存到“sdcard/myImage/”文件夹下,名称为“111.jpg” File file = new File("/sdcard/myImage/"); file.mkdirs();// 创建文件夹 String fileName = "/sdcard/myImage/111.jpg"; try { b = new FileOutputStream(fileName); bitmap.compress(Bitmap.CompressFormat.JPEG, 100, b);// 把数据写入文件 } catch (FileNotFoundException e) { e.printStackTrace(); } finally { try { b.flush(); b.close(); } catch (IOException e) { e.printStackTrace(); } } 另外要注意的是读写sd卡文件必须首先要在Mainifest.xml文件中配置权限: 一个demo,实现调用系统相机拍照,将其显示在屏幕上,并且存到sd卡。
- 2013-06-13下载
- 积分:1
-
百度地图demo
Tell you how to use baidu map api ,this is an easy demo and you can learn how to make a baidu map engien!
- 2022-06-14 11:08:15下载
- 积分:1