随笔分类 -  android安卓

摘要:参考:http://codinghard.wordpress.com/2009/05/16/android-thread-messaging/下载链接源码:package sample.thread.messaging;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.os.Looper;import android.os.Message;import android.util.Log;import android.view.View;import andr 阅读全文
posted @ 2013-03-20 10:44 wangkangluo1 阅读(1051) 评论(0) 推荐(0) 编辑
摘要:服务调用-显示网页 Uri uri = Uri.parse("http://google.com"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it);服务调用-显示地图 Uri uri = Uri.parse("geo:38.899533,-77.036476"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); 服务调用-路径规划 Uri uri = Uri.parse(&quo 阅读全文
posted @ 2013-03-20 10:26 wangkangluo1 阅读(354) 评论(0) 推荐(0) 编辑
摘要:参考:http://stackoverflow.com/questions/2742236/android-httpclient源码首先要在 AndroidManifest.xml中添加权限:<uses-permission android:name="android.permission.INTERNET"></uses-permission></manifest>代码:new Thread(new Runnable() { public void run() { HttpClient httpclient = new DefaultH 阅读全文
posted @ 2013-03-19 15:57 wangkangluo1 阅读(291) 评论(0) 推荐(0) 编辑
摘要:安卓开发:If you are an Android developer, looking to root your Android phone, or just a blogger who wants to take screenshots of your latest Nexus One phone, you will need to install Android SDK in your computer. I know that it is kind of troublesome to download/install the SDK just to take screenshots 阅读全文
posted @ 2011-06-03 15:44 wangkangluo1 阅读(797) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示