Using Images in an Application

Hello

I am trying to create an application that will ideally use PNG images. I use a large quantity of images in the app and after adding a few of them that already I'm starting to notice that the size of the app is already getting enough large.

I wonder if there is a way to compress images in the blackberry JDE or any way to include these images without going through the app get too big.

Thank you

Ash

Never mind, please feel free to delete this thread. I found a solution in photoshop

Tags: BlackBerry Developers

Similar Questions

  • Use the image in your application

    Hello

    I am building a blackberry application that can connect to the camera. How to save a captured image and use it in your application? For example, in blackberry messenger, you can capture images and set it as your display picture. I plan to do the kind of the same thing like that.

    Thanks a bunch before!

    dsutandi

    This is the code to call the camera and save the captured image

    private void takePhoto()
        {
            final FileSystemJournalListener listener = new FileSystemJournalListener()
            {
                long lastUSN;
                boolean hasAppPermission;
                public void fileJournalChanged()
                {
                    long USN = FileSystemJournal.getNextUSN();
                    outer: for (long i = USN - 1; i >= lastUSN; --i)
                    {
                        FileSystemJournalEntry entry = FileSystemJournal.getEntry(i);
                        if (entry != null)
                        {
                            if (entry.getEvent() == FileSystemJournalEntry.FILE_ADDED)
                            {
                                if (entry.getPath().indexOf(".jpg") != -1)
                                {
                                    lastUSN = USN;
                                    photoPath = entry.getPath();
                                    try
                                    {
                                        ApplicationPermissionsManager apm = ApplicationPermissionsManager.getInstance();
                                        ApplicationPermissions original = apm.getApplicationPermissions();
    
                                        ApplicationPermissions permRequest = new ApplicationPermissions();
                                        if(original.getPermission(ApplicationPermissions.PERMISSION_INPUT_SIMULATION) != ApplicationPermissions.VALUE_ALLOW)
                                        {
                                            permRequest.addPermission(ApplicationPermissions.PERMISSION_INPUT_SIMULATION);
                                            permRequest.addPermission(ApplicationPermissions.PERMISSION_DEVICE_SETTINGS);
                                            permRequest.addPermission(ApplicationPermissions.PERMISSION_EVENT_INJECTOR);
                                            boolean acceptance = ApplicationPermissionsManager.getInstance().invokePermissionsRequest(permRequest);
                                        }
    
                                            EventInjector.KeyEvent inject = new EventInjector.KeyEvent(EventInjector.KeyEvent.KEY_DOWN,Characters.ESCAPE,  50);
                                            EventInjector.invokeEvent(inject);
                                            EventInjector.invokeEvent(inject);
                                            EventInjector.invokeEvent(inject);
    
                                            if(photoPath != null)
                                                photoPath = "file://"+photoPath;
    
                                            if(photoPath != null && !photoPath.equals("file://"))
                                            {
                                                 UiApplication.getUiApplication().removeFileSystemJournalListener(this);
                                                Bitmap bmp  = ResizeImage.getBitmapImageFromFilePath(photoPath);
                                                /**
                                                                       here you will get the image path what you captured. By using this path you can get the image
                                                                       */
    
                                            }
    
                                     }catch (Exception e){
                                            System.out.println("Exception caught :" + e);
                                     }
    
                                    break outer;
                                }
                            }
                        }
                    }
                    lastUSN = USN;
                }
            };
            UiApplication.getUiApplication().addFileSystemJournalListener(listener);
            Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA, new CameraArguments());
        }
    
  • APEX5: How to use User(Logged In) Image throughout the application

    Hello

    We have images (BLOB) user stored in the custom table, now, when the user opens a session, we wanted to use his image on several pages in application as in reports, forms.

    Question is how we can use a single image across the application, without reloading or Access database again.

    I thought I ODP and hiding the image in the ODP. Then store the URL in the overall page element to access the image in any of the application but it seems that ODP is drawn for each page and giving the database image. Best way to do this?

    Any thoughts?

    Thank you

    Ankit

    Ankit-K-Oracle wrote:

    We have images (BLOB) user stored in the custom table, now, when the user opens a session, we wanted to use his image on several pages in application as in reports, forms.

    Question is how we can use a single image across the application, without reloading or Access database again.

    I thought I ODP and hiding the image in the ODP. Then store the URL in the overall page element to access the image in any of the application but it seems that ODP is drawn for each page and giving the database image.

    The ODP does not cache the image Explorer.

    • Have you implemented the ODP using a Cache-Control header, as described?
    • Did you check the cache settings in the browser?
    • Have you used a web inspector to determine if the browser is in charge of the image from cache or asking for each page view?
  • I'm trying to scan a document using my dell scanner, but I get the message: 'an image to the application of the texts is provided for you on your cd in the OCR file.

    Original title: Dell Imaging toolbox: analysis: change Image text

    Trying to scan a document, I get the message: an image to the application of the texts is provided for you on your cd in the OCR file.

    -Cancel, install your ocr software, try again.

    There is no image to the application of the texts in the file of the ocr, Abbyy and Recore and neither has the image of the application of the texts.  Heeeelp!

    Communicate with people who have done your scanner and ask them to supply the missing software.  Without this you will not be able to proceed.

    "blessedandhighlyfavored" wrote in the new message: * e-mail address is removed from the privacy... *

    Trying to scan a document, I get the message: an image to the application of the texts is provided for you on your cd in the OCR file.

    -Cancel, install your ocr software, try again.

    There is no image to the application of the texts in the file of the ocr, Abbyy and Recore and neither has the image of the application of the texts.  Heeeelp!

  • iPhone 5 s 10.0.2 update cannot use image capture

    I have a mac pro running 10.6.8. Since I upgraded my iphone 5s today 10.0.2, I am unable to use Image Capture on my mac to transfer your photos, iphoto does not work either. I get a message on my phone to the computer I chose to 'trust', then I get an error message in the Image Capture in saying that I have to enter a password on my phone but the password is not displayed at the time.

    Hello pwexford,

    Thank you for using communities of Apple Support. It is my understanding that you were unable to use transfer pictures from your iPhone to the Image Capture. It is very important to save valuable images of your phone. I want to make sure that you are able to transfer this content correctly.

    His expected behavior to be prompted for a password if the phone is locked. Please, try the following steps.

    1. Connect your device to your computer, and then turn on the unit.

      If the device is locked with a password, enter it.

    2. In the Image Capture, select the device from the list of devices.
    3. Use the buttons at the bottom of the window to Capture of Image to display thumbnails in a list or as icons to change the size of thumbnails, or to rotate or remove images.
    4. In the pop-up menu to import to, choose where to save images or what application to use to open the image.
    5. To import only some of the photos, select the photos you want, and then click Import. To import all the photos, click Import all.

      Choose AutoImporter menu drop-down ' connection opens this [device] ' to transfer images from a device to your computer whenever you connect it to your computer.

    6. Select "Delete after import" to remove parts of the instrument after transfer to your computer. You can also select individual items on your device, and then press Delete on your keyboard.

    Image capture: Image transfer and other elements of your device

    Have a wonderful day!

  • Using recovery Toshiba and Applications / drivers DVD Tecra M2 series

    Hi all, I have a problem to format my laptop Tecra M2. When the installation starts, you will see an error at the Command prompt. the error indicates
    Failed installation aborted/a process!
    A:\ >
    Please help me how to fix it

    Can you please explain what you do exactly?
    Do you use the Toshiba Recovery CD facilities to install the OS?
    Please describe what exactly happens when you start recovery image.

    Applications/drivers CD/DVD, you can use if you have installed the OS using the facilities of Microsoft CD.

  • Rstrui.exe - bad Image of the application or DLL C:\Windows\System32\Wbem\Framedyn.dll is not a valid windows image. AND the exe task manager. -Bad guess. The application or DLL C:\Windows\System32\VDMDBG. DLL is not a valid windows image.

    I use WIndows XP.  After that THINKPOINT is presented on my system, I have not been able to access my task manager or restore my system to an earlier date.

    I have checked Kellys Korner and various other suggestions on the internet, but have had no luck with anything.

    It shows that the HKEY value for the Task Manager is set to 0.  Don't know if that helps.

    I BELIEVE I have the THINK POINT removed from my system.  I use Microsoft Security, Ad-Ware and Malwarebytes Anti - Malware.  Between the 3, it seems I have everything.

    But now I can not restore my system, or use my TASK MANAGER.

    Help would be GREATLY appreciated.

    Thank you!

    Bindifer

    Think like a malicious software...
    It infects your system and is not to be found and removed.
    What are you most likely to use to find and remove malware?
    Internet, Google, Task Manager, regedit, restore the system command prompt, etc...
    The malware is often afflicts one or more of these components to try to trick into thinking you need to perform a system restore, a repair facility, or even to reinstall your XP from scratch.  None of these things are necessary since you can usually just to thwart malware.
    If the referenced files are completely absent from your system, you will see messages like this when you try to run the applications:
    Taskmgr.exe - Unable to locate component
    This application has failed to start because VDMDBG.dll is not found.  Reinstalling the application may fix this problem.
    Rstrui.exe - Unable to locate component
    This application has failed to start because framedyn.dll was not found.  Reinstalling the application may fix this problem.
    Sometimes you can click through the OK messages to access the System Restore screen, but the restoration of the system is still broken.
    If the referenced files are present on the system, but somehow corrupted, you will see messages like this when you try to run the applications:
    Taskmgr.exe - bad Image
    The application or DLL C:\WINDOWS\system32\VDMDBG.dll is not a valid Windows image.  Please check this against your installation diskette.
    Rstrui.exe - bad Image
    The application or DLL C:\WINDOWS\system32\wbem\framedyn.dll is not a valid Windows image.  Please check this against your installation diskette.
    Sometimes you can click through the OK messages to access the System Restore screen, but the restoration of the system is still broken.
    These files are part of the file 3498 who cares about Windows File Protection, so unless the WFP is also broken it is likely that files are missing completely (you get a different error message).  What is more likely is that the files are somehow corrupt or have been replaced by incorrect files.
    Assuming that XP is installed on your C drive and in the windows folder, XP keeps copies of 3498 files that he cares about this issue:
    c:\Windows\System32\dllcache
    On a health care system, Windows File Protection keeps track of 3498 protected files and quickly and quietly replaces all the files in the list that appears missing from the backup folder.  File protection Windows will not replace the files if they are somehow corrupted or replaced by bad files.
    You can simply copy the backup files in the dllcache folder in the folder where are the suspects or missing files.
    Using Explorer, navigate to the folder c:\windows\system32\dllcache and individually to copy the backup files in there and then navigate the folders where the suspect or incorrect files are and paste in the copied files.
    Depending on your installation, you can also find copies of the files in this folder:
    c:\windows\ServicePackFiles\i386
    Answer Yes, if you are prompted to replace existing files.
    Test your functions now and then to reboot your system to make sure the changes 'stick', and then fix any problems.

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • "services.exe - bad image" and "the application or the DLL...\ShimEng.dll is not a valid Windows image.

    At the start this morning, I received the message following "services.exe - bad image" and "the application or the DLL...\ShimEng.dll is not a valid Windows image. Is there a simple solution to this problem? If it is ok, the unit freezes then

    Hello

    1. you remember to make changes to your computer, after which the issue started?

    I would recommend that you follow these steps and check if the problem persists.

    Step 1:

    I would recommend that you run a full scan using theMicrosoft Safety Scanner and check if the problem is related to malicious software.

    Note: You may lose data while eliminating malware.

    Step 2:

    Test the issue in a clean bootand verify if the issue.

    Note: Follow step 7 to your computer as usual.

    Step 3:

    Make SFC scan and check if the problem persists.

  • Trial of Illustrator CC does not let me use Image path?

    Hello!

    I recently downloaded the demo of Illustrator CC for my Macbook pro update and eventually found that it won't let me use image trace or even pull up to the tracing control panels... I can pull up the area of follow-up work, but if I try to click 'trace image' nothing happens and if I try to open the presets dropdown, even when nothing happens... The title of the principal in the drop-down menus, track of the image or a form any tracing is not found...

    If the tracking is not included in the trial and I just did not get the memo or something wrong?

    Thank you very much for any help!

    caitln,

    You can start on the following and we hope that you will get only the easier until it works, or someone comes up with something better.

    Here is a general list of things you can try when the question is not in a specific file (you tried/made some of them already). 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically may be corrupted preferences):

    (1) close Illy and open again.

    (2) restart the computer (you can do that up to 3 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible);

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    (6) uninstall, run the vacuum cleaner tool (if you have CS3/CS4/CS5/CS6/CC), and then reinstall.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • Using Images in RoboHelp HTML

    We are currently studying the possibility of consolidating/centralizing our documentation in our online help system and are looking for input from anyone who has experience with what we offer...

    We create several systems online help for a series of Web-based applications and we use RoboHelp HTML 7. Currently, content in our support systems is essentially text - only descriptions and step by step instructions, we have a few images like logos and icons, but the majority is text.

    Export us the text in Word, add screenshots and create PDFs that is printed for use in face-to-face training sessions.

    We are looking to makeover / the centralization of our process by including all the screen captures in the help system. However, concern has been raised regarding the addition of a lot of impact image files will be the speed and functionality of the help system.

    We compile our support systems and send the entire record of the WebHelp to development where it is tested and then deployed on our servers. It is accessible by our clients to our application via Internet Explorer, Firefox or Safari

    Our customers access to our application via internet connections high speed, so the access speed will not be a problem. And of course we save images to GIF format to get the actual size of the file smaller. But questions remain such as:

    Is there a limit to the number of images that you can use in a help system?

    Is there a limit to the number of images that you can use in a topic?

    -What effect will have a large number of images in the process of compilation guidance system? (I realize that it may take more time to compile, but is there a point where the system will break?)

    Is there a limit to the size of the set of help files?


    In addition to these issues, I wonder:

    -Do you use images in your systems?

    -Have you had problems with?

    -Tricks or tips you want to share on the use of images in a help system?

    Welcome to our community, TechDocGreg

    I use images, all the time. I've never known break my support system. And I used to have a TON of them. (I documented a lot of material - do you gobs and gobs of photographic images of various materials in different "pose").

    Of course, images likely to cause the overall size of the system helps inflate, but this should be a big problem.

    Today, I tend to use exclusively. PNG format for all my images.

    If you need to make a subject appear to be slim, you can drag the images inside drop-down hotspots DHTML (Dynamic HTML). That way they won't be visible unless the user really wants to see them.

    See you soon... Rick

  • Can I use Siri to open applications?

    I would like to know if I can use Siri to open applications that are on my launch pad & /or dock.  Which doesn't seem to be a useful feature on a Mac Pro.

    Yes, Siri is able to open Applications.

  • Temporarily use images in memory cache on sertain sites

    I would like firefox to use images cached immediately on sertain sites, instead of exchanging a lot of pending requests for the code 304 'unchanged' on them, to make browsing it there a bit faster and smoother.

    Is there a way to do this, just change the parameters of FF, or I have to look for some addon?

    • Only the images, not another thing (i.e. the flash JS, CSS)

    You can try ImgLikeOpera.

  • I use Image Capture to shoot pics my phone is off

    Tired of importers jpg directly to photographs, then having to export and re-name-the, I use Image Capture to extract my iPhone.  I save it to my desktop.   I got their name in the Finder.  Then, I open the pictures and import them from my office.  When I finished all imports, I delete the pictures on my desk.  I have been through the jpgs in Photos and see several that I KNOW that I have given a file name, but they have names like IMG_5677.  What a waste of time!   I HATE it that Apple makes it so difficult just give a file name to your photos!  I use filenames for reasons of family history.  I don't want to be enslaved to a convention of software as "Securities.".

    Any suggestions?

    Thanks in advance for your answers!

    You must make the difference between the file and the data it contains. This Word file is not your novel, it is a container. The data it contains is your novel. The Beatles never wrote or recorded an mp3 file. He wrote and recording Let It Be , and this mp3 file contains a copy of this record. That jpeg is not your Photo. It is actually a compression format that contains a version of your photo.

    - And is not Apple, but a convention shared by all the camera manufacturers, software manufacturers and so on - there is a difference between the name of the file that refers to the file and the title of the photo which is a name that you give the image. Thus, IMG_5677 is a file name, our marriage is a title for a photo.

    The title of the photo is saved in Exif and IPTC Photo metadata and that is accessible by all software photo on all computer systems. Add a title in pictures, export the image, send it to a Windows machine, open it in, say, Lightroom, and there is the title.

    There is an agreed standard all of the manufacturers of cameras and software manufacturers.

    Compatible with this standard photos.

    You want to use filenames for titles which is not standard, and if you find yourself with this complexity.

    Here is another way to work. Import the images in the Photos. Add a title to them in Photos. So, if you want a free version at some point that has the title as file name, export the image (file-> export) and, in the export dialog, he say to use the title as the file name.

    Less complex and standards.

  • I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    No, because if you bought a new iPhone, then you need a SIM card to activate it before you can use the wifi applications.

    This is a phone after all, you don't need a sim card any to be able to activate it.

  • How do I use image capture to transfer videos from iPhone 5 on iMac

    How to use Image Capture to transfer videos from iPhone 5 on IMac

    Connect the phone to your Mac using the cable and launch the Image Capture. You should see the phone on the left under devices. Click on the phone and should allow you to import the videos.

Maybe you are looking for