how to get device information
<p>I am currently working on an app that will tell you your phones system specs and i would like to know how i can show the users current device model number in the corner off the app and i would also like to know how i can display the phone system information in my app so please help.I would like the model number to be displayed in the bottom right corner of my main activity so how can  i add it.</p>

<p>this is the java class i want to add it to.</p>

<pre><code>{
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState); 
        setContentView(R.layout.main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu)
    {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.options_menu, menu);
        return true;
    }

    /**
     * This method will be called any time a user selects one of the options
     * on the menu. For the implementation, whichever button is clicked is
     * mapped onto the relevant activity.
     * @param item MenuItem
     * @return boolean
     */
    @Override
    public boolean onOptionsItemSelected(MenuItem item)
    {
        switch (item.getItemId())
        {
            case R.id.preferences:
                startActivity(new Intent(this, EditPreferences.class));
                return true;
            default:
                return super.onOptionsItemSelected(item);
        }
    }
}
</code></pre>
