ich hinzufüge, die Fähigkeit, Noten von meiner App zu teilen Absicht mit Android-Aktie:Facebook: Ihr Link nicht
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "My Score");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "I scored "+score+" on "+difficultyString+" difficulty.");
context.startActivity(Intent.createChooser(shareIntent, "Share your score"));
Wenn ich Facebook aus dem Chooser wählen, es zu m.facebook geht. com und sagt "Ihre Verbindung konnte nicht geteilt werden". Was läuft hier falsch?
Wow, niemand? Nicht einmal ein Kommentar? – fredley
verwenden Sie die Facebook-Java-SDK? – Bot
Nein, Erstellen einer ACTION_SEND Absicht und konsumieren mit der Facebook App – fredley