`
文章列表
转载:   http://keegan-lee.diandian.com/post/2012-12-06/40047548955    
转载:   http://www.cnblogs.com/bill-joy/archive/2012/04/09/2438688.html  
转载:   http://blog.csdn.net/xyz_lmn/article/details/7763338
转载:http://blog.csdn.net/soesa/article/details/7992396   ListView.addHeaderView(ViewPager) 的功能解决横向滑动ViewPager时,稍微上下偏移ViewPager就会失去焦点的方法:重写ListView,直接上代码,希望能帮到遇到相同问题的朋友   public class MyListView extends ListView { private GestureDetector mGestureDetector; View.OnTouchListener mGestureListen ...
转载:   http://blog.csdn.net/flying_tao/article/details/6553601       本程序介绍如何通过HttpClient模块来创建Http连接,并分别以Http Get和Post方法传递参数,连接之后取回web server的返回网页结果。      注意,在用Post时,传递变量必须用NameValuePais[]数组存储,通过HttpRequest.setEntity()方法来发出http请求。      此外,也必须通过DefaultHttpClient().execute(httpRequest)添加HttpRequest ...
android 获取手机信息 转载:   http://blog.csdn.net/shakespeare001/article/details/7505932   Android之TelephonyManager类的方法详解 TelephonyManager类主要提供了一系列用于访问与手机通讯相关的状态和信息的get方法。其中包括手机SIM的 ...

iphone网站2

http://www.weiphone.com/     http://www.macx.cn/     http://www.cocoachina.com/   http://developer.cocoachina.com/code/index/3   //开发者代码库     http://511.so/t-21  ios项目开发教程_高清版_时光电影项目      http://511.so/t-11
转载:   http://www.cnblogs.com/-OYK/archive/2011/05/31/2064775.html   android屏幕截图 import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import android.app.Activity; import android.graphics.Bitmap; ...
String currecy = NumberFormat.getCurrencyInstance().format(1245600000); Log.d("test", "=====" + currecy); String str = DecimalFormat.getNumberInstance().format(1245600000); Log.d("test", "+++++++" + str);  
http://www.cnblogs.com/gzggyy/archive/2011/08/02/2125237.html   http://blog.163.com/gobby_1110/blog/static/2928171520121745553942/     publicclass PhotoUpload extends Activity { private String newName ="image.jpg"; private String uploadFile ="/sdcard/image.JPG"; ...
自定义的dialog没有全屏的解决办法:   AlertDialog dlg = new AlertDialog.Builder(this) .setView(textEntryView,0,0,0,0)   或者       <?xml version="1.0" encoding="utf-8"?> <resources> <style name="Transparent"> <item name="android:windowBack ...
http://zilla.blog.51cto.com/3095640/984775     1.TextView的宽度由屏幕总宽度- 额外宽度 得到。然后乘以2得到TextView可以显示的内容的宽度。 2.使用工具方法TextUtils.ellipsize方法,将1中计算的长度传入,得到TextView中可以显示的文本的内容。 3.将2中得到的文本set到TextView中。   private void measureTextWidth(TextView textView, String txt) { if (textLength == 0) { float t ...

控件宽高

imageView = (ImageView)findViewById(R.id.imageView1); //-----------------------------------------------方法三 ViewTreeObserver vto2 = imageView.getViewTreeObserver(); vto2.addOnGlobalLayoutListener(new OnGlobalLayoutListener() { @Override ...
多级树形菜单的实现_expandlist   http://blog.csdn.net/hellogv/article/details/6120133  
图片异步下载;     http://lewisliu.iteye.com/blog/1346820   http://blog.csdn.net/itachi85/article/details/8009877     http://blog.csdn.net/chenshaoyang0011/article/details/7745732     http://www.zhuotx.com/index.php/archives/42  
Global site tag (gtag.js) - Google Analytics