Rumors have been flying back since last year that Google has been working on an update for it's Android smartphone OS, codenamed 'Cupcake', which would be chock full of fixes and features, such as the ability to copy and paste from web browsers. Well, this update very well may be on the way, but it certainly isn't this aforementioned 'Cupcake'. Not at all; it's actually a tool used by Google to help develop the firmware for Android, as told by Roy Furchgott of the New York Times. This isn't a ru
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