title: Android programming (how to display a string in a textview)
body: <p>Hi all. I'm working on an app that scans the devices system info and I was wondering if it was possible to add two strings:</p>
  
  <ul>
  <li><code>String manufacturer = Build.MANUFACTURER;</code></li>
  <li><code>String model = Build.MODEL;</code></li>
  </ul>
  
  <p>to my <code>MainActivity</code> and display them on the screen somehow. Here is my <code>MainActivity</code>:</p>
  
  <pre><code>package com.shadycorp.diji.clock
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.support.v4.app.NavUtils;
  
  public class MainActivity extends Activity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          getMenuInflater().inflate(R.menu.activity_main, menu);
          return true;
      }
  }
  </code></pre>