Where to store pictures?

Iam using this version of SDK:
Product Version: Java(TM) ME Platform SDK 3.0
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (cdctoolbar)
Userdir: C:\Users\Azmath\javame-sdk\toolbar\3.0
I want to know where to store images so that i can access them using the create image function... u know createImage("/a.gif");
where do i store 'a.gif' ? in which folder?

According to the Java-doc, writing
myImage = Image.createImage("/a.png");as Azzy is doing should result in the same thing as
myImage = Image.createImage(HelloMIDlet.class.getResourceAsStream("/a.png"));From the javadoc:
public static Image createImage(String name) throws IOException
Creates an immutable image from decoded image data obtained from the named resource. The name parameter is a resource name as defined by Class.getResourceAsStream(name).

Similar Messages

  • How to store pictures in the cloud storage

    Can you store pictures in the cloud service? What would the cost be and if at all possible or is it only for music..Thanks...

    jofromflorida wrote:
    Jason, is there a way to store the photos into a permanent cloud storage and keep them there? I guess, something like the itunes music, where apple saves all of your music....Thank you for the site, which has helped me considerably to understand what it is all about...Ciao, Jo
    Jo, not that I'm aware of as an offering from Apple. While the photo stream can serve that purpose for a finite period of time (it's a rolling 1,000) if you're looking for web/cloud hosting or something similar to the galleries feature that .Mac/MobileMe offered you'll need to seek it elsewhere. The good news, there are numerous cloud storage services out there most of which offer free storage ranging between 2GB and 5GB.
    I personally use Dropbox.com for photo galleries and cloud storage/file sharing. But there's several to pick from and all of them are quite good.

  • Store Pictures in Oracle databases

    Please anybody can tell about that, how to store pictures or images in oracle database 9i.

    To store pictures in your database you need a table with a BLOB column and one application in oracle forms or java to load them. This code is a web servlet to display photos in a web page:
    package kas.web.interfases.metrics;
    * GetFoto.java
    import java.io.*;
    import java.sql.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    import oracle.jdbc.driver.OracleDriver;
    public class GetFoto extends HttpServlet {
    public GetFoto() {
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    doPost(request, response);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    {   System.out.println("test");
    try {
    DriverManager.registerDriver(new OracleDriver());
    catch(Exception exception) { }
    try {
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@172.21.0.96:1521:PRESIDEN", "kas", "kas");
    Statement stmt = conn.createStatement();
    if(conn != null) {
    String cod = request.getParameter("cod");
    if(cod == null)
    cod = "2";
    String sql = "SELECT emf_foto1 FROM pla_emf_empfoto WHERE emf_codemp=" + cod;
    if(!cod.equals("")) {
    ResultSet rset = stmt.executeQuery(sql);
    try {
    if(rset.next()) {   ////System.out.println("test2");
    Blob ablob = rset.getBlob("emf_foto1");
    response.setContentType("image/gif");
    OutputStream out = response.getOutputStream();
    long bloblen = ablob.length();
    int buffersize = (int)bloblen;
    int bytesRead = 0;
    byte b[] = new byte[buffersize];
    InputStream is = ablob.getBinaryStream();
    while((bytesRead = is.read(b)) != -1)
    out.write(b, 0, bytesRead);
    is.close();
    response.flushBuffer();
    finally {
    rset.close();
    conn.close();
    catch(SQLException sqlexception) {
    System.out.println(sqlexception.toString());

  • HT4061 where did my pictures in iCloud go?

    Where did my pictures in icloud go?

    How did you get them there?  icloud does not store photos except for those in camera roll included in a backup and those in photo stream.

  • I had the first ipad now i have the new ipad air where the the picture frame app?

    i had the first ipad now i have the new ipad air where the the picture frame app?

    Apple iOS designers did away with the Picture Frame slide show app and the lock screen icon that used to activate it.
    If you are looking for a replacement, look in the iOS App Store app and search for Picmatic.
    This is a pretty good replacement for that function.

  • I have a file where I store my download music. When I click on "add music" to my ipod my music file opens, but rather than have to drag one song at a time to my ipod, how do I copy the entire file at once to my ipod. - steve

    Hi - I have a file where I store my downloaded music. When I plug in my ipod and click on "add music" my file appears. Rather than drag one song at a time, how can I download the entire list at once? - steve

    I am not doing it in ITunes, but i did down load the song from ITunes.  I loaded the song on to my Nano, but in my menu selections it doesn't show the song or the artist in any search format.  However, when i plug in my nano to my PC I see the Nano library on my PC drive listings and that song and artist are there.  I can click on the song and it will play in Windows media on my work PC.  I did notice that the format for most all the songs in my library on my Nano are MPEG - 4 audio Files. 
    Thanks for your help, Mel

  • Where we store in sap r/3

    Dear sir  we can uploaded old data in sap r/3. by lsmw and bdc. but where we store.
    thanks regards
    jitendra

    Hi,
    LSMW - Helps to transfer data from legacy system to SAP either one time or periodically.
    Steps -
    1. Import data (legacy data in spreadsheet tables and/or sequential files)
    2. Convert data (from source format to target format)
    3. Import data (into the database of the SAP application)
    a. Maintain Structure relations, field mapping and conversion rules.
    b. Data from legacy system is read
    c. Based on step a, the data gets converted
    d. The converted data is imported to R/3 system based onBatch input processing or Direct Input or through IDOC Inbound processing
    Regards,
    R.Brahmankar

  • Where are the pictures found in the Adobe Photoshop 10 organizer?

    Nov. 29, I had my computer repaired from a trojan, & I figured out that everything i've done since Sept. 13th was gone because when the computer guy was fixing it, he tried to put in the new MicroSD card reader, but he had to put an old one back in (from Sept.) as the new one had wrong connections.
    Then, when he started the PC he only had the C drive (& my documents and pictures are on the A drive). He turned it off and realized he accidentally disconnected one of the mirror hard drives for Drive A. He had to turn it off and open it again and reconnect the cable that was disconnected.
    During that moment perhaps a line in the drive had become corrupted. So, I restored through Carbonite, hoping I'd get back almost everything (or at least whatever was done being backed up). However, I lost quite a few pictures.
    Tuesday, however, I noticed that the pictures I lost were imported into the organizer for Adobe Photoshop 10, which is on the C drive, so I'm hoping the pictures are still there, even if they are thumbnails (I assume they would be)! But where are the pictures found in the Adobe Photoshop 10 organizer? I assume in a folder somewhere? Am I able to copy them? (A low quality image, is better than no image!)

    The thumbnail cache is separate and lives in the system files.
    You could try a new catalog - it doesn’t involve any duplication.
    Click: File >> Catalog
    Click the New button
    Give your catalog a name e.g. My Catalog2 (or whatever you prefer)
    Check the box Import Free Music - that will bring in the Adobe MP3 tracks used in slideshows
    Then click OK
    When the new blank catalog opens click: File >> Get Photos and Videos >> From Files & Folders
    Navigate to your root folder (normally Pictures or My Pictures or wherever you put your photos) then press Ctrl+A to select all sub folders or make sure the checkbox is marked.
    Click Open or Get Media
    Wait for Elements to complete the import, accept all keyword suggestions (select all) and then wait for thumbnails to finish generating.
      N.B. You may not get all the metadata (keywords etc) but in view of the problems you have had it may be your best hope.

  • I am getting an error message with my snap scan ix500 that says the Evernote is not installed properly.  I have uninstalled/reinstalled evernote but it still doesn't work.  Anyone know where evernote stores their files on a Mac/

    I am getting an error message with my snap scan ix500 that says the Evernote is not installed properly when I try to transfer it.  I have uninstalled/reinstalled evernote and the scan snap softward but it still doesn't work.  Anyone know where evernote stores their files on a Mac?  Or had this problem.

    Are there any dialog boxes popping up behind your Yahoo screen?
    I have intermittent problems attaching files in Yahoo mail and this is usually the reason.  I'm also using an iMac (10.7.3) and this is likely the problem.
    It is generally a Yahoo issue rather than a Mac problem.

  • HT5622 Some pictures in my iCloud show up blank on my ipad.... But it says I have zero pics on my iPhone... Where are my pictures?

    Some pictures in my iCloud show up blank on my ipad.... But it says I have zero pics on my iPhone... Where are my pictures?

    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there (subject to a 1,000 photo limit) until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.
    The problem I see is that the photos aren't on your phone and you won't be able to get them from the cloud because they are over 30 days old.
    As for your iPad it sounds like they might be there, but you have encountered some sort of corruption. The problem is you can't turn photo stream off and on again to reset it, because you would lose what ever you have (even though they are corrupt) and they can't be recovered from the cloud.
    The only suggestion I have is to try restarting the iPad.

  • Is there any way to access the thumbails-db, where finder stores its icons that are assigned to files?

    Is there any way to access the thumbails-db, where finder stores its icons that are assigned to files?
    Thats a SQLite-DB? Is it possible to access and export them? I´d like to use that Db to assign thumbs to files on my NAS.
    Thx!    

    Are the thumbnails & icons stored in the .DS_Store-File?
    When visible, how can I access the content stored in that file?

  • How/Where to store current page details in ADF?

    Hi All,
    What is the best way to populate the managedBean while loading the page?
    In my application, I have an page fragment which display the user details from Webservice DataControl. I drag and drop the webservice data control in to the pageFragment. This fragment has mapped in the taskFlow and the taskFlow as attached in to main JSPX page as a region. I need to store this user information to any place (ManagedBean / or anyother best place to store) which I can use throughout my application, since I dont want to reexecute the webservice each time to get the same user information. Also I want to collect and store this info while I render the main page, not after any user action.
    Please advice how & where to store the information in ADF? Can I create an managedBean? If so how to trigger that class method at page load?
    Thanks
    kln

    Hi,
    in this case you configure the managed bean to be in session scope. Then, on the first page, you define a phase listener for the after restore phase (its a tag on the f:view element). This phaselistener references the managed bean using EL (important). It can do so using a method expression in JSF. For example, if the managed bean had a method populateUserInfo then yu could reference #{beanname.populateUserInfo} and execute the method expression using Java. In the managed bean, the method would access the binding layer Using the BindingContext class
    http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10653/oracle/adf/model/BindingContext.html
    Call
    BindingContext .getCurrent().getCurrentBindingsEntry() to obtain a handle to the active instance of BindingContainer.
    BindingContainer bindings = BindingContext .getCurrent().getCurrentBindingsEntry();
    Then on the binding container, you invoke the method to query the Web Service for the user info
    //before you can call a method on the ADF binding layer, make sure the ADF binding is created for the method
    OperationBinding opws = (OperationBinding) bindings.get("name of the method exposed on WS");
    //if you need to pass parameters
    opws.getParamsMap().put("argument name",value);
    opws.execute();
    You can use similar code to access the user information from the method iterator in ADF to populate the managed bean fields. You can then access user information from the managed bean through getter and setter methods
    Frank
    Ps.: I know the description is a bit rough. I'll see if I can come up with a blog sample to a later time
    Edited by: Frank Nimphius on Jan 26, 2010 5:43 PM

  • When you backup your Ipod touch on a PC, where do your pictures go?

    When you backup your Ipod touch on a PC, where do your pictures go?

    Photos inside the camera roll are part of the backup, they are not stored on your PC if you don't transfer them manually:
    Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer

  • HT1766 where do my pictures go after they back up and how do i view?

    Where do my pictures go after an i cloud back up and how do i find them?

    What do you mean by "where to they go"??  They're contained within the back and will be incluced in that backup any time you do a restore.
    You should be treating your phone like any other digital camera and syncing them with whatever photo library softawre you use on your computer.

  • How do you CHANGE the location (away from Drive C) where Firefox stores temporary files?

    I know where Firefox stores temporary files. I want to CHANGE this location away from Drive C to decrease writes to an SSD. Thank you.

    Thank you.
    This function may be one of the few things that IE does better than Firefox. IE lets you change the temporary file location in Tools - Internet options - Settings. Firefox developers should make this task easier and put the instructions in the Help file where they can be easily found.
    Since I use an SSD for Drive C, I have learned that any file(s) that are frequently written to should be moved elsewhere to a conventional HDD.

Maybe you are looking for

  • How do i set up an apple id without entering credit card details?

    I have set up an apple id account but everytime i try and install a free app on the app store it keeps asking me to sign in then add credit card details. How do i get round this as i am using a company ipad?

  • Which MBPro setup w/ext. display do I want?

    I recently purchased a 15" early 2008 MBPro (glossy) at a great price but my sister just asked me to pick out a new Mac for her. I therefore get a second chance at deciding what my own optimum system is as she will take my several week old MBPro if I

  • Uploading of Budget Volume in SAP

    Dear All, I want to upload the budgeted sales quantity data in SAP. The sale quantity budget varies from one location to another on a monthly basis and we have got 1000 such locations from where we have to sell. Can anyone help with the procedure for

  • How to execute BC4J code on remote server using DBC Files

    Hi People, I have a requirement here that i do not know if it's possible to achieve. We have an Application Module that fetches some records and another Application Module that receives them as parameters and inserts these records in interface tables

  • JSP and Bean

    Hi! I am trying to write a simple code using bean and JSP. I have 3 pages: GetName.html (This is a html form which calls SaveName.jsp) <HTML> <BODY> <FORM METHOD=POST ACTION="SaveName.jsp"> What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR