-
Android事务提醒源码
Android事务提醒源码
- 2014-07-28下载
- 积分:1
-
远程视频监控
【核心代码】 public interface CameraSource { static final String LOG_TAG = "camera"; /** * Open the camera source for subsequent use via calls to capture(). * * @return true if the camera source was successfully opened. */ boolean open(); /** * Close the camera source. Calling close on a closed CameraSource is * permitted but has no effect. The camera source may be reopened after * being closed. */ void close(); /** * The width of the captured image. * * @return the width of the capture in pixels */ int getWidth(); /** * The height of the captured image. * * @return the height of the capture in pixels */ int getHeight(); /** * Attempts to render the current camera view onto the supplied canvas. * The capture will be rendered into the rectangle (0,0,width,height). * Outstanding transformations on the canvas may alter this. * * @param canvas the canvas to which the captured pixel data will be written * @return true iff a frame was successfully written to the canvas */ boolean capture(Canvas canvas); boolean saveImage(String savePath, String fileName); }
- 2013-12-04下载
- 积分:1
-
OrmLite 数据库操作 实例源码下载
OrmLite 数据库操作 实例源码下载
- 2014-07-17下载
- 积分:1
-
支付宝移动接口实例(android版)源码下载
android 支付宝移动版接口实例,最低支持版本 android 2.2,也就是几乎所有版本都支持了
- 2015-03-12下载
- 积分:1
-
android 后台发送邮件实例源码下载
该实例用的是android下使用qq邮箱在后台发送Email
- 2013-10-23下载
- 积分:1
-
android中ExpandableListView用法的一个简单实例 附效果图
喜欢显示好友QQ那样的列表,可以展开,可以收起,在android中,以往用的比较多的是listview,虽然可以实现列表的展示,但在某些情况下,我们还是希望用到可以分组并实现收缩的列表,那就要用到android的ExpandableListView,今天研究了一下这个的用法,也参考了很多资料动手写了一个小demo,实现了基本的功能,但界面优化方面做得还不够好,有待改进,素材采用了Q版三国杀武将的图片,很有爱哈哈,下面直接上效果图以及源代码~!
- 2013-03-07下载
- 积分:1
-
android 裁剪图片,多功能2D绘图 例子
android 2d绘图例子
- 2014-09-18下载
- 积分:1
-
android 实现map3y音乐播放
android 实现map3y音乐播放器
- 2014-04-06下载
- 积分:1
-
android 异步 执行 任务 例子 附讲解
Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(), objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute() doInBackground() onProgressUpdate() onPostExecute() onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else { //continue... } See this Image For more Clear.
- 2013-07-05下载
- 积分:1
-
高仿微信文字图片上传源码(含相册预览等功能)
包含相册预览等功能
- 2015-03-03下载
- 积分:1