Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your crash.

On Tue, Nov 29, 2011 at 2:52 AM, abhijit chakra <[email protected]> wrote:
>  here is my code
> import android.app.Activity;
> import android.content.Intent;
> import android.os.Bundle;
>
> public class Practice extends Activity {
>        String
> recipientArray[]={"[email protected]","[email protected]"};
>    /** Called when the activity is first created. */
>    @Override
>    public void onCreate(Bundle savedInstanceState) {
>        super.onCreate(savedInstanceState);
>        setContentView(R.layout.main);
>       /* Intent intent = new Intent(this, Pracice2.class);
>        startActivity(intent);*/
>        Intent intent = new Intent(Intent.ACTION_SEND);
>        intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);
>        startActivity(intent);
>    }
> }
> When i am trying to run it it is showing that Application Stopped
> Unexpectedly please help.
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
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

Reply via email to