English 中文(简体)
在Facebook上分享文本, 不在应用程序背景中使用 Android Intent
原标题:Share text on facebook without using Android Intent in app s background

我有一个产品清单, 如果当时我选择了一种产品,

这是可能的还是没有的?如果是的,那又如何呢?

我在脸书上用Android Intent分享我前一个应用程序中的股份。

please help me. thanks in advance.

问题回答

如果您不想使用 Intent 共享 。

然后您需要执行图表 Api,以便在您的项目中进行Facebook整合。

欲进一步参考, 请看这里

您可以使用 < a href=>" "http:// developmenters.facebook.com/docs/mobile/android/building/" rel="notfollow noreferrer" > facebook Android SDK 。

sdk 使用 < a href=> http:// developmenters.facebook.com/docs/mobile/android/building/#sso" rel= "nofoln noreferrer" > SSO ,这意味着如果设备安装了脸书应用程序,那么应用程序负责对用户进行脸书认证,这样更好,因为用户不需要输入他的电子邮件/password(这在移动设备上并不好玩),但如果你想避免: < a href=" https://strackoverflow.com/ questionsps/45/21013/hoto-diable-facebook-single-sign-on-and-andoid-for-mart-facebook-android-sk”, 如何禁用脸书上和机器人的Facebook单个签名?

如果您禁用了 SSO, SDK 将使用自己的对话框获取用户电子邮件/密码 。

为了运行背景中的东西, 您可以使用 < a href=" http:// developmenters.facebook.com/docs/ reference/androidsdk/ayncrequest/" rel=" nofollow noreferrer" > Async API 请求





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签