如何在Android中显示推文弹出窗口(如在iOS中使用SLComposeViewController)

如何在Android中显示推文弹出窗口(如在iOS中使用SLComposeViewController),android,ios,twitter,slcomposeviewcontroller,Android,Ios,Twitter,Slcomposeviewcontroller,来自iOS的背景,我试图了解如何在Android中向用户显示一个简单的预填充Twitter弹出窗口 使用iOS/Swift,我只需执行以下操作: if let vc = SLComposeViewController(forServiceType: SLServiceTypeTwitter) { vc.setInitialText("Hi there!") present(vc, animated: true) } else { print("Twitter accoun

来自
iOS
的背景,我试图了解如何在
Android
中向用户显示一个简单的预填充Twitter弹出窗口

使用
iOS
/
Swift
,我只需执行以下操作:

if let vc = SLComposeViewController(forServiceType: SLServiceTypeTwitter) {
    vc.setInitialText("Hi there!")
    present(vc, animated: true)
} else {
    print("Twitter account not available")
}
我看了好几篇关于SO的教程和帖子,但我对
TwitterAuthConfig
TWITTER\u键
/
TWITTER\u秘密
和所有这些东西有点困惑。有没有像iOS那样的简单方法

多谢各位