I took a look at the code for the Notepad Tutorial and the
instructions and followed what it said regarding creating a new
Activity:

http://developer.android.com/resources/tutorials/notepad/index.html
http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html
Step 8

I'm still getting the same error and I did modify my
AndroidManifest.xml as described in Step 11:

"If you prefer to edit this file directly, simply open the
AndroidManifest.xml file and look at the source (use the
AndroidManifest.xml tab in the eclipse editor to see the source code
directly). Then edit the file as follows:
<activity android:name=".NoteEdit"></activity>"

But it makes no difference.  I'm still getting the same error.

Hmmmmm....???


On Mar 7, 6:01 pm, Mitch <[email protected]> wrote:
> I'm trying start a new Activity from my current one.  Every place I
> look for example code is different, but the result is the same.  The
> code brings up the following dialog:
>
> =====
> Sorry!
>
> The application MyApp (process com.example.mypackage) has stopped
> unexpectedly.  Please try again.
>
> [Force close]
> =====
>
> Here's one of the things I tried (among dozens) which causes this:
>
> Intent myIntent = new Intent(this, NextActivity.class);
> startActivity(myIntent);
>
> Does anyone have a link to simple example that starts up a new
> activity that is complete and works?
>
> Thanks
>
> Mitch

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to