Search Results

Search found 1 results on 1 pages for 'user1680411'.

Page 1/1 | 1 

  • Can't add email signature in Android

    - by user1680411
    I'm trying to compose and send an email which will include a signature at the bottom of my email content in android. I'm able to send an email but I'm not getting the way that allows me to add my own signature. Do you have any suggestion? here's my code: public void addListener() { final Button button = (Button) findViewById(R.id.button1); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { findViewById = (TextView) findViewById(R.id.t1); Intent i = new Intent(Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(Intent.EXTRA_EMAIL, new String[] { "[email protected]"}); /*i.putExtra(Intent.EXTRA_CC, new String[] { "[email protected]" });*/ i.putExtra(Intent.EXTRA_SUBJECT, "Android Test"); i.putExtra(Intent.EXTRA_TEXT, "Body"); //i.putExtra(Intent.EXTRA_TEXT, "signature"); try { startActivity(Intent.createChooser(i, "Choose mail app...")); } catch (android.content.ActivityNotFoundException ex) { } } }); }

    Read the article

1