hw to resolve vm budget error out of memory in android application.my code is
v=(Myview2)findViewById(R.id.viewtest);
// rl=(RelativeLayout)findViewById(R.id.upper);
l=(TransparentPanel)findViewById(R.id.transparent_panel);
rl2=(RelativeLayout)findViewById(R.id.editlayout);
rl2.setVisibility(View.GONE);
et1=(EditText)findViewById(R.id.EditText01);
sv=(ScrollView)findViewById(R.id.scroller);
// l.setVisibility(View.GONE);
v.setBackgroundResource(R.drawable.white_container_bl);
v.mBitmap=Bitmap.createBitmap(320, 480,Bitmap.Config.ARGB_8888);
v.entry = BitmapFactory.decodeFile(b1.getString("filename"),bfo);
imageheight=v.entry.getHeight();
imagewidth=v.entry.getWidth();
v.mBitmap= v.entry.copy(Bitmap.Config.ARGB_8888, true);
v.mCanvas= new Canvas(v.mBitmap);
v=(Myview2)findViewById(R.id.viewtest);
// rl=(RelativeLayout)findViewById(R.id.upper);
l=(TransparentPanel)findViewById(R.id.transparent_panel);
rl2=(RelativeLayout)findViewById(R.id.editlayout);
rl2.setVisibility(View.GONE);
et1=(EditText)findViewById(R.id.EditText01);
sv=(ScrollView)findViewById(R.id.scroller);
// l.setVisibility(View.GONE);
v.setBackgroundResource(R.drawable.white_container_bl);
v.mBitmap=Bitmap.createBitmap(320, 480,Bitmap.Config.ARGB_8888);
v.entry = BitmapFactory.decodeFile(b1.getString("filename"),bfo);
imageheight=v.entry.getHeight();
imagewidth=v.entry.getWidth();
v.mBitmap= v.entry.copy(Bitmap.Config.ARGB_8888, true);
v.mCanvas= new Canvas(v.mBitmap);