I have a photo set as my phone background but unfortunately the original photo is corrupt. I used the LiveWallpaper library to retrieve and show it in an imageview using the following code:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim lp As LiveWallpaper
Dim ImageView1 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
Dim dr As BitmapDrawable
dr=lp.Drawable
ImageView1.Background=dr
End Sub
Is there a way to now save this as a JPG onto my SDCard, or alternatively does anyone know how I can get a copy of the stored background by another method? Many thanks.

Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim lp As LiveWallpaper
Dim ImageView1 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
Dim dr As BitmapDrawable
dr=lp.Drawable
ImageView1.Background=dr
End Sub
Is there a way to now save this as a JPG onto my SDCard, or alternatively does anyone know how I can get a copy of the stored background by another method? Many thanks.