Google Brings E-Books for iPhone and Android Author: Michael Horton Category: Software 47 minutes ago One of the great things about an iPhone or Android phone is being able to play Pacman while stuck in line at the post office. Sometimes though, we yearn for something more than just playing games or watching videos. What if you could also access literature's greatest works, such as Emma and The Jungle Book, right from your phone? Or, some of the more obscure gems such as Mark Twain's hilariou
Informacja: 2009-02-06
Inne wiadomości z dnia 2009-02-06
As Romain said you're getting the content from your activity ( that don't possess a username_edit item ). you should do : ... Dialog curDialog = (Dialog) dialog; EditText enterNumberField = (EditText) curDialog.findViewById (R.id.username_edit); ... It works for me... Emmanuel [link]
Informacja: 2009-02-06
Dziękujemy za odwiedziny /przegladprasy
On last note : I finally found the Id of this button : android.R.id.button1. here's my try (succesfull ): public void onClick(DialogInterface dialog, int whichButton) { Dialog curDialog = (Dialog) dialog; Button curButton = (Button) curDialog.findViewById ( android.R.id.button1 ); curButton.setText("Coucou");
Informacja: 2009-02-06
Dziękujemy za odwiedziny /przegladprasy
Romain, Thanks for the explanation.
Informacja: 2009-02-06
Dziękujemy za odwiedziny /przegladprasy