08 2012 档案

摘要:应用向微博平台发起请求,获得一个临时的oauth_token,和oauth_token_secret(A),这套key被称为request token.应用将用户转向到微博授权页面,同时带上这个token和一个回调页面地址用户在微博上同意授权后,会生成oauth_verifier(B),并在转向到回调页面时带上这个值.应用通过$_REQUEST得到oauth_verifier,再加上之前(A)处的oauth_token和oauth_token_secret,向微博发起最后一次请求.微博平台验证无误后,发给应用另外一套oauth_token和oauth_token_secret(C),这套key 阅读全文
posted @ 2012-08-30 10:42 AZ_mxl 阅读(350) 评论(0) 推荐(0)
摘要:public class TestActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); String archiveFilePath="sdcard/DangDang.apk";//安装包路径 PackageManager pm = getPackageManager(); PackageInfo info = pm.ge 阅读全文
posted @ 2012-08-13 13:46 AZ_mxl 阅读(19374) 评论(0) 推荐(1)
摘要:Android应用程序中启动另一个应用程序Intent intent=new Intent(); intent.setComponent(new ComponentName("com.Android.calendar", "com.android.calendar.LaunchActivity")); startActivity(intent); 阅读全文
posted @ 2012-08-13 13:44 AZ_mxl 阅读(175) 评论(0) 推荐(0)