摘要: 基于网上很多人利用新浪api开发新浪微博客户端的时候遇到无法发图片的问题,很多人卡在了这一布。现将代码呈上,希望能帮到一些朋友。/** * 发表带图片的微博 * @param token * @param tokenSecret * @param aFile * @param status * @param urlPath * @return */ public String uploadStatus(String token, String tokenSecret, File aFile, String status, String urlPath) { httpOAuthConsumer. 阅读全文
posted @ 2011-09-02 09:34 sky7034 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 看到网上流行的一种使用方法是public class Utility { public static void setListViewHeightBasedOnChildren(ListView listView) { ListAdapter listAdapter = listView.getAdapter(); if (listAdapter == null) { // pre-condition return; } int totalHeight = 0;欠款 for (int i = 0; i < listAdapter.getCount(); i++) { View listI 阅读全文
posted @ 2011-09-02 09:32 sky7034 阅读(238) 评论(0) 推荐(0) 编辑
蘑菇街女装 货运专家