Hi,
I use a ContentChooser to load image into my program.
if Success is OK I use the following code:
Dim BmpInputStream As InputStream
BmpInputStream = File.OpenInput(Dir,FileName)
Dim BmpImg As Bitmap
BmpImg.Initialize2 (BmpInputStream)
BmpInputStream.Close
When the file have less than 1 000 000 bytes everthing is ok but with more byte I got the error message :
java.lang.NullPointerException on the line BmpInputStream.Close.
Is it an other way to load large image from the image library?
Luc
I use a ContentChooser to load image into my program.
if Success is OK I use the following code:
Dim BmpInputStream As InputStream
BmpInputStream = File.OpenInput(Dir,FileName)
Dim BmpImg As Bitmap
BmpImg.Initialize2 (BmpInputStream)
BmpInputStream.Close
When the file have less than 1 000 000 bytes everthing is ok but with more byte I got the error message :
java.lang.NullPointerException on the line BmpInputStream.Close.
Is it an other way to load large image from the image library?
Luc