-
android win8界面风格扁平化设计点击动画效果实例源码下载
android win8界面风格扁平化设计点击动画效果实例源码下载
- 2014-08-24下载
- 积分:1
-
android播放IPCamera的rtsp连接
vlc-android播放网络视频成功
- 2014-10-18下载
- 积分: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
-
android 下载远程网络文件 示例源码
android 下载远程网络文件 示例源码
- 2014-09-04下载
- 积分: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
-
android usb 通讯实例源码下载
源码在压缩包中,解压几次就能看到,android usb 通讯例子
- 2014-08-08下载
- 积分:1
-
android 获取手机号 手机运营商 例子源码
android 获取手机号 手机运营商 例子源码
- 2014-10-19下载
- 积分:1
-
fragment+viewpager+定位的代码
fragment viewpager 定位的代码
- 2015-05-15下载
- 积分:1
-
安卓 EyeRoom 完整源码下载
安卓 EyeRoom 完整源码下载
- 2014-10-10下载
- 积分:1
-
android 远程监控 源码下载 (含服务器端和android端)
client文件夹下是客户端的工程文件(Android)server文件夹下是服务器端的工程文件(Qt)
- 2014-09-11下载
- 积分:1