hi,
I had 2 activity (called androidGallery and HelloAndroid). i try to
call helloAndroid from the androidGallery when user click on the
button. basically, androidGallery is just to get the onclick event.
The helloAndroid activity will set the text of a textview. however, i
cant get it working.
Do this
Intent myIntent = new Intent(androidGallery.this, helloAndroid.class);
startActivity(myIntent);
On Mon, Dec 14, 2009 at 3:56 AM, Lynn Ooi lynnooi@gmail.com wrote:
hi,
I had 2 activity (called androidGallery and HelloAndroid). i try to
call helloAndroid from the androidGallery
* Do this*
* Intent myIntent = new Intent(androidGallery.this, helloAndroid.class);
*
* startActivity(myIntent);*
I may be wrong but I think that your suggestion and the method already being
used are logically equivalent.
If just using startActivity without qualifiers doesn't work:
Force close
3 matches
Mail list logo