EncodedImage.createEncodedImage = IllegalArgumentException

Hi all, I'm trying to create a bitmap using EncodedImage.createEncodedImage (-);

but it is throwing... illegal argument exception which means that the byte data it takes is of unknown format, but am collecting these data from a file .png, on the SD card in the device.

can someone check this code and tell where mistaken?

public void addImage(String _filePath)    {      ByteArrayInputStream byteInputStream;     InputStream iStream = null;       FileConnection conn = null;       String URI = "file:///"+_filePath;//      byte []byteStream;        // opening connection to the selected location        try       {         add(new LabelField("befor opening conn"));            conn = (FileConnection)Connector.open(URI);           if(conn != null)              add(new LabelField("after opening conn, conn estblshd"));         iStream =  conn.openDataInputStream();//          String str = iStream.toString();//            byteStream = str.getBytes();          int bytesRead=0;          int bytesToRead=1024;         byte[] input = new byte[bytesToRead];

          if( iStream != null)          {             add(new LabelField("before while, and iStream != null"));         while (bytesRead < bytesToRead)            {           int result = iStream.read(input, bytesRead, bytesToRead - bytesRead);             if (result == -1) break;              bytesRead += result;            }         }         if( input != null)            {             add(new LabelField("input != null"));             EncodedImage eiImage = EncodedImage.createEncodedImage(input, 0, input.length); /// error here....                if( eiImage != null)              {                 add(new LabelField("eiImage != null"));                   Bitmap bmp = eiImage.getBitmap();                 BitmapField bmpField = new BitmapField(bmp);                  if( bmpField != null)                     this.add(bmpField);                   else                      this.add(new LabelField("bmp is null"));              }

          }

          updateLayout();       }     catch (IOException e)         {         System.out.println("IOException:"+e.getMessage());            add(new LabelField("IOException:"+e.getMessage()));       }     finally       {         if( conn!= null)              try {                 conn.close();             } catch (IOException e) {                 add(new LabelField("IOException:"+e.getMessage()));                   e.printStackTrace();              }         if(iStream != null)               try {                 iStream.close();              } catch (IOException e) {                 add(new LabelField("IOException:"+e.getMessage()));                   e.printStackTrace();              }     }

I found debugging, that the creation of input streams, but the error is thrown during the creation of the EncodedImage.

Help, please...

Try to replace

bytesToRead = 1024;

with

bytesToRead = conn.fileSize ();

Tags: BlackBerry Developers

Similar Questions

  • How to convert byte [] EncodedImage rgb565 or bitmap data

    Hi all I am playing a video and I want to get snapshot of video as

    Byte [] byteArr = videoControl.getSnapshot ("encoding = rgb565");

    I try to get the Bitmap as

    image = EncodedImage.createEncodedImage (byteArr, 0, byteArr.length);

    image bitmap = image.getBitmap ();

    but she throws an Exception as IllegalArgumentException.

    I get a table of double length than screenWidth * ScreenHeight, perhaps because of the rgb565

    How can I convert a byte [] bitmap.

    I solve the problem to get the bitmap by building as

    image bitmap = new Bitmap (Bitmap.ROWWISE_16BIT_COLOR, Graphics.getScreenWidth (), Graphics.getScreenHeight (), byteArr);

  • IllegalArgumentException encoding bmp image

    Things I have learned:

    -There are over there of the image files in bmp format in which the file size of the header field is zero.  It's legal for bmp whose field type of compression files is also null, that is, uncompressed.

    -If you load a bmp that file into a byte array and feed in the array of bytes to EncodedImage.createEncodedImage (), you get an IllegalArgumentException.

    -If set you the byte array so that the bytes that contain the file size field is estimated to be the actual size of the file, createEncodedImage() accepts the array and creates a good EncodedImage.

    I would like to know things:

    -Is a known bug in BlackBerry land?

    Is there a more elegant than my gross solution solution?

    Mark,

    I have been using an 8700 4.5.1.124, 2.7.0.92 running platform.

    I also run it on an 8830 running 4.2.2.176, platform 3.0.0.79.

    I tried earlier to run on a 8530 Simulator claiming his execution 5.0.0.337 and hey, lookit that, she doesn't get any exception.

    That's what I get for running the old stuff, eh?

    Well, DIY go that is not so painful, so maybe I'll just have to leave it as what.

    Thanks and sorry about that.

    "Too bad!"

    -Emily Litella

  • Merge two EncodedImages next to each other

    Hello

    I've been looking around on the forum and I wonder if you can have two EncodedImages, apply the GetData method at a time and combine it with an EncodedImage without using any Bitmap. I've seen different messages, but it is inclear for me.

            byte[] array2 = image1.getData(); 
    
            byte[] array1 = image2.getData();
            byte[] combined = new byte[array1.length + array2.length];
            for (int i = 0; i < combined.length; ++i)
            {
                combined[i] = i < array1.length ? array1[i] : array2[i - array1.length];
    
            }
            map = EncodedImage.createEncodedImage(combined, 0, combined.length);
    

    Do you need a complete resolution of this image? If you merge only to display resize your image source. If you need full resolution image that you will have to work on smaller pieces of the image source (scratches) and encode them on your own.

  • Photo of BlackBerryContact at EncodedImage

    Hi, I want to get a byte [] photo EncodedImage in the BlackBerryContact, how can I do this?

    When I try to do, an illegal argumet exception is thrown by the createEncodedImage (byte [] b, int offset, int length);

    I call it like that

    byte[] binary = contact.getBinary(BlackBerryContact.PHOTO, BlackBerryContact.ATTR_NONE);
    
    EncodedImage imagen=EncodedImage.createEncodedImage(binary,0,binary.length);
    

    Thank you

    This is due to a problem with the BlackBerry device software.  It was resolved in the version of terminal software BlackBerry 4.5.0.28 and higher.

  • EncodedImage does not work

    I'm trying to load the image of the envoirnment multithreading server:. I have 200. ResponseCode and receive the byte array. No.:

    but my I am unable to create EncodedImage

    HttpConnection httpConnection = null;

    InputStream httpInput = null;
    int responseCode;

    try {}

    httpConnection = ConnectionFactory () .getConnection (url) (new) (HttpConnection) .getConnection;
    httpConnection.setRequestProperty ("User-Agent", "' Profile / MIDP - 1.0 Configuration/CLDC - 1.0" ");
    httpConnection.setRequestMethod (HttpConnection.GET);
    responseCode = httpConnection.getResponseCode ();
    If (responseCode! = HttpConnection.HTTP_OK) {}
    throw new IOException ("HTTP response code:" + responseCode);
    }
    httpInput = httpConnection.openInputStream ();

    Byte [] b = IOUtilities.streamToBytes (httpInput);

    problem is here this line does not run
                        EncodedImage bitmap = EncodedImage.createEncodedImage (b, 0, b.length, "image/png");
    {if(bitmap!=)}
    int dw = Fixed32.toFP (Display.getWidth ());
    int iw = Fixed32.toFP (bitmap.getWidth ());
    int sf = Fixed32.div (iw, dw);
    final EncodedImage bitmap.scaleImage32 (sf * sf 4 * 4) = bitmap2;

    storeCacheData (url, bitmap2);
    UiApplication.getUiApplication () .invokeLater (new Runnable() {}

    public void run() {}
    if(bitmap2!=null)
    Load.Download (bitmap2);
    }

    });
    }

    } catch (Exception e) {}
    allow the thread exits
    e.printStackTrace ();
    }

    } catch (Exception e) {}
    e.printStackTrace ();
    } //end wrestling
    }

    }

    When you debug this, I presume that that line is executed

    EncodedImage = bitmap

    but the following lines are not.  It's definitely because it threw an exception.  Unfortunately your captures, which to do this:

    } catch (Exception e) {}
    allow the thread exits
    e.printStackTrace ();
    }

    will not show anything because the only way out a printStackTrace in BlackBerry is to catch a Throwable, for example:

    } catch (Throwable t) {}
    allow the thread exits
    t.printStackTrace ();
    }

    I put better connect your exception catch (everywhere, not just here) and make sure that you see something.

    So the question is why this conversion is throw an exception.  If you print the exception detail message, then this will probably help you understand this.

    Probably that's because the data that you receive are not what you expect.  The best thing to do is to compare the contents of bytes you received and what you expect to get at the byte level.  Make sure that it is actually a png file.

  • PNG error in createEncodedImage

    Hey. In the code below, I try to read a PNG file system and put it in an EncodedImage to stagger on 4.6 phones. The 2nd last line of code produces the error/stacktrace illustrated in the screenshot. Advice on what Miss me?  TKS, J.

    
        private static Bitmap LoadBitmap(String uri) {
    
            InputStream in = null;
            FileConnection filecon = null;
            String exceptionText = null;
            byte[] bitmapBytes = new byte[1000000];
            boolean fileExists = false;
            int numBytes = 0;
            int newNumBytes = 0;
    
            try {
                filecon = (FileConnection) Connector.open(uri, Connector.READ);
    
                if (filecon.exists()) {
    
                    in = filecon.openInputStream();
    
                    bitmapBytes = IOUtilities.streamToBytes(in);
                    in.close();        
    
                    if (bitmapBytes != null) {
                        if (bitmapBytes.length > 0)
                            fileExists = true;
                    }
    
                }
            }
            catch (Exception e) {
                        String logMessage = e.getMessage();
                        if ( EventLogger.logEvent( 0x4c9d3452d87922f2L, logMessage.getBytes(), EventLogger.ALWAYS_LOG ) ) {
                            System.out.println("Log Successful!");
                        }
            }
    
            Bitmap bm = null;
    
            if (fileExists) {
    
                String imageExtension = uri.substring(uri.length() - 4); // e.g. .png or .jpg or .gif
    
                if (imageExtension.equals(".png")) {
    
                    //bm = Bitmap.createBitmapFromPNG(bitmapBytes, 0, -1);
                    EncodedImage image = EncodedImage.createEncodedImage(bitmapBytes, 0, numBytes, "image/png");
                    bm = image.getBitmap();
    

    I do not see where you define numBytes one value other than zero.

  • IllegalArgumentException loading Server Image

    I'm pretty much have the same problem with the user in this THIS thread. The only difference is that my file is not on the SD card, rather I put through the HttpConnection. Fix the other user was using () (FileConnection) conn.fileSize;

    How can I get the file size of the file on the server, so I can put the byte [] to be big enough? I have several pictures of different size on the server, and the smaller work very well. This is why I'm sure it's the same problem. Any help would be appreciated. Thank you.

    Here is my code:

    public static EncodedImage getImage(final String url){
            try {
                HttpConnection conn = (HttpConnection) Connector.open(url);
                conn.setRequestMethod(HttpConnection.GET);
                InputStream fileIn = conn.openInputStream();
                byte[] b = IOUtilities.streamToBytes(fileIn);
    
                return EncodedImage.createEncodedImage(b, 0, b.length);
            } catch (IOException e) {
                // TODO Auto-generated catch block
                return null;
            }
        }
    

    Or is there a better way to downoading an image from a server? All these files are .jpg, if it's important.

    By the way: there is a draft of the article in the knowledge base entitled

    Resizing of transparent bitmaps

    If you can't get there by following the link above, click on 'Board options' at the top of the opinion of the House, next to the "New Message" button - the first point it is "Knowledge Base dashboard. Select it, and then switch to the 'Projects' tab and click on the title of the article. Even if she is still awaiting publication, it's a complete and mature code. Do not reinvent the wheel!

    Given that this article began as a post here, you can also just search for it in this forum.

    End side

    To implement what I said, look for the following two design patterns (google them and seek specific Java implementations - there must be some):

    (1) producer-consumer model

    (2) model Subscribe-publish (also known as the "Observer")

    You use the entries first for the download thread of media as the consumer (of media download) and your screen as the producer of such entries.

    In the second, your screen ('producer' in the previous sentence) subscribes to events published by the media ("consumer") - download thread these events can include download finished (yay!), failed to download, download progress (not necessary for you at the present time, but it could be useful in the future), etc..

    TimerTask - the Javadoc for that is really sufficient to get you started. Make sure you have BlackBerry API reference open in a tab in your browser at any time - you will need it often.

  • I got an error when converting a bitmap to JPEG

    Hi frends,

    in my third-party application.

    I'm downloading the image to the jpeg format.

    Here I'm getting an exception, why I got this error

    JPEGEncodedImage image = (JPEGEncodedImage) EncodedImage.createEncodedImage(data,0,data.length);

    IllegalArgumentException.

    There's this way to get the jpeg image.

    Please help me.

    Thank you.

    Thank you for reading

    albert_anks

    but this method is not available in version 4.2.

    I found the solution for this

    See this post

    http://supportforums.BlackBerry.com/T5/Java-development/JPEG-encoder-source-code-here/m-p/1022337

  • Eception exception: means!

    We are working on an application, it's only 80K in size and he will call to the server to ask for a return of the xml files and put in nodelist and then transfer to the table.  and then it's on the screen with the values.

    BUT, the app is not yet able to load and the Dungeon of device of loading for 5 minutes, then it pops up saying error message: ' Eception exception: means.

    Help, please

    Finally, I found the solution.

    The problem is the temporary memory used cause.

    In my code, there is a temporary table to transport the Bitmap when it is load in. I put the memory to 1 MB and I do not have gc it once it is loaded. So it is out of memory after it load about 10 images.

    This is the code I used. I hope that this example can help others next time.

    public class LoadPic {}
    InputStream private entry;
    public EncodedImage result;
    public LoadPic (String ipic) {}
    previously, I use 1024 * 1024 (1 MB) in this temporary space.
    data from Byte [] = new ubyte [1024 * 80]; now, I use only 80KB.
    Image EncodedImage = null;
    try {}
    entry = Class.forName (this.) GetClass) .getResourceAsStream (ipic);
    } catch (ClassNotFoundException e) {}
    System.out.println ("class not found");
    }
    if(Input == null) {}
    System.out.println ("error: input stream is not initialized.");
    } ElseIf (entry! = null) {}
    System.out.println ("OK: input stream is initialized.");
    try {}
    code int = input.read (data);
    System.out.println ("number of bytes read into buffer Total:" + code + ".");
    } catch (IOException e) {}
    Handle the exception.
    }
    try {}
    image = EncodedImage.createEncodedImage (data, 0, data.length);
    I type these two code for cause of memory.
    data = null;
    System.GC();
    } catch (IllegalArgumentException iae) {}
    System.out.println ("unrecognized Image format.");
    }
                       
    }
    result = image;
               
    }
    }

  • Problem with PersistentObject.

    Hi all

    I am new to the BB and bad English (I'm Thai), sorry if you confuse in my words. I have a project that has thead to download the server image and record in PersistentObject using my CustomHashTable. The problem is that I have an error message "NonPersistableObjectException", which is based on the method "persistentObject.commit ();" in "getEncodedImage()" when I debug, here is my code.

    public class TestApp extends UiApplication{
    
        public static void main(String[] args) {      UiApplication app = new TestApp();        app.enterEventDispatcher();   }
    
      TestApp(){        pushScreen(new TestScreen()); }}
    
    public class TestScreen extends MainScreen{
    
       EncodedImage encodedImage;    CustomHashTable persistentHashtable;  private DataInputStream dis;  private byte[] encodeData;    private ByteArrayOutputStream byteStream; PersistentObject persistentObject = PersistentStore.getPersistentObject(0x61a0ab9f850b5c9bL);
    
      TestScreen(){     super();      if (persistentObject.getContents() == null) {         persistentHashtable = new CustomHashTable();          persistentObject.setContents(persistentHashtable);            persistentObject.commit();        }else {           persistentHashtable = (CustomHashTable)persistentObject.getContents();        }     encodedImage = getEncodedImage("http://download.magikmobile.mobi/scodp/mpreview.do?idc=683979&size=140x90&","4952","hot");       encodedImage = scaleImage(encodedImage);
    
          this.setTitle("Test my app");     this.add(new BitmapField(encodedImage.getBitmap()));  }
    
      public EncodedImage scaleImage(EncodedImage image) {      int displayWidth = Fixed32.toFP(Display.getWidth());      int imageWidth = Fixed32.toFP(image.getWidth());      int scalingFactor = Fixed32.div(imageWidth, displayWidth);        EncodedImage scaledImage = image.scaleImage32(scalingFactor, scalingFactor);      return scaledImage;   }
    
      public EncodedImage getEncodedImage(String url, String id, String catagory) {
    
           EncodedImage enc = null;      if (persistentHashtable.containsKey("EncodeImage01")) {           enc = (EncodedImage)persistentHashtable.get("EncodeImage01");     }
    
            if (enc != null) {          System.out.println(">>>>>  image not null");            return enc;        } else {            System.out.println(">>>>>  image null");            try {                String newURL = null;                while (url.indexOf("&") > 0) {                    newURL = url.substring(0, url.indexOf("amp;"));                    url = url.substring(url.indexOf("amp;") + 4);                    url = newURL + url;                }
    
                    newURL = null;                String suffix = "";                HttpConnection httpConnection = (HttpConnection) Connector.open(url+suffix);                httpConnection.setRequestMethod(HttpConnection.GET);                if (httpConnection.getResponseCode() == 302) {                   boolean b = true;                    while (b) {                        if (httpConnection.getResponseCode() == 200) {                            b = false;                            break;                        }                        httpConnection = (HttpConnection) Connector.open(httpConnection.getHeaderField("Location"));                    }                }                dis = httpConnection.openDataInputStream();                int length = (int) httpConnection.getLength();                if (length > 0) {                    encodeData = new byte[length];                    dis.readFully(encodeData);                } else {                    byteStream = new ByteArrayOutputStream();                    int ch;                    while ((ch = dis.read()) != -1) {                        byteStream.write(ch);                    }                    encodeData = byteStream.toByteArray();                    byteStream.close();                    byteStream = null;                }                dis.close();                dis = null;                httpConnection.close();                httpConnection = null;                try {                    enc = EncodedImage.createEncodedImage(encodeData, 0, encodeData.length);                } catch (OutOfMemoryError e) {                  System.out.println(">>>>  OutOfMemoryError");                    e.printStackTrace();                    return null;                } catch (NullPointerException e) {                 System.out.println(">>>>  NullPointerException");                    e.printStackTrace();                    return null;                } catch (IllegalArgumentException e) {                 System.out.println(">>>>>  IllegalArgumentException");                    e.printStackTrace();                    return null;                } catch (ArithmeticException e) {                  System.out.println(">>>>  ArithmeticException");                    e.printStackTrace();                    return null;                }                encodeData = null;                persistentHashtable.put("EncodeImage01", enc);                persistentObject.commit();                catagory = null;                id = null;                url = null;                return enc;            } catch (SecurityException ex) {                ex.printStackTrace();                return null;            } catch (IOException ex) {                ex.printStackTrace();                return null;            }        }    }
    
    }
    
    public class CustomHashTable extends Hashtable implements Persistable{
    
    }
    

    What should I do?

    Thank you very much

    ~ MazMellow ~.

    I see no problem here, hashtable will have any object as second parameter to the function, so you can put hashtable in storage of place (it is supported and commonly used):

    Hash hash = new Hashtable();

    data Byte [] = image.getData ();

    Hash.put ("first", data);

    ....

    ...

    ...

    ....

    data Byte [] (byte []) = hash.get ("first");

    image = EncodedImage.createEncodedImage (data,...);

  • Read and display picture of a contact in the address book

    I want to display the photo of a contact. I put a photo sample on the Simulator.

    Byte [] b = blackberryContact.getBinary (BlackBerryContact.PHOTO, 0);
    System.out.println ("b length:" + b.length);
    EncodedImage e = EncodedImage.createEncodedImage (b, 0, b.length);
    BitmapField bf = new BitmapField();
    bf.setImage (e);

    I get the result
    b length: 3556
    followed by an IllegalArgumentException, according to API: If the image format is not recognized, an IllegalArgumentException is thrown.

    How can I get the byte [] of the BlackBerryContact in the right format to be used with createEncodedImage?

    The photo is stored in base64 format, your code does not handle.  Take a look at the JavaDocs for the javax.microedition.pim.Contact class for an example.  Sorry for the capture of is not just the first time.

    It should also work on previous versions.  The question, I thought that related to applies only when you save a contact.

  • first application

    I'm working on my first app, and I'm doing a button that pulls a .jpg from the internet and displays file in my application, then if I hit the new button shoots an another .jpg to replace the one currently being displayed.

    I don't want to launch the browser, I want to just download and display the image

    If you want to download an image, you can use this:

    (I do not write this code, I found it in this forum but works!)

    public Bitmap Download Image(){
     InputStream inputStream = null;
     HttpConnection connection = null;
     EncodedImage bitmap;
     Bitmap _bmap;
     byte[] dataArray = null;
     String url = "";
    
    try {
    
     url="www.myserver/myimage.jpg"
    connection = (HttpConnection) Connector.open(url,Connector.READ_WRITE, true);
    inputStream = connection.openInputStream();
    byte[] responseData = new byte[10000];
    int length = 0;
    StringBuffer rawResponse = new StringBuffer();
    while (-1 != (length = inputStream.read(responseData))) {
        rawResponse.append(new String(responseData, 0, length));
                    }
    int responseCode = connection.getResponseCode();
    if (responseCode != HttpConnection.HTTP_OK) {
                        throw new Exception("HTTP response code: " + responseCode);
                    }
    
    final String result = rawResponse.toString();
    dataArray = result.getBytes();
        }
        catch (final Exception ex) {
                }
        finally {
    
            try {
            inputStream.close();
            inputStream = null;
            connection.close();
    
                    } catch (Exception e) {
                    }
                }
    
    bitmap = EncodedImage.createEncodedImage(dataArray, 0,  dataArray.length);
    Bitmap imageDownloaded=bitmap.getBitmap();
    return imageDownloaded;
    
        }
    

    That, you get the bitmap, then you can put him in the place you need.

    PS: Sorry for my English.

  • How to analyze the image url in json?

    Hello

    I get the response from the server and crawled through json. And display it in the field

    Like name1 as:

    try {}
    labelField1.setText (jsonObject2.get("name1").toString ());
    }

    catch (JSONException e)

    {
    System.out.println ("JSONException Description");
    }

    Similarly, I want to make the image. How to analyze the url of the image and display it in the BitmapField?

    You must create a separate thread to extract the bytes of the image of the URL you have.

    You can use the following code to get the image to the server.

    public EncodedImage getImageBytesFromURL(String url){
            ConnectionFactory connFactory = null;
            ConnectionDescriptor connDescriptor = null;
            HttpConnection httpConn = null;
            InputStream inputStream = null;
            byte[] response = null;
            try {
                connFactory = new ConnectionFactory();
                connFactory.setConnectionTimeout(10*1000);
                connFactory.setAttemptsLimit(1);
                connDescriptor = connFactory.getConnection(url;interface=wifi);
                if (connDescriptor != null) {
                    httpConn = (HttpConnection) connDescriptor.getConnection();
                    inputStream = httpConn.openInputStream();
                    int responseCode = httpConn.getResponseCode();
                    if(responseCode == HttpConnection.HTTP_OK){
                        response = readStream(inputStream);
                    }
                }
            }catch (IOException e) {
    
            }finally {
                try {
                    inputStream.close();
                    httpConn.close();
                    inputStream = null;
                    httpConn = null;
                    connDescriptor = null;
                    connFactory = null;
                } catch (Exception e) {
    
                }
            }
            EncodedImage encodedImage = null;
            if(response != null){
                encodedImage = EncodedImage.createEncodedImage(response, 0, response.length);
            }
            return encodedImage;
        }
    

    Remember that this method should be in a background thread. Otherwise, your user interface crashes. The encodedImage that returns the method above can be easily converted to bitmap and set in your bitmapfield.

  • image zoom

    Hello

    In my application, I want to implement ZoomIn, ZoomOut image.but image is zoomin' more than the size of the screen, then I want to move the image.but I can move the image vertically but not horizontally.my problem, I had vertical scrolling.but I have not not Mindprint a horizontal scrolling. I've written below the image display code.

    EncodedImage image = EncodedImage.createEncodedImage (data, 0,
    Data.Length);

    int divisor = Fixed32.toFP (100);

    multiplier int = Fixed32.toFP (i);    I appreciate this is changed to zoom in and zoonout accoring

    int fixedX = Fixed32.toFP (1);
       
    fixedX = Fixed32.div (fixedX, divisor);
          
    fixedX = Fixed32.mul (fixedX, multiplier);

    int fixedY = Fixed32.toFP (1);
    fixedY = Fixed32.div (fixedY, divisor);
    fixedY = Fixed32.mul (fixedY, multiplier);

    image = image.scaleImage32 (fixedX, fixedY);

    BitmapField bitmapField = new BitmapField() {}
    protected boolean trackwheelClick (int status, int time) {}
    zoomIn();
    Returns true;
    }
    };
    bitmapField.setImage (image);
    Return bitmapField;

    I appreciate is changed accoring to zoom in and zoom out is pressed. Is there a solution to move the donkey left right (horizontal) posiotiions of the image.

    I suspect that this will help you:

    -Creates a scrolling image field
    Article number: DB-00681
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

Maybe you are looking for