Android exception

2015-08-12  本文已影响127人  cd2016

java.lang.SecurityException: Permission denied (missing INTERNET permission?)

联网权限

uses-permission android:name="android.permission.INTERNET"

Key LinksData expected String but value was a com.weqia.wq.data.html.LinksData. The default value <null> was returned.

数据传递 类型不一致

Intent intent = new Intent(ctx, WcAddActivity.class);
intent.putExtra("LinksData", linksData);
ctx.startActivity(intent);
Bundle extras = getIntent().getExtras();
if (extras != null) {
links = extras.getString("LinksData");
}
把LinksData对象传到string里去了

Permission Denial: starting Intent { cmp=com.tencent.mm/.plugin.sns.ui.SnsCommentUI } from ProcessRecord{432344b0 31258:com.dao.myintent/u0a92} (pid=31258, uid=10092) not exported from uid 10087

上一篇 下一篇

猜你喜欢

热点阅读