Two quick possible errors here:
1. was CustomerAddEdit added to the manifest as an activity?
2. if createCustomer() is called inside a button click "new
Intent(this, .." might be referencing the button listener. Try "new
Intent(MyForm.this, .." instead.
On Oct 19, 11:26 pm, fahadlala <[EMAIL PROTECTED]> wrote:
> Using Eclipse 3.4 ADT Plugin to Debug;
>
> I have followed the NotePadv2 Tutorial and created 2 activities, the
> First ListActivity works fine and shows No Notes/Customers Yet, but
> when launching Second activity through "Add Notes/Customers" I get
> the following error: "The applciation has stopped unexpectedly.Please
> try again."
>
> This is the Step where this occurs:
>
> private void createCustomer() {
> Intent i = new Intent(this, CustomerAddEdit.class);
> startActivityForResult(i, ACTIVITY_CREATE); // <-- Error after
> this inside threads
> }
>
> The logcat produces no messages.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---