您好,我这边测试是有图形的呢,您那边可以参考如下代码:
Bitmap bgBitmap=Bitmap.createBitmap(2048,1024,Bitmap.Config.ARGB_8888);
m_MapControl.outputMap(bgBitmap);
try {
File file = new File(MyApplication.SDCARD+"SuperMap/test.jpg");
FileOutputStream out = new FileOutputStream(file);
bgBitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
out.flush();
out.close();
} catch (Exception e) {
e.printStackTrace();
}