- 博客(17)
- 资源 (8)
- 收藏
- 关注
原创 Android multipart form 提交测试
最近在做项目的时候,需要向服务器传图片。在传图片的同时要验证上传图片的用户的合法性。所以需要附加的username 和 用户 token。 整个过程类似于html 的form的提交。下面的文章可以很好的解决这个问题。http://blog.csdn.net/yuxiaohui78/article/details/43206841本文主要介绍一下,客户端在服务器端没有完成
2015-01-30 00:18:07 548
转载 Android 上传Camera 图像/视频到服务器,显示上传进度条
From http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/My previous tutorial explains how to download a file by showing a progress bar. In
2015-01-27 23:48:17 6367 2
转载 java code to read xls and xlsx files
From: http://www.simplecodestuffs.com/java-code-to-read-xls-and-xlsx-files/package com.simplecode.excel;import java.io.*;import java.util.Iterator;import org.apache.poi.hssf.usermodel.HSSFSheet
2015-01-24 05:08:57 629
转载 Android Service完全解析,关于服务你所需知道的一切
From:http://blog.csdn.net/guolin_blog/article/details/11952435相信大多数朋友对Service这个名词都不会陌生,没错,一个老练的Android程序员如果连Service都没听说过的话,那确实也太逊了。Service作为Android四大组件之一,在每一个应用程序中都扮演着非常重要的角色。它主要用于在后台处理一些耗时的逻辑,或者去
2015-01-24 04:59:11 747
转载 Android 上传图片,服务器接收图片实现
http://programmerguru.com/android-tutorial/how-to-upload-image-to-java-server/
2015-01-24 01:22:42 1372
转载 Service, Thread, IntentService and AsyncTask 比较
From http://madhusudhanrc.blogspot.com/2012/05/difference-between-android.htmlServiceThreadIntentServiceAsyncTaskWhen to use ?Task with no UI, but
2015-01-23 23:55:48 937 1
原创 AsyncTask 并行任务使用、测试
按照Android的文档,AsyncTask设计用来在UI线程执行短期后台操作。它使用起来非常方便,不用用户去维护threads 或者handlers。AsyncTask作为一个Thread 和Handler的Helper类设计出来的。它不是一个通用的线程框架。AsyncTask应该作为一个短期后台操作来用。一般使用在几秒数量级的任务中。如果要使用长期的后台操作任务,需要使用service 或者是
2015-01-23 05:38:22 3773 1
转载 Android UI 单线程模型和AsyncTask原理
http://blog.163.com/lhl_soft/blog/static/20175000420121236405594/在Android开发中经常会用到从网络上访问资源,从数据库中查询信息,如果我们单击界面上的某一个控件的时候执行这些操作,如果网络资源不可用,数据库操作消耗时间过长,就会使我们的程序一直进入阻塞状态,用户感觉程序已经死掉,如果长时间没反应,用户可能还要重启系统
2015-01-22 05:34:05 588
转载 PreferenceActivity In Android Example
http://www.learn-android-easily.com/2013/09/preferenceactivity-in-android-example.html
2015-01-15 07:41:26 494
转载 怎样在软件中使用apache license
http://blog.maestropublishing.com/2009/11/19/how-to-apply-the-apache-2-0-license-to-your-project/http://www.inteist.com/2010/05/how-to-use-apache-2-0-in-commercial-products-explained-in-simple
2015-01-15 06:00:55 4263
转载 TextView中使用SpannableString
TextView 中使用SpannableString spannedTv = (TextView)findViewById (R.id.spanned_text); String styledText = "This is simple."; spannedTv.setText(Html.fromHtml(styledText));转载例子:http://blog.cs
2015-01-11 12:47:32 628
原创 卡拉OK伴唱歌词效果实现。
卡拉OK歌词伴唱逐字显示在TextView中,可以同过spanned格式的string进行显示。如下面歌词,将下面按照歌词时间逐字显示就可以出现卡拉OK伴唱歌词的效果活着是不須道理活着是不須道理活着是不須道理活着是不須道理活着是不須道理活着是不須道理活着是不須道理活着是不須道理 lyricsTv = (TextView)findViewById (R.id.lyri
2015-01-11 12:27:42 1923
原创 按照屏幕的尺寸,设置TextView的字体大小
按照屏幕大小设置TextView的大小。private int screenwidth = 480; private int textratio = 28; private void setLyricsTextSize(final TextView tv, int screenWidth, int textRatio) { if (screenWidth <= 240) {
2015-01-11 10:44:44 1424
转载 Understanding Android Input Touch Events System Framework (dispatchTouchEvent, onInterceptTouchEvent
From http://codetheory.in/understanding-android-input-touch-events/On my journey of learning Android Development, I’ve realised that it is really important to understand the input handling e
2015-01-10 00:25:54 1161
转载 Using AlarmManager and BroadcastReceiver in Android
From http://karanbalkar.com/2013/07/tutorial-41-using-alarmmanager-and-broadcastreceiver-in-android/Hello friends!Sometimes we need to create an application that notifies a user at a particula
2015-01-09 03:00:11 872
转载 Android Shared Preferences 安全性
Shared Preferences are stored as a file in the filesystem on the device. They are, by default, stored within the app's data directory with filesystem premissions set that only allow the UID that the s
2015-01-09 01:33:18 787
转载 Android user interface testing with Robotium - Tutorial
http://www.vogella.com/tutorials/Robotium/article.html
2015-01-07 23:15:59 606
AsyncTask 并行,串行操作测试
2015-01-23
随机产生MAC地址,符合IEEE标准。芯片公司可查询。
2013-01-31
YY0319-2008医用电气设备 第 2部分 医疗诊断用磁共振设备安全专用要求版.pdf
2010-06-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人