hi to all
i want upload selected img to server but i cant.
selected cod is :
Sub PicChooser_Result(Success As Boolean, Dir As String, FileName As String)
If Success = True Then
Dim inp As InputStream
inp = File.OpenInput(Dir, FileName)
Dim btm As Bitmap
btm.Initialize2(inp)
Log(inp)
ImageView1.SetBackgroundImage(btm)
Else
ToastMessageShow("انجام نشد، دوباره تلاش کنید", True)
End If
hi erel tanks for answer. how implement it?
I am making an Android application and in a part of this application I need the user to upload a photo. I code with B4A. Thank you for guiding me further.