-
practice5TelephonyManager
this is a practice5TelephonyManager(this is a practice5TelephonyManager,this is a practice5TelephonyManager)
- 2012-03-29 00:12:44下载
- 积分:1
-
BaiduMapApiDemo
百度地图api,有各项功能的demo,详尽、具体,适合初学者探究(Baidu map api, there are various functions of the demo, detailed, specific, suitable for beginners to explore)
- 2013-10-23 14:45:55下载
- 积分:1
-
brasil
说明: Smali source code for HTV Box app.
- 2019-03-24 08:42:36下载
- 积分:1
-
动态添加控件--超出导航屏幕
动态添加控件--超出导航屏幕
- 2015-04-22下载
- 积分:1
-
C语言编写扫雷游戏
C语言编写扫雷游戏
- 2020-12-04下载
- 积分:1
-
sinamicro1
新浪微博的安卓客户端,这个客户端是我自己做的,很有特点~(The Sina microblogging Andrews clients, this client is my own doing, is very characteristic to)
- 2012-09-26 17:56:42下载
- 积分: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
-
nvram
Disables OSD and releases the buffers.returns 0 on success.
- 2015-07-11 18:04:33下载
- 积分:1
-
ISSAuthorize
Android与IIS身份验证案例源码,在Android移动项目开发中,访问服务器时,为了简洁方便,我们经常使用http协议来传递JSON格式的数据。然而有些项目需要有一定的安全性,如使用Android客户端登陆到MIS系统。虽然我们是通过Android手机客户端的登陆Activity中登陆到系统的,但是略懂电脑的黑客是能够跳过登陆Activity,从而直接进入系统的。这样,会造成一些由于系统的不安全所带来的麻烦。建立一种防止黑客强行登录的身份验证模式尤为重要。此时,系统的身份验证成为阻挡黑客登陆的一道屏障。那么,怎样实现一个身份验证呢?让我们以IIS为宿主,一步一步的实现身份验证吧(Android and IIS authentication case source code, in the Android mobile project development, access to the server, in order to be simple and convenient, we often use the HTTP protocol to transfer JSON format data. However, some of the project needs to have a certain security, such as the use of Android client login to the MIS system. Although we are through the Android mobile client landing Activity landing to the system, but slightly understand the computer hacker is able to skip the landing Activity, thus directly into the system. In this way, it will cause some of the problems caused by the system is not safe. It is particularly important to establish an identity authentication mode to prevent hackers logging in. At this point, the identity of the system has become a barrier to prevent hackers landing. So, how to achieve an identity verification? Let us take IIS as the host, step by step to achieve authentication bar)
- 2016-06-20 11:04:56下载
- 积分:1
-
实现一个弧形(或者圆形)布局
实现一个弧形(或者圆形)布局,在这个布局的基础上还实现了path以及Tumblr的菜单效果。
- 2015-04-30下载
- 积分:1