![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android 开发笔记
一个挺OK的程序猿
优秀的android攻城狮,从事移动客户端开发,致力于清新的架构,执着于优雅的代码。
展开
-
2.调用第三方app并返回标识
调第三方app--public void startActivityForResult(Intent intent, int requestCode) Activity activity = (Activity)context;activity.startActivityForResult(new Intent(Util.REVIEW_ACTION, uri), 1001);在原创 2012-04-09 11:20:05 · 1273 阅读 · 0 评论 -
1.setAnimation和startAnimation区别
设置一个动画播放这一观点。如果你想立即播放的动画,使用startAnimation这种方法提供了允许细粒度控制的起始时间和失效,但你必须确保:1)动画开始时间 2)动画应该开始时的观点,将被视为无效。 /** * Sets the next animation to play for this view. * If you want the animation原创 2012-04-09 11:19:38 · 13188 阅读 · 1 评论 -
Android 发送http请求实例
URL url; try { OutputStream os = null; url = new URL(uri); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setDoOutput(true); conn.setDoInput(true);原创 2013-12-18 19:42:52 · 2572 阅读 · 0 评论