-
Download
本软件是一个Android基本功能的实现:即从服务器端下载xml文件并解析的功能。使用时测试代码可以搭建tomcat服务器,并在其中放置要解析的xml文件。(download xml files from server and analysis them)
- 2012-09-02 21:05:59下载
- 积分: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
-
科学计算器
资源描述功能计算器使用说明:
使用计算器可进行加(+)、减(-)、乘(*)、除(/)、开方(sqrt)、百分数(%)、倒数(1/x)等简单算术计算。
计算时可使用鼠标点击按钮进行操作,也可在键盘上通过按键进行操作。
如果按错可用(Backspace)键消去一次数值,再重新输入正确的数字。
直接输入数字后,按下乘号将它变为乘数,在不输入被乘数的情况下直接按(=)或(Enter)键,就是该数字的二次方值。
按下(+/-)键可改变数字的正负值。
当输入数字并决定运算符号后,按下(%)键会将结果变为百分比运算。例如:17+28(%)=17%+28%,1-90(%)=100%-90%
部分标准型具备数字存储功能,它包括四个按键:MRC、M-、M+、MU。键入数字后,按M+将数字读入内存,此后无论进行多少步运算,只要按一次MRC即可读取先前存储的数字,按下M-则把该数字从内存中删除,或者按二次MRC。MU则为利率计算,使用方法不详.
“科学型”用于进行统计计算和科学计算,还可以用于进行不同进制数的转换。
数制的转换:可进行十进制(快捷键 W )、二进制(快捷键 T )、八进制(快捷键 R )、十六进制(快捷键 Q )整数的相互转换。
- 2022-07-25 01:12:26下载
- 积分:1
-
STM32驱动正交编码器
用32单片机驱动编码器工作,自己写的,测试好用
- 2021-05-06下载
- 积分:1
-
android监听网络连接状态
应用背景你是否见过android的app在断网的情况下打开之后不出现界面,
然后打开网络的时候还是不会出现界面,这就需要在activity中检测网络的连接状态,
这时候如果有网络你就可以做网络访问了,如果没有网络的话,就继续监听
一旦网络连接了,就会自动去加载你要联网的操作,
关键技术
此源码是检测网络状态是否连接,在activity创建的时候检查一遍是否有网络
- 2022-08-10 15:04:07下载
- 积分:1
-
bitmapfun
Android高效异步加载图片功能,使用LruCache高效缓存策略。(Android efficient asynchronous load picture function)
- 2013-07-04 17:52:36下载
- 积分:1
-
微信APP支付代码,Android studio版
目前微信官网没有Android studio版本的APP支付代码 , 而且更新了sdk,缺没更新代码 , 导致 loadurl 方法没有, 包文件错误 , 版本不识别等 , 整了一上午 , 终于整好 , 我想说 , 微信 , 你能在坑点吗
- 2022-02-11 23:08:12下载
- 积分:1
-
Android语音识别
Android语音识别软件代码 调用系统的语音控件进行语音识别代码。
- 2022-03-02 17:53:42下载
- 积分:1
-
android消息推送
一款android系统消息推送源码,该源码覆盖了所有消息推送的类别,利用此源码可以实现无缝消息推送
- 2022-03-19 01:52:26下载
- 积分:1
-
课程表源码
android课程表开发学习,不是很完善,但是涉及道了,几个新手不易知道的知识点。
- 2022-09-06 16:00:02下载
- 积分:1