Is your start activity class called "Forwarding"? If not, you should change the second line to the name of your class. In most cases you can just use "this" (instead of "Forwarding.this").
Does this help? If not, it would be useful if you could post the logcat error message, or more of your code. Peli www.openintents.org On 5 Sep., 04:39, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > Hi, > > Just downloaded the new beta version. I can't launch a new activity > from my start activity. I followed the Forwarding.java example. This > is what I have: > > Intent intent = new Intent(); > intent.setClass(Forwarding.this, ForwardTarget.class); > startActivity(intent); > finish(); > > but my app always crashes on the third line (startActivity()). > > Any idea why this could be? I have it setup just as in the example... > > Thanks, > Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---