0

我是开发 Android 应用程序的新手,我想知道将 Intents 放在哪里,或者 send message() 方法在哪里。这是我正在谈论的链接http://developer.android.com/training/basics/firstapp/starting-activity.html#BuildIntent

4

1 回答 1

0
Open the MainActivity class and add the corresponding method:

/** Called when the user clicks the Send button */
public void sendMessage(View view) {
    // Do something in response to button
}

它就在教程中

于 2012-11-26T23:14:44.653 回答