Hello, I am trying to share a message with Facebook to be posted on my facebook wall. I am using the following code, but it gets stuck off at
http://m.facebook.com/sharer.php?u= Code: private void openFaceBook(){ Intent facebookIntent = new Intent(Intent.ACTION_SEND); facebookIntent.putExtra(Intent.EXTRA_TEXT, "Have a nice day..!"); facebookIntent.setType("text/*"); boolean resolved = false; for(ResolveInfo ri: lRInfo) { if(ri.activityInfo.name.endsWith(".ShareLinkActivity")) // Facebook { facebookIntent.setClassName(ri.activityInfo.packageName, ri.activityInfo.name); resolved = true; break; } } startActivity(resolved ? facebookIntent : Intent.createChooser(facebookIntent, "Choose one")); } I would appreciate for any quick help . Thanks in advance.. DK -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

