안드로이드 개발 질문/답변
(글 수 45,052)
Bitmap mycard = Bitmap.createBitmap(260,140,Bitmap.Config.ARGB_8888);
FileOutputStream fos = null;
try
{
fos = new FileOutputStream( "/mnt/sdcard/img"+System.currentTimeMillis()+".JPEG" );
if ( fos != null )
{
mycard.compress(CompressFormat.JPEG, 100, fos );
fos.close();
}
setWallpaper( mycard );
} catch( Exception e ){ Log.e("testSaveView", "Exception: " + e.toString() );}
제가 캔버스를 이용하여 명함을 만들었는데요
이 명함을 비트맵 이미지로 저장 시키고싶은데
위에 소스처럼 해봤는데 파일은 생기는데
명함 이미지가 안뜨더라고요
방법이없을까요
도와주세염