2
开始对外脸谱活动,以共享数据.Starting Facebook应用将导致警告警告(窗口已经集中,忽略聚焦增益)从外部活动
WARN/InputManagerService(52): Window already focused, ignoring focus gain of: [email protected]
和FB活动没有看到前景。
我使用的代码是
Intent sendShareIntent = new Intent("com.facebook.katana");
sendShareIntent.setComponent(new ComponentName("com.facebook.katana", "com.facebook.katana.ShareLinkActivity"));
startActivity(sendShareIntent);
我模拟器已经得到它。当与ACTION_SEND作为动作过滤器安装的应用程序我得到“com.facebook.katana.ShareLinkActivity” Facebook应用程序。
所以,请给我建议的解决方案尽快
感谢&问候, 沙