Hello, I am currently working on an application that downloads an image from the web via qr bar-code scan of a download link. When I run the program no error is given , bu the imageview remains blank . I've tried the flicker example using httputils2 and nothing seems to work. what am I doing wrong? why is the downloaded image not displaying ? I appreciate any help in advance.
Sub myABBarcode_BarcodeFound (barCode As String, formatName As String)
Activity.LoadLayout ("imagedisplay")
Label1.Text = barCode ' establishes text on label#1 as a barcode reading
'mResult = barCode ' establishes mresult as barcode reading
End Sub
This code will not start any activity. It will just load the layout file named imagedisplay.bal.
so would i use an activity initialize statement ? i apologize i am a fairly new to this .the closest example that ive been able to find in to my problem is the httputils 2 flickr example. and i am unable to infer upon a solution from that code.
If you want to start a new activity then you should call StartActivity(<TargetActivity>).
You can download an image to the current activity. If I remember correctly the example included with HttpUtils2 downloads an image and sets it as the activity background.
when I attempt to use the start activity command I receive an error message saying that I am missing a parameter. and when I attempt to set the image message as my background it appears under the previous activities.Is there a way to set the image as my background if my program creates multiple activities stacked 1 upon the other?
....when I attempt to set the image message as my background it appears under the previous activities.Is there a way to set the image as my background if my program creates multiple activities stacked 1 upon the other?