Canvas or Form for displaying images

Hi all,
I am experiencing an annoying problem.
I am developing an image viewer in J2ME/MIDP. I displayed all images in thumbnails. I don�t know how to list them. In canvas � I�ve problem with scrolling, if I use Form, I don�t know how to put more than one image per row. Maybe I have to use CustomItem in Form?
Thanks for your replies.

What you can try is:
1. Insert default .jpg picture into your report
2. Right-click the image and select Format Graphic> select Pictures tab> Graphic Location formula
3. Insert your formula, but make sure that result of your formula is a string - full pass to .jpg file
I have tested it right now and it works for my CRXIr2.

Similar Messages

  • How do i create a multirecord Form for Display only.

    Hi,
    I am trying to create a multirecord form for display only.
    The form is based on one table only so when i try to create
    it using based on a Table or view i get the option of Tabular or
    custom.
    So if someone has faced or worked on a similar problem of creating
    multirecord form pls do reply.
    Thanks,
    Amit.

    Hi
    You can check this one. The previous link in turn points to this.
    Re: .NET application works OK on infrastructure, but has problems on midtie
    Thanks,
    Sharmila

  • How to set canvas extension color for arbitrary image rotation?

    I'm using Photoshop CS4 v 11.0 with Windows XP.  When adjusting canvas size there's a menu for chosing the canvas extension color.  Where is the menu for chosing canvas extension color for arbitrary image rotation?
    Thanks.

    This will be the background colour selected in your toolbox.

  • Can I set up a pro forma for multiple images

    Hi all
    Well I am a newbie to Keynote and I am really enjoying using it.
    I am trying to set up a pro forma for class photos at a school, the photos have been handed to me by the teachers but are all slightly different sizes.
    My question is can I set up some sort of master document where I can place the photos (head shots) of the students with their names under them ready for a keynote display and have the photos all the same size without editing them separately.
    I need to be able to remove photos occasionally too (ie if they are absent etc) so would need it to be a 'changeable' master rather than a screen shot.  The amount of students in each class varies from 15 to 29 so I would need to accommodate the 29 with names under them and a heading somewhere on the page.
    Is it doable?  Do I do it straight into the keynote or onto a pages document first?
    Thanks in advance for any help advice you can give.
    Regards
    Alitheste

    The Mac OS X Mail application has a "Junk" function that works locally, on the Mac, and just puts emails from previously designated "junk" addresses into a separete folder, so you don't have to wade thru all that spam in your Inbox. It's a very elegant and simple, local solution, that I dearly miss on iOS.
    I did submit a request for it at Apple Feedback page.
    http://www.apple.com/feedback/

  • Alternative method for displaying images blobs stored in DB

    I am trying to use an Application Process as a means to displaying images stored in BLOB columns in my table. And it works except for one problem. The code for my on-demand Application Process is below (the name of the application process is OUTPUT_IMAGE):
    DECLARE
    l_mime VARCHAR2(255);
    l_length NUMBER;
    l_file_name VARCHAR2(2000);
    lob_loc BLOB;
    BEGIN
    SELECT photo_mime_type,
    photo_blob,
    photo_filename,
    dbms_lob.getlength(photo_blob)
    INTO l_mime,
    lob_loc,
    l_file_name,
    l_length
    FROM persons
    WHERE id = <b>260</b>;
    owa_util.mime_header(nvl(l_mime,'application/octet'), FALSE);
    htp.p('Content-length: ' || l_length);
    htp.p('Content-Disposition: filename="' || l_file_name || '"');
    owa_util.http_header_close;
    wpg_docload.download_file(lob_loc);
    END;
    I can then create HTML like:
    &lt;img src="f?p=[my_app_id]:0:[the_session_id]:APPLICATION_PROCESS=OUTPUT_IMAGE"&gt;
    Which works nicely.
    The question/problem is: How can I pass the ID of the record (whose BLOB I want to display) to the Application Process? (In the code above you'll see the value of <b>260</b> is currently hard coded). I thought about tacking on something like "&my_id=xxx' to the end of the URL but doing so prevents the Application Process from even running.<BR/><BR/>
    All comments/suggestions much appreciated,<BR/><BR/>
    Thanks,
    <BR/>
    Andy

    Andrew,
    The URL for an Application Process uses the standard f?p syntax.
    Try passing your value like this:
    < img src="f?p=[my_app_id]:0:[the_session_id]:APPLICATION_PROCESS=OUTPUT_IMAGE:NO::MY_ID:[the value to send]"> You would need to have an item called MY_ID.
    Your query could then refer to it as
    WHERE id = :MY_ID;
    Doug

  • Af:commandImageLink not processing the aboulite path for displaying image

    All,
    We are required to display an image in the UI. The image is not stored in the deployed ear file. It is stored in the "*<DOMAIN_HOME>\Inventory\images*".
    Where DOMAIN_HOME=D:\JUPITER_CORONA\system11.1.1.3.37.56.60\DefaultDomain\inventory
    I would process an image absolute path in the af:commandImageLink tag as follows,
    *<af:commandImageLink "icon=file://D:/JUPITER_CORONA/system11.1.1.3.37.56.60/DefaultDomain/inventory/images/equipment.png" text"equipment" shotdesc="icon" />*
    The problem is that the above tag is not processing the above mentioned absolute path and displaying text "icon" instead of actual icon image. As per the ADF documentation the tag processes absolute path as well.
    Can someone suggest as to where I am going missing.
    regards,
    Chandra

    I was not able to get what you want very well, the situation is a little bit un-usual,
    but for solution I suggest the below way.
    write a servlet/JSP that return the image (it is like copying the file, read the image from absolute path and send it to the OUTPUTSTREAM of the response aslo remember the MIME and the write filter for the jsp/servlet that end with .jpg or any extension for the image.)
    then in the jsf page write the below code.
    <af:commandImageLink icon="/jspOrservlerpath/servlet/filename.jpg" text"equipment" shotdesc="icon" />
    your servlet (get the filename.jpg and then find the file and return it)
    this solution is very common for cases that the file is not available physically such as when you want to read it from another place(your case) or database.
    I hope this help you.
    I can send you the source for the servlet/jsp if you want.

  • How can I restore the background color Firefox 13 used for displaying images?

    I preferred the darker background color introduced in Firefox 13 for when images were displayed standalone, as opposed to the glaring white. How can I restore that behavior?

    That should still happen.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can also check for a userChrome.css file with code to change the background color.
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • Problem for displaying image in jsp

    I like to retrieve and display image from database in jsp file. Now, image has been retrieved and store in session. But it cannot be displayed in jsp. Who can help me? Thanks a lot!
    Codes like below:
    <%
    byte[] b = (byte[])session.getAttribute("sessionName");
    System.out.println(b.length); //the length can be printed at console successfully
    if(b != null) {
    response.setContentType("image/*");
    OutputStream toClient=response.getOutputStream();
    toClient.write(b);
    toClient.flush();
    toClient.close();
    %>

    JSP is designed to return text/html documents.
    As such it automatically calls getWriter() to return a character stream. (places it in the implicit variable "out"
    Seeing as you want to return bytes, instead of character data, the JSP technology is not applicable
    Calling getOutputStream after getWriter has been called results in an IllegalStateException
    So calling getOutputStream in a JSP will ALWAYS throw an exception.
    Cheers,
    evnafets

  • Urgent ! Code for Displaying Image from Oracle BLOB image on VB Form

    Hi Plz any one have any work to showing a Picuture on Visual Basic Form, i Save the Picure in table and its column type is BLOB where i save picture, now i want to show it on VB form. if anybody knows plz tell me. and if image not found then how can i handle in nvl(field,' ') function.

    Refer VB sample on Passing LOB parameters to a stored procedure. It shows how to display and insert the image from VB form to an Oracle Database in a BLOB column.
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
    Chandar

  • How to use boimage url for displaying images

    I am trying to test the Image URL feature in a Web Intelligence report.
    I have a few images loaded in the images folder on the installation server.
    I made the text of a cell: boimage://auditingBOBJLogo.png
    No images are showing up. When I am in view mode a box with an x shows.
    I am using the Web Client to edit the report and view it in InfoView.
    Any tips or best practices for getting this to work would be appreciated.
    Thanks

    Hi,
    Make sure that you have placed the image files in correct folder.
    And the cell formula is boimg://auditingBOBJLogo.png and not boimage://auditingBOBJLogo.png.
    Remember to set the display property of the cell to Image URL.
    Regards

  • Using JSP, HTML Form for uploading image  in order to be saved into a db

    I have a HTML form and I am using <input type="file"> tag. The problem is that I don't know the Java code needed for the JSP page in order to get through the path and get the image(of course I refer to binary object). Below there is the html code
    <%@ page language="java" import="java.sql.*, java.awt.*, java.awt.Event, java.util.*, java.io.*, javax.servlet.*"%>
    <html>
    <head>
    </head>
    <body>
    <div align="left"></div>
    <form action="action.jsp" method="POST" name="form"
    <h1>Add Data</h1>
    <table>
    <tr>
    <td>Name</td>
    <td><input type="text" name="Name" value="" /></td>
    </tr>
    <tr>
    <td>Last Name</td>
    <td><input type="text" name="lastname" value=""/></td>
    </tr>
    <tr>
    <td>Studies</td>
    <td><textarea name="studies" rows="4" cols="20" >
    </textarea>
    </td>
    </tr>
    <tr>
    <td>General Data</td>
    <td><textarea name="gendata" rows="4" cols="20">
    </textarea>
    </td>
    </tr>
    <tr>
    <td>Photo</td>
    <td><input type="File" name="photo"/></td>
    </tr>
    <tr>
    <td> <input type="submit" > </td>
    </tr>
    </table>
    </form>
    If you want to view the Personnel List click here<br>
    Go to index
    </body>
    </html>

    A JSP should not be involved in this. The browser will offer a way to specify a file, and the target of the form should be a servlet that can handle multipart uploads. JSPs should not process any input.
    More info: http://www.jguru.com/faq/view.jsp?EID=160 or Google

  • Formula for displaying images

    Tried the documentation found at crystal reports support site with no luck, hopefully these forums can help.
    I have been searching for a way to use a conditional formula, or some preinstalled function to:
    1. display an image based on whether there is a table entry ( which is the filename)
    2. if nothing exists in the table entry, display an image from a fall back web URL.
    here is the snippet I am starting out with -
    if({IDCARD.IDPHOTO} = "") then
    'https://xx.xx.com/infodir/images/' & {USERTABLE.PHOTO}
    the CRXI object model is kind of new to me so im fairly sure this is simple, but looking for a kick in the pants into the right direction, or some testable/trusted solution.
    any assistance would be great.

    What you can try is:
    1. Insert default .jpg picture into your report
    2. Right-click the image and select Format Graphic> select Pictures tab> Graphic Location formula
    3. Insert your formula, but make sure that result of your formula is a string - full pass to .jpg file
    I have tested it right now and it works for my CRXIr2.

  • Image control on Forms for retreiving Image stored in tables

    Oracle 10 g XE is miising an easy to use Image add/show feature from a database table in it's application builder. Use of BLOB and BFile is not easily handled and neither it is covered well in the user guide.
    Can someone help me in some easy to do steps.
    Thanks

    Are you sure you have put the path to your Image Bean on the IDEClassPath line
    in file [JDev]\bin\jdeveloper.ini?
    As you know, an EJB has no UI, so I am not sure what you mean about using an EJB for this.
    -John
    null

  • Desperately seeking help for displaying image on button

    i wrote the following method to create and display a button with an icon, doesn't work and i cannot figure out what the problem might be and how to fix it, please help me...
    clo :))
    public static void addButton(Container c, String title,
    ActionListener listener)
    JButton button = new JButton(title);
    button.setBorder(null);
    button.setFocusPainted(false);
    button.setBorderPainted(false);
    button.setContentAreaFilled(false);
    ImageIcon icon = new ImageIcon("anImage.jpg");
    button.setIcon(icon);
    c.add(button);
    button.addActionListener(listener);
    the parameter c is of JPanel type and gets added to a JFrame object,
    the source compiles and runs but i see no image on my button, sigh :((!
    PS(the image file is placed in the same dir as the source file).

    Why buttons and labels might not show up the icon?
    Either your image is not in the classpath and you are trying to load it as a resource: see
    http://java.sun.com/docs/books/tutorial/uiswing/misc/icon.html
    or you are running the java machine from a different directory that you expect it does.
    or the file doesn't exist.
    To prove that the system cannot load the image use the example in the above link and the url will be null.
    URL iconURL = ClassLoader.getSystemResource("anImage.jpg");

  • Problem in displaying images on handset

    Hi all,
    My code consists of displaying a set of J2ME images, i have used different forms for displaying different images.
    It worked fi9 on emulator, but when i loaded its jar file on Nokia 6600 handset, i am unable to see the images.
    Though application's name is visible.Bit depth is 24 and image format is .png. The code is as follows :
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.util.*;
    public class testMIDlet extends MIDlet implements CommandListener
    private final Command exit = new Command("Exit", Command.OK, 1);
    private Form form1;
    private Form form2;
    private Form form3;
    private Form form4;
    private Form form57;
    private Display display;
    private ImageItem imageItem;
    public void startApp()
    System.out.println("In startApp .....");
    display = Display.getDisplay(this);
    //Create the form with a title
    form57 = new Form("Wayfinder Application");
    //Image and ImageItem
    try {
    Image image = Image.createImage("/57.png");
    form57.append(image);
    display.setCurrent(form57);
    try{
    Thread.sleep(500);
    catch(InterruptedException IE)
    System.out.println("exception caught");
    form1 = new Form("Wayfinder Application.");
    image = Image.createImage("/1.png");
    form1.append(image);
    display.setCurrent(form1);
    try{
    Thread.sleep(500);
    catch(InterruptedException IE)
    System.out.println("exception caught");
    form2 = new Form("Wayfinder Application.");
    image = Image.createImage("/2.png");
    form2.append(image);
    display.setCurrent(form2);
    try{
    Thread.sleep(500);
    catch(InterruptedException IE)
    System.out.println("exception caught");
    form3 = new Form("Wayfinder Application");
    image = Image.createImage("/3.png");
    form3.append(image);
    display.setCurrent(form3);
    try{
    Thread.sleep(500);
    catch(InterruptedException IE)
    System.out.println("exception caught");
    form4 = new Form("Wayfinder Application");
    image = Image.createImage("/4.png");
    form4.append(image);
    display.setCurrent(form4);
    try{
    Thread.sleep(500);
    catch(InterruptedException IE)
    System.out.println("exception caught");
    catch (java.io.IOException e) {}
    display.setCurrent(form57);
    public void pauseApp()
    System.out.println("In pauseApp .....");
    public void destroyApp(boolean unconditional)
    System.out.println("In destroyApp .....");
    public void commandAction(Command c, Displayable disp)
    if (c == exit)
    destroyApp(false);
    notifyDestroyed();
    Message was edited by:
    zibba

    Wrong forum. This is the forum for java sound.

Maybe you are looking for

  • 'Processing Event...' iMac takes ages, MacBook Pro less than 1 sec! What?

    I have an iMac and MacBook Pro of similar spec and vintage (2-3 years old) and use iMovie daily for work - editing skydiving footage. We need videos done FAST, and herein lies the problem.. When importing new footage from the cameras (ContourHD) and

  • How to create long text in production order?

    Hi, i have found that i could only change long text in the production order by 'SAVE_TEXT'. but i want to create long text and any advice?

  • Can I edit text in a vector image?

    My apologies if this is a stupid question! I downloaded a vector image from Shutterstock that said "Your Text Here" implying you can edit the text. I cannot for the life of me figure out how to edit the text. When I open the image in illustrator I ca

  • Using swc in AIR project built with CS4

    Hi, excuse my poor english, I hope I am in the good place. I use Flash CS4 to build an AIR 1.5 Application. In the library path of ActionScript 3 I add an swc (textLayout.swc) needed to display hebrew text. While developing with flash, it works fine.

  • Trouble sending Pictures through bbm and Whatsapp

    Everytime I send Pictures through bbm or Whatsapp it doesn't go through. I have changed my sd card and ever restore my phone to factory defold and even deleted the apps and reinstalling it but still does the same no pictures go through. But I do reci