mangojack Expert Licensed User Longtime User Mar 22, 2014 #1 I have not been able to locate any discussion / text hinting how do do this . I would like to pass the contents of an ImageView to another Imageview loaded in a second Activity using CallSubDelayed2. Main Activity ... Code: Copy ImageView1.Bitmap = LoadBitmap(File.DirInternal, "smiley.png") CallSubDelayed2(Activity2,"GetImageFromMain",ImageView1.Bitmap) Second Activity ... Code: Copy Sub GetImageFromMain(image As Bitmap) ImageView2.Bitmap = image End Sub I have tried all combinations of referencing bitmaps,backgrounds etc. Thanks
I have not been able to locate any discussion / text hinting how do do this . I would like to pass the contents of an ImageView to another Imageview loaded in a second Activity using CallSubDelayed2. Main Activity ... Code: Copy ImageView1.Bitmap = LoadBitmap(File.DirInternal, "smiley.png") CallSubDelayed2(Activity2,"GetImageFromMain",ImageView1.Bitmap) Second Activity ... Code: Copy Sub GetImageFromMain(image As Bitmap) ImageView2.Bitmap = image End Sub I have tried all combinations of referencing bitmaps,backgrounds etc. Thanks
mangojack Expert Licensed User Longtime User Mar 22, 2014 #2 I have solved the problem by loading the image to a Bitmap first and passing that as the CallSubDelayed2 argument. Code: Copy Dim myBMP As Bitmap myBMP.Initialize(File.DirInternal, "smiley.png") ImageView1.Bitmap = myBMP Upvote 0
I have solved the problem by loading the image to a Bitmap first and passing that as the CallSubDelayed2 argument. Code: Copy Dim myBMP As Bitmap myBMP.Initialize(File.DirInternal, "smiley.png") ImageView1.Bitmap = myBMP
mangojack Expert Licensed User Longtime User Mar 22, 2014 #4 Talk about going round in circles .. lol I'm trying to help him ,who ends up helping me .. one way of spawning ' likes ' Upvote 0
Talk about going round in circles .. lol I'm trying to help him ,who ends up helping me .. one way of spawning ' likes '
DonManfred Expert Licensed User Longtime User Mar 22, 2014 #5 I REALLY WOULD LIKEd to click ten times on the like on your post... ha ha... THAT´s what i love in this community! Upvote 0
I REALLY WOULD LIKEd to click ten times on the like on your post... ha ha... THAT´s what i love in this community!