![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
文章平均质量分 72
jihanoo
这个作者很懒,什么都没留下…
展开
-
Android自适应屏幕方向及分辨率
屏幕大小1、不同的layout Android手机屏幕大小不一,有480x320,640x360,800x480.怎样才能让App自动适应不同的屏幕呢? 其实很简单,只需要在res目录下创建不同的layout文件夹,比如:layout-640x360,layout-800x480,所有的layout文件在编译之后都会写入R.java里,而系统会根据屏幕的大小自己选择合适的转载 2012-08-16 00:14:45 · 269 阅读 · 0 评论 -
Android网络访问请求方式
/***需要Internet权限*/Apache Post方式发送数据1、构建URLURL url=new URL("RemoteURL");2、建立Http post请求方式HttpPost httpPost=new HttpPost(url);3、建立追加请求体List list=new ArrayList();NameValuePair nv=new原创 2012-08-18 22:56:05 · 424 阅读 · 0 评论