[android-developers] Need some help with MyFirstApp tutorial.

2012-08-16 Thread Dutchie
Hello, I only recently got into developing an app for Android, and I'm following the MyFirstApp tutorial. However im stuck on the adding and intent part... http://developer.android.com/training/basics/firstapp/starting-activity.html My MainActivity looks like this right now: package com.ex

Re: [android-developers] Need some help with MyFirstApp tutorial.

2012-08-24 Thread Justin Anderson
> > Intent intent = new Intent(this, DisplayMessageActivity. > > Well, for one, this isn't valid code... It should be this: Intent intent = new Intent(this, DisplayMessageActivity.class); I have no idea where to put that... It gives me errors, everywhere I tried. > > As you said, and according to

Re: [android-developers] Need some help with MyFirstApp tutorial.

2012-09-12 Thread Dudley Heath
On Saturday, 25 August 2012 08:02:39 UTC+10, MagouyaWare wrote: > > Intent intent = new Intent(this, DisplayMessageActivity. >> >> > > I have no idea where to put that... It gives me errors, everywhere I tried. >> >> As you said, and according to the tutorial, it belongs inside of the > sendMess