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
>
> 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
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
3 matches
Mail list logo