摘要: 自定义LinearLayoutForListView 继承LinearLayoutimport urun.news.adapter.AdapterForLinearLayout;import android.content.Context;import android.util.AttributeS... 阅读全文
posted @ 2015-06-02 15:04 星耀1 阅读(442) 评论(0) 推荐(0) 编辑
摘要: /** * sendMessageQQ:qq分享 * * @author huangzongwang Date:2015-5-19上午11:21:28 */ private void sendMessageQQ(int choil) { Bundle bundle = new Bundl... 阅读全文
posted @ 2015-06-02 14:58 星耀1 阅读(63) 评论(0) 推荐(0) 编辑
摘要: /**微博登陆的回调类,通过联网获取用户数据*/public class WeiBoLogin implements WeiboAuthListener{ private Activity activity; public static Oauth2AccessToken accessToken;... 阅读全文
posted @ 2015-06-02 14:56 星耀1 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 异步类class MyAsyncTask extends AsyncTask { @Override protected Bitmap doInBackground(Void... params) { InputStream inStream = null; Bitmap bmp = nu... 阅读全文
posted @ 2015-06-02 14:19 星耀1 阅读(120) 评论(0) 推荐(0) 编辑
摘要: mHorizontalScrollView = (HorizontalScrollView) findViewById(R.id.hori_img); mGallery = (LinearLayout) findViewById(R.id.id_gallery); for (int i = 0;... 阅读全文
posted @ 2015-06-02 12:02 星耀1 阅读(1219) 评论(0) 推荐(0) 编辑