title: Android App to Send Images Via Email
body: <p>Ok once again, I am in way over my head here while learning android. After finally developing my simple little app, I am trying to use some of the benefits of having a native app.</p>
  
  <p>So, project one, make a page which can send images via email (either from the gallery or camera)</p>
  
  <p>Essentially its a select and send via email, but I don't even know where to start.</p>
  
  <p>I found some code that somebody else was asking about at;
  <a href="https://stackoverflow.com/questions/8231988/android-app-take-email-photo">Android App Take/ Email Photo</a></p>
  
  <p>I tried this, but get all sorts of errors from eclipse, replating to <strong>downloadedPic</strong> section.</p>
  
  <p>If somebody could please take a look and advise me on the best way to do this, that would be amazing. As usual sorry for my beginers stupidity, but I guess everyone has to learn somewhere</p>
  
  <p><strong>THIS IS MY .JAVA AT PRESENT</strong></p>
  
  <pre><code>public class Photos extends Activity {
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_photos);
      getActionBar().setDisplayHomeAsUpEnabled(true);
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      getMenuInflater().inflate(R.menu.activity_photos, menu);
      return true;
  }
  </code></pre>
  
  <p><strong>THIS IS MY .XML AT PRESENT</strong>
      </p>
  
  <pre><code>&lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Please chose the options below to select and upload photos into the 
      DCC for the selected project..."
      tools:context=".Photos"
      android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>