title: null pointer in openFileOutput
body: <p>I'm trying to use <code>openFileOutput</code> from a class which is not Activity class. When I'm writing something following, it gives me null pointer exception-    </p>
  
  <pre><code>try {
              Context con = null;
              fosCAM = con.openFileOutput(camFile, Context.MODE_PRIVATE);
          } catch (FileNotFoundException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
          }    
  </code></pre>
  
  <p>Can anyone help me please?</p>