Android: Load PNG image with Canvas
<p><br>
I'm implementing a graphical signature capture function for my Android app. 
Online I've found a <strong>perfectly working</strong> function and it is already inside my code. The user draws his signature and the image is correctly saved!<br> 
Now I want to add this code: when <code>onCreate</code> function is called, I want to check if a signature image already exists and, if yes, load it. With this implementation, users can check their own signature.<br>
Is that possible?
Suggestions are really appreciated! Thanks in advance! </p>

<p>Here's my code:</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
    this.requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.firma_allievo);
    tempDir =  Environment.getExternalStorageDirectory().toString() + "/temp/"+corsok+"/";
    ContextWrapper cw = new ContextWrapper(getApplicationContext());

    current = tempDir + allievo + ".png"; // THIS IS THE PATH OF THE SIGNATURE IMAGE FILE

    mypath= new File(current);
    mContent = (LinearLayout) findViewById(R.id.linearLayout);

    mSignature = new signature(this, null);
    mSignature.setBackgroundColor(Color.WHITE);
    mContent.addView(mSignature, LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);

    mClear = (Button)findViewById(R.id.clear);
    mGetSign = (Button)findViewById(R.id.getsign);
    mGetSign.setEnabled(true);
    mCancel = (Button)findViewById(R.id.cancel);
    mView = mContent;

    mClear.setOnClickListener(new OnClickListener() {
        public void onClick(View v) {
            mSignature.clear();
        }
    });

    mGetSign.setOnClickListener(new OnClickListener()
    {
        public void onClick(View v)
        {
            boolean error = captureSignature();
            if(!error){
                mView.setDrawingCacheEnabled(true);
                mSignature.save(mView);
                Bundle b = new Bundle();
                b.putString("status", "done");
                Intent intent = new Intent();
                intent.putExtras(b);
                setResult(RESULT_OK,intent);
                finish();
             }
        }
    });
}
</code></pre>