2012-12-30 131 views
2

我想使用am start命令從android shell登錄Facebook應用程序。使用am start命令登錄Facebook應用程序/ ADB shell

 am start -n com.facebook.katana/.LoginActivity 

該命令調出Facebook登錄屏幕。但是,如何填寫電子郵件和密碼字段並將其作爲android shell的單行命令提交?

我試過下面....

 am start -n com.facebook.katana/.LoginActivity -e email [email protected] -e password mypassword 

無果,我也許並不瞭解羣衆演員的使用​​雖然正確。

另外,如果我已經在這些命令登錄工作完全

 am start -a android.intent.action.VIEW -d fb://notifications 
    am start -a android.intent.action.VIEW -d fb://messages 
    am start -a android.intent.action.VIEW -d fb://events 

但我想允許多人來訪問他們的Facebook賬戶使用我的過程。

回答

相關問題