Overlap two images, ordinary java works, and not in BlackBerry JDE 5

I have an application for swing of simple java that takes two images and overlaps the other. While trying to this port in JDE5, I got out there is no class BufferedImage in the api of BB, but a similar class of the Bitmap. It's brought to BB mixing function is unable to produce an image that overlap. It shows a blank white screen.

Here's the plain java function

public BufferedImage blend( BufferedImage bi1, BufferedImage bi2,            double weight )   {     if (bi1 == null)          throw new NullPointerException("bi1 is null");

      if (bi2 == null)          throw new NullPointerException("bi2 is null");

      int width = bi1.getWidth();       if (width != bi2.getWidth())          throw new IllegalArgumentException("widths not equal");

     int height = bi1.getHeight();     if (height != bi2.getHeight())

          throw new IllegalArgumentException("heights not equal");

        BufferedImage bi3 = new BufferedImage(width, height,              BufferedImage.TYPE_INT_RGB);      int[] rgbim1 = new int[width];        int[] rgbim2 = new int[width];        int[] rgbim3 = new int[width];

      for (int row = 0; row < height; row++)     {         bi1.getRGB(0, row, width, 1, rgbim1, 0, width);           bi2.getRGB(0, row, width, 1, rgbim2, 0, width);

         for (int col = 0; col < width; col++)          {             int rgb1 = rgbim1[col];               int r1 = (rgb1 >> 16) & 255;                int g1 = (rgb1 >> 8) & 255;             int b1 = rgb1 & 255;

                int rgb2 = rgbim2[col];               int r2 = (rgb2 >> 16) & 255;                int g2 = (rgb2 >> 8) & 255;             int b2 = rgb2 & 255;

                int r3 = (int) (r1 * weight + r2 * (1.0 - weight));               int g3 = (int) (g1 * weight + g2 * (1.0 - weight));               int b3 = (int) (b1 * weight + b2 * (1.0 - weight));               rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;            }

           bi3.setRGB(0, row, width, 1, rgbim3, 0, width);       }

       return bi3;   } 

Here's the java function of BB

  public Bitmap blend( Bitmap bi1, Bitmap  bi2,                      double weight )        {

              if (bi1 == null)                       throw new NullPointerException("bi1 is null");

                if (bi2 == null)                       throw new NullPointerException("bi2 is null");

                int width = bi1.getWidth();            if (width != bi2.getWidth())                   throw new IllegalArgumentException("widths not equal");

               int height = bi1.getHeight();          if (height != bi2.getHeight())

                        throw new IllegalArgumentException("heights not equal");

         Bitmap bi3 = new Bitmap(width, height);         int[] rgbim1 = new int[width];         int[] rgbim2 = new int[width];         int[] rgbim3 = new int[width];

                for (int row = 0; row < height; row++)         {

                       bi1.getARGB(rgbim1,0,width,0,row, width,1);                       bi2.getARGB(rgbim2,0,width,0,row, width,1); 

                       for (int col = 0; col < width; col++)                  {                              int rgb1 = rgbim1[col];                                int r1 = (rgb1 >> 16) & 255;                           int g1 = (rgb1 >> 8) & 255;                            int b1 = rgb1 & 255;

                          int rgb2 = rgbim2[col];                                int r2 = (rgb2 >> 16) & 255;                           int g2 = (rgb2 >> 8) & 255;                            int b2 = rgb2 & 255;

                          int r3 = (int) (r1 * weight + r2 * (1.0 - weight));                            int g3 = (int) (g1 * weight + g2 * (1.0 - weight));                            int b3 = (int) (b1 * weight + b2 * (1.0 - weight));                            rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;                     }

                     bi3.setARGB(rgbim3, 0, width, 0,  row,width, 1);

                }

             return bi3;    }

The weight of the arg is a value from 1 to 100.

For reference, the full plain java source

/* * To change this template, choose Tools | Templates * and open the template in the editor. */

package imagetest;

/** * * @author COMPUTER */// Blender1.java

import java.awt.*;import java.awt.image.*;

import javax.swing.*;import javax.swing.event.*;

/** * This class describes and contains the entry point to an application that * demonstrates the blending transition. */

public class Blender1 extends JFrame{  /**    *     */   private static final long serialVersionUID = 1L;

    /**    * Construct Blender1 GUI.     */

 public Blender1() {     super("Blender #1");      setDefaultCloseOperation(EXIT_ON_CLOSE);

        // Load first image from JAR file and draw image into a buffered image.

     ImageIcon ii1 = new ImageIcon(getClass().getResource("x.png"));       final BufferedImage bi1;      bi1 = new BufferedImage(ii1.getIconWidth(), ii1.getIconHeight(),              BufferedImage.TYPE_INT_RGB);      Graphics2D g2d = bi1.createGraphics();        int h = ii1.getImage().getHeight(null);       System.out.println("Blender1.Blender1()--------> height :" + h);       g2d.drawImage(ii1.getImage(), 0, 0, null);        g2d.dispose();

      // Load second image from JAR file and draw image into a buffered image.

        ImageIcon ii2 = new ImageIcon(getClass().getResource("y.png"));       final BufferedImage bi2;      bi2 = new BufferedImage(ii2.getIconWidth(), ii2.getIconHeight(),              BufferedImage.TYPE_INT_RGB);      g2d = bi2.createGraphics();       int h2 = ii2.getImage().getHeight(null);      System.out.println("Blender1.Blender1()--------> height :" + h2);      g2d.drawImage(ii2.getImage(), 0, 0, null);        g2d.dispose();

      // Create an image panel capable of displaying entire image. The widths       // of both images and the heights of both images must be identical.

     final ImagePanel ip = new ImagePanel();       ip.setPreferredSize(new Dimension(ii1.getIconWidth(), ii1             .getIconHeight()));       getContentPane().add(ip, BorderLayout.NORTH);

       // Create a slider for selecting the blending percentage: 100% means      // show all of first image; 0% means show all of second image.

      final JSlider slider = new JSlider(JSlider.HORIZONTAL, 0, 100, 100);      slider.setMinorTickSpacing(5);        slider.setMajorTickSpacing(10);       slider.setPaintTicks(true);       slider.setPaintLabels(true);      slider.setLabelTable(slider.createStandardLabels(10));        slider.setInverted(true);     ChangeListener cl;        cl = new ChangeListener()     {         public void stateChanged( ChangeEvent e )         {             // Each time the user adjusts the slider, obtain the new              // blend percentage value and use it to blend the images.

               int value = slider.getValue();                ip.setImage(blend(bi1, bi2, value / 100.0));          }     };        slider.addChangeListener(cl);     getContentPane().add(slider, BorderLayout.SOUTH);

       // Display the first image, which corresponds to a 100% blend     // percentage.

      ip.setImage(bi1);

       pack();       setVisible(true); }

   /**    * Blend the contents of two BufferedImages according to a specified weight.   *     * @param bi1  *            first BufferedImage  * @param bi2  *            second BufferedImage     * @param weight   *            the fractional percentage of the first image to keep     *     * @return new BufferedImage containing blended contents of BufferedImage  *         arguments   */

 public BufferedImage blend( BufferedImage bi1, BufferedImage bi2,         double weight )   {     if (bi1 == null)          throw new NullPointerException("bi1 is null");

      if (bi2 == null)          throw new NullPointerException("bi2 is null");

      int width = bi1.getWidth();       if (width != bi2.getWidth())          throw new IllegalArgumentException("widths not equal");

     int height = bi1.getHeight();     if (height != bi2.getHeight())

          throw new IllegalArgumentException("heights not equal");

        BufferedImage bi3 = new BufferedImage(width, height,              BufferedImage.TYPE_INT_RGB);      int[] rgbim1 = new int[width];        int[] rgbim2 = new int[width];        int[] rgbim3 = new int[width];

      for (int row = 0; row < height; row++)     {         bi1.getRGB(0, row, width, 1, rgbim1, 0, width);           bi2.getRGB(0, row, width, 1, rgbim2, 0, width);

         for (int col = 0; col < width; col++)          {             int rgb1 = rgbim1[col];               int r1 = (rgb1 >> 16) & 255;                int g1 = (rgb1 >> 8) & 255;             int b1 = rgb1 & 255;

                int rgb2 = rgbim2[col];               int r2 = (rgb2 >> 16) & 255;                int g2 = (rgb2 >> 8) & 255;             int b2 = rgb2 & 255;

                int r3 = (int) (r1 * weight + r2 * (1.0 - weight));               int g3 = (int) (g1 * weight + g2 * (1.0 - weight));               int b3 = (int) (b1 * weight + b2 * (1.0 - weight));               rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;            }

           bi3.setRGB(0, row, width, 1, rgbim3, 0, width);       }

       return bi3;   }

   /**    * Application entry point.    *     * @param args     *            array of command-line arguments  */

 public static void main( String[] args )  {     Runnable r = new Runnable()       {         public void run()         {             // Create Blender1's GUI on the event-dispatching             // thread.

              new Blender1();           }     };        EventQueue.invokeLater(r);    }}

/** * This class describes a panel that displays a BufferedImage's contents. */

class ImagePanel extends JPanel{ /**    *     */   private static final long serialVersionUID = 4977990666209629996L;    private BufferedImage bi;

   /**    * Specify and paint a new BufferedImage.  *     * @param bi   *            BufferedImage whose contents are to be painted   */

 void setImage( BufferedImage bi ) {     this.bi = bi;     repaint();    }

   /**    * Paint the image panel.  *     * @param g    *            graphics context used to paint the contents of the current   *            BufferedImage    */

 public void paintComponent( Graphics g )  {     if (bi != null)       {         Graphics2D g2d = (Graphics2D) g;          g2d.drawImage(bi, null, 0, 0);        } }}

Full java BB source

/* * ImageScreen.java * * © ,  * Confidential and proprietary. */

package src;

/** *  */

import java.io.OutputStream;import javax.microedition.io.Connector;import javax.microedition.io.file.FileConnection;import net.rim.device.api.system.Bitmap;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.FieldChangeListener;import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.BitmapField;import net.rim.device.api.ui.component.ButtonField;import net.rim.device.api.ui.component.Dialog;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.container.HorizontalFieldManager;import net.rim.device.api.ui.container.MainScreen;import net.rim.device.api.ui.component.GaugeField;/** * The main screen to display an image taken from the camera demo. */public final class ImageScreen extends MainScreen{    /** The down-scaling ratio applied to the snapshot Bitmap */    private static final int IMAGE_SCALING = 7;

    /** The base file name used to store pictures */    private static final String FILE_NAME = System.getProperty("fileconn.dir.photos") + "IMAGE";

    /** The extension of the pictures to be saved */    private static final String EXTENSION = ".bmp";

    /** A counter for the number of snapshots taken */    private static int _counter;    Bitmap image1,image2; BitmapField imageField;     /** A reference to the current screen for listeners */    private ImageScreen _imageScreen;

   /**    * Constructor    * @param raw A byte array representing an image    */    public ImageScreen( final byte[] raw1,final byte[] raw2 )    {        // A reference to this object, to be used in listeners        _imageScreen = this;

        setTitle("Blend and Save");

        // Convert the byte array to a Bitmap image        image1 = Bitmap.createBitmapFromBytes( raw1, 0, -1, 1 );        image2 = Bitmap.createBitmapFromBytes( raw2, 0, -1, 1 );        // Create two field managers to center the screen's contents        HorizontalFieldManager hfm1 = new HorizontalFieldManager( Field.FIELD_HCENTER );        HorizontalFieldManager hfm2 = new HorizontalFieldManager( Field.FIELD_HCENTER );        HorizontalFieldManager hfm3 = new HorizontalFieldManager( Field.FIELD_HCENTER );        // Create the field that contains the image//blend(image1, image2, 50/ 100.0)        imageField = new BitmapField(blend(image1, image2, 50/ 100.0) ){

           public int getPreferredWidth(){ return 250;}           public int getPreferredHeight(){ return 150;}

         };

        hfm1.add( imageField ); 

        GaugeField scroller = new GaugeField("Adjust (alt + < >)",0,100,50,Field.EDITABLE | Field.FOCUSABLE);        //scroller.setBackground( net.rim.device.api.ui.decor.BackgroundFactory.createSolidBackground(0x00000000));          scroller.setChangeListener( new GaugeFieldListener() );         hfm2.add(scroller);         // Create the SAVE button which returns the user to the main camera        // screen and saves the picture as a file.        ButtonField photoButton = new ButtonField( "Save" );        photoButton.setChangeListener( new SaveListener(raw1,raw2) );        hfm3.add(photoButton);

        // Create the CANCEL button which returns the user to the main camera        // screen without saving the picture.        ButtonField cancelButton = new ButtonField( "Cancel" );        cancelButton.setChangeListener( new CancelListener() );        hfm3.add(cancelButton);

        // Add the field managers to the screen        add( hfm1 );        add( hfm2 );        add( hfm3 );scroller.setFocus();//scroller.setValue(50);    }    public Bitmap blend( Bitmap bi1, Bitmap  bi2,                      double weight )        {

              if (bi1 == null)                       throw new NullPointerException("bi1 is null");

                if (bi2 == null)                       throw new NullPointerException("bi2 is null");

                int width = bi1.getWidth();            if (width != bi2.getWidth())                   throw new IllegalArgumentException("widths not equal");

               int height = bi1.getHeight();          if (height != bi2.getHeight())

                        throw new IllegalArgumentException("heights not equal");

         Bitmap bi3 = new Bitmap(width, height);         int[] rgbim1 = new int[width];         int[] rgbim2 = new int[width];         int[] rgbim3 = new int[width];

                for (int row = 0; row < height; row++)         {            // bi -> int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) 

             // bit - > int[] argbData, int offset, int scanLength, int x, int y, int width, int height) 

                       bi1.getARGB(rgbim1,0,width,0,row, width,1);//  row, width, 1, , 0, width);                       bi2.getARGB(rgbim2,0,width,0,row, width,1); 

                       //bi1.getRGB(0, row, width, 1, rgbim1, 0, width);                       //bi2.getRGB(0, row, width, 1, rgbim2, 0, width);

                       for (int col = 0; col < width; col++)                  {                              int rgb1 = rgbim1[col];                                int r1 = (rgb1 >> 16) & 255;                           int g1 = (rgb1 >> 8) & 255;                            int b1 = rgb1 & 255;

                          int rgb2 = rgbim2[col];                                int r2 = (rgb2 >> 16) & 255;                           int g2 = (rgb2 >> 8) & 255;                            int b2 = rgb2 & 255;

                          int r3 = (int) (r1 * weight + r2 * (1.0 - weight));                            int g3 = (int) (g1 * weight + g2 * (1.0 - weight));                            int b3 = (int) (b1 * weight + b2 * (1.0 - weight));                            rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;                     }                    //bi -> int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)                     //bit -> (int[] data, int offset, int scanLength, int left, int top, int width, int height)                      bi3.setARGB(rgbim3, 0, width, 0,  row,width, 1);

                    // bi3.setRGB(0, row, width, 1, rgbim3, 0, width);                }

             return bi3;    }

   /**    * Handles trackball click events    * @see net.rim.device.api.ui.Screen#invokeAction(int)    */       protected boolean invokeAction(int action)    {        boolean handled = super.invokeAction(action); 

        if(!handled)        {            switch(action)            {                case ACTION_INVOKE: // Trackball click.                {                                 return true;                }            }        }                return handled;              }

 /**    * A listener used for the "Save" button    */    private class GaugeFieldListener implements FieldChangeListener    {        public void fieldChanged(Field field, int context)        {          int value =  ((GaugeField)field).getValue(); if (value==0){return;}          imageField.setBitmap( blend(image1, image2, value/ 100.0) );          ((GaugeField)field).setLabel("Adjust (alt + < >)"+value);        }    }   /**    * A listener used for the "Save" button    */    private class SaveListener implements FieldChangeListener    {        /** A byte array representing an image */        private byte[] _raw1,_raw2;

       /**        * Constructor.        * @param raw A byte array representing an image        */        SaveListener(byte[] raw1,byte[] raw2)        {            _raw1 = raw1;            _raw2 = raw2;        }

       /**        * Saves the image as a file in the BlackBerry filesystem        */        public void fieldChanged(Field field, int context)        {            try            {                       // Create the connection to a file that may or                // may not exist.                FileConnection file = (FileConnection)Connector.open( FILE_NAME + _counter + EXTENSION );

                // If the file exists, increment the counter until we find                // one that hasn't been created yet.                while( file.exists() )                {                    file.close();                    ++_counter;                    file = (FileConnection)Connector.open( FILE_NAME + _counter + EXTENSION );                }

                // We know the file doesn't exist yet, so create it                file.create();

                // Write the image to the file                OutputStream out = file.openOutputStream();                out.write(_raw1);

                // Close the connections                out.close();                file.close();            }            catch(Exception e)            {                Dialog.alert( "ERROR " + e.getClass() + ":  " + e.getMessage() );            }

            // Inform the user where the file has been saved            Dialog.inform( "Saved to " + FILE_NAME + _counter + EXTENSION );

            // Increment the image counter            ++_counter;

            // Return to the main camera screen            UiApplication.getUiApplication().popScreen( _imageScreen );        }    }

   /**    * A listener used for the "Cancel" button    */    private class CancelListener implements FieldChangeListener    {       /**        * Return to the main camera screen        */        public void fieldChanged(Field field, int context)        {            UiApplication.getUiApplication().popScreen( _imageScreen );        }    }}

Yes, your original code:

for (int col = 0; col < width; col++){int rgb1 = rgbim1[col];int r1 = (rgb1 >> 16) & 255;int g1 = (rgb1 >> 8) & 255;int b1 = rgb1 & 255;

int rgb2 = rgbim2[col];int r2 = (rgb2 >> 16) & 255;int g2 = (rgb2 >> 8) & 255;int b2 = rgb2 & 255;

int r3 = (int) (r1 * weight + r2 * (1.0 - weight));int g3 = (int) (g1 * weight + g2 * (1.0 - weight));int b3 = (int) (b1 * weight + b2 * (1.0 - weight));rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;}

Labour Code:

for (int col = 0; col < width; col++)
{
int rgb1 = rgbim1[col];
int a1 = (rgb1 >> 24) & 255;
int r1 = (rgb1 >> 16) & 255;
int g1 = (rgb1 >> 8) & 255;
int b1 = rgb1 & 255;

int rgb2 = rgbim2[col];
int a2 = (rgb2 >> 24) & 255;
int r2 = (rgb2 >> 16) & 255;
int g2 = (rgb2 >> 8) & 255;
int b2 = rgb2 & 255;

int a3 = (int) (a1 * weight + a2 * (1.0 - weight));
int r3 = (int) (r1 * weight + r2 * (1.0 - weight));
int g3 = (int) (g1 * weight + g2 * (1.0 - weight));
int b3 = (int) (b1 * weight + b2 * (1.0 - weight));
rgbim3[col] = (a3 << 24) | (r3 << 16) | (g3 << 8) | b3;
}

Tags: BlackBerry Developers

Similar Questions

  • I am able to install a membership on two computers? (My work and home computers) or I have to buy twice?

    I am able to install a membership on two computers? (My work and home computers) or I have to buy twice?

    Hello Rafal,

    You are allowed to install membership creative cloud on two computers, you do not have to buy it again.

    Please visit: https://helpx.adobe.com/creative-cloud/faq.html

    Concerning

    Bianka Attre

  • I'm in charge of a non-profit that uses Adobe Creative Suite 5. I have the software. but no product key. They want to have this facility on a new computer. I don't mean the software on the computer that works and not being able to get it insta on wreck

    I'm in charge of a non-profit that uses Adobe Creative Suite 5. I have the software. but no product key. They want to have this facility on a new computer. I wouldn't destroy the software on the computer that works and not being able to get installed it on the new computer. Help, please.

    Tony

    To reinstall the software, you will need the serial number. Please see this link:quickly find your serial number.

    Guinot

  • The computer I use at work is a PC. I know that you are allowed to install programs on two computers, a computer work and a laptop. My laptop is a Mac. Is it possible to install the second copy on a Mac?

    I don't know if I'm in the right forum for this question, but I don't know where else to ask about installation on platforms. Thus, the computer I use at work is a PC. I know that you are allowed to install programs on two computers, a computer work and a laptop. My laptop is a Mac. Is it possible to install the second copy on a Mac?

    What exactly Adobe product?

    Clouds: Yes.

    Creative Suite: No.

  • Over the image doesn't work is not in the navigation bar

    I created over the images for my navigation bar. The top image is all that shows - even when I mouse - above or click the button. Thanks for your help!

    Jim

    "'MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1)' onmouseover =" MM_nbGroup ('more', 'WhatWeDo', ' Images_and_Video/WhatWeDo_Over.gif', 'Images_an d_Video/WhatWeDo_Over.gif', 1) "onmouseout =" MM_nbGroup ('out') "> < img src =" Images_and_Video/WhatWeDo_Up.gif "alt ="homepage link"name ="WhatWeDo"width ="161"height ="39"border ="0"id ="Home"onload =" "/ > < /a > < table >"
    < /tr >
    < b >
    "" "< td > < a href ="whoweare.html"target ="_top"onclick =" MM_nbGroup('down','group1','WhoWeAre','Images_and_Video/WhoWeAre_Over.gif',1) "onmouseover =" MM_nbGroup ('more', 'WhoWeAre', ' Images_and_Video/WhoWeAre_Over.gif', 'Images_an d_Video/WhoWeAre_Over.gif', 1) "onmouseout =" MM_nbGroup ('out') "> < img src =" Images_and_Video/WhoWeAre_Up.gif "alt =" who we are navigation link"name ="WhoWeAre"width ="161"height ="39"border ="0"id = onload 'Test' =" "/ > < /a > < table >

    I'm sorry to tell you that the first thing you need to do is to get rid of
    the method that you used. It is quite ancient and has been designed for box
    pages. It adds a bit of extra code (of which a part is not valid)
    your page than the alternative of using an image quite ordinary swaps for
    your menu.

    So, just create your menu from the top images in each row and use Swap of DW
    the behavior of the image on each.

    And put some tape on this option on the navigation bar, so that you do not use
    Once again!

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "JRStaf4ord" wrote in message
    News:gb85gs$5E$1@forums. Macromedia.com...
    > I created over the images for my navigation bar. The top image is everything
    > who
    > shows - even when I smile - above or click the button. Thank you for your
    > help!
    >
    > Jim
    >
    >
    > 'MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1) '.
    > onmouseover = "MM_nbGroup ('more', 'WhatWeDo', ' Images_and_Video/WhatWeDo_Over.gif',')"
    (> Images_and_Video/WhatWeDo_Over.gif',1) ".
    > onmouseout = "MM_nbGroup ('out')" > "<>
    > src = "Images_and_Video/WhatWeDo_Up.gif" alt = "link to the home page"
    > name = 'WhatWeDo.
    "" > width = "161" height = "39" border = "0" id = onload 'House' = "" / >
    >
    >
    >
    > onclick = "MM_nbGroup (" down "," group1', ' WhoWeAre ',' Images_and_Video/WhoWeAre_Over.g ")"
    (> if', 1) ".
    > onmouseover = "MM_nbGroup ('more', 'WhoWeAre', ' Images_and_Video/WhoWeAre_Over.gif',')"
    (> Images_and_Video/WhoWeAre_Over.gif',1) ".
    > onmouseout = "MM_nbGroup ('out')" > "<>
    ' > src = "Images_and_Video/WhoWeAre_Up.gif" alt ="who we are navigation link.
    "" > name = "WhoWeAre" width = "161" height = "39" border = "0" id = onload "Test =""
    > />
    >

  • If flash player problem, there is nothing wrong to do a system restore when he was working and not day of flash player, but firefox update?

    flash player update and update of firefox is not compatible. Do not play videos or connect to web sites and freezes... Solved by doing an update of windows system where he was working. This gives you a work of flash player, and you don't update and cancel the automatic updates. You can update firefox. A simple solution, just type in system restore in the start menu and follow the directions. Worried if there are drawbacks.

    Thanks for the replies. Here is my story: after the update of firefox and flash player June 22, I was unable to use my computer effectively. I am retired and use the computer for research, the entertainment and recreation. and I could not reach sites, found sites gel, could not play videos or hear telephone conferences. I tried to replace the flash player with older versions of the flash player, but kept receiving messages that the installation failed and I needed to install the latest version, I tried to get rid of. I also reinstalled firefox and flash player disabled player real and cleared the cache and cookies. I did not disable the protected mode which seemed complicated, I knew how to clear cookies in firefox at the time here.
    I decided to do a system restore before June 22. I have found that installing and reinstalling and put to date had exhausted most of my system restore dates, but I was able to find one on June 3 and he ran. If other people will try this fix, they should do it before he runs of dates.
    The fix worked, and I have not seen any bad effects. I have no files or important data. I see that this could be a problem. However the difficulty of making a system restore is running much less than firefox in safe mode or some of the other methods of obtaining an older flash player which I have been unable to do. Also I don't know how to disable the protected mode or quick acceleration, but I see that people should be judged with the fix of real player before doing a system restore which seems to be a last resort, for your comments.
    I was more concerned about security than with the loss of data. It seems that adobe tries to protect firefox users of problems with viruses with protected mode, and using the flash in prior non-protected mode was what I've been concerned. However, if I couldn't use the computer, the protected mode was not any help. I could stop and protected him, also. I didn't suggest others to do this fix if it was dangerous, but for me it was quick and easy to a moment that I was about to give up. I wanted others to know about it, because it works, but I didn't want to be the cause of unintended consequences. So I guess I have found, use the fix at your own risk and try first the other sollutions.

  • Images licensed as Illustrator and not JPEG?

    When I image licensing I have it selected records in illustrator file and not a jpeg file. How can I fix it?

    Yyou must open in illustrator and save it as a jpg file. You can check the file types before their approval by going to the image details. He said what type of file it is.

    If you only want to jpg files, then uncheck the vectors among search options.

  • image of renowned works do not or not showing not...?

    When I go and publish the image scrolling text, there is not no matter what image showing ob website and any browser, so I want to talk about muse support team they tell you to contact you then please help me with this...?

    Here is the video link for you

    Marquee in Muse - YouTube

    Here is the code used by me in the video.

    Concerning

    Vivek

  • I must have Java work and it seems to be blocked despite trying "subject: config.

    My site main Chessbase News I watch games only if Java is on but the message says Java is not enabled. It worked yesterday without any problem.

    Do you mean Java (Java plugin) or JavaScript that is more widely used?

    To avoid confusion:

    Make sure that JavaScript is enabled and that it is not blocked.

    • Javascript.enabled preferences must be true on the topic: config page

    You can try the following steps in case of problems with web pages:

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • is there an alternative photo management system that works (and NOT the pictures)

    Y at - it another app that works better than the pictures, that we can use to manage the photos, because they took iPhoto and replaced it with pictures?  Is there a way just to import photos and save them to your computer in folders, as you would on a Windows system? And then maybe just use Picasso or something?

    You can still use iPhoto if you are eligible:

    Terence Devlin

    April 14, 2015 14:21

    Re: Iphoto's gone? I want to go back!

    Go to the App Store and check out the shopping list. If iPhoto is there then it will be v9.6.1

    If it's there, then drag your existing iPhoto application (not the library, just the app) in the trash

    Install the application on the App Store.

    IPhoto is sometimes not visible on the shopping list. It may be hidden. See this article for more details on how to view it.

    http://support.Apple.com/kb/HT4928

    A question often asked: Will I lose my Photos if I reinstall?

    iPhoto, the application and the iPhoto library are two different parts of the iPhoto program. So, reinstall the application should not affect the library. BUT you should always have a back up before doing this kind of work. Always.

  • Win runing XP two monitors in DualView mode and not remembering the last size and location of the records? How to solve this problem?

    I am running WinXP SP3 with two monitors running in DualView Mode and everything worked as expected until I installed the latest NViDIA drivers.

    After the update of the pilot, all windows and folders open centered on the main display and all pop-up windows from any open window, centered on the secondary display.

    Any changes to the size and the location of the windows and/or files is not saved.

    I searched the Internet for solutions and found nothing.  I tried Microsoft FixIt to the more obvious (said) problem similar to mine and it did not fix the problem.

    I finish the registery fix suggested and it fixed the problem.

    Any suggestions?

    Please notify.

    Roger P. Hendrix

    Hi Roger,

    1. have you tried to uninstall the Nvidia drivers (if you do not want to make install)?

    Follow these steps and check if the problem persists.

    Step 1:

    Uninstall the Nvidia drivers and check if that helps.

    a. Click Start, click Run and then type devmgmt.msc.
    b. right click on my computer and click on manage, and then click Device Manager.
    c. right click on my computer, click Properties and click the Hardware tab, then click Device Manager.
    d. click right Nvidia drivers and uninstall it.

    Step 2:

    Do e restor systemto the point that your computer was working normally and check if that helps.

  • Satellite L650 - DVD player does not work and not visible in my computer

    Hello

    recently, I noticed that my dvd on my toshiba drive does not work.
    This isn't even apper in the 'My Computer' folder.
    And when I put a cd or dvd in the drive, it does nothing... Here is the screen of "My computer":

    http://img267.imageshack.us/img267/8458/31854306.jpg

    He had previously worked, but I don't use dvd for a long time player and when I tried yesterday it did not work...

    Hello

    You need to remove the upper and lower registry filters.
    But before doing so, please remove the CD/DVD drive in Device Manager.

    Then start the registry (regedit) and then remove the filters above and below this key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    Then restart the laptop

    I think this should help you

    Good luck

  • RMAN delete policy has not worked and not delete outdated backup

    Hi all

    I am facing a problem this obsolete backup is not delete unwanted backup.

    I used to take level 0 once weekly and cumulative incremental in 3 times a day.

    I have 2 TB hard drive, every week, I used the backup from command remove obsolete based file can delete based on my redundancy strategy 1.

    The previous week it works fine and deleted obsolete backup based on the deletion policy. but this week when I try to use the delete obsolete command, it is not removed and the hard drive is always full and I couldn't take later backup.

    It's live server, I need to take the free space on the hard drive. Please help me.

    You will find details of error that I met in the log file.

    output channel: C1

    output channel: C2

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of backup so archivelog command at 05/05/2015 10:57:14

    ORA-19502: write error on file 'G:\RMAN\AWSPROCESS\BACKUP\AWSPROCESS\BACKUPSET\2015_05_05\O1_MF_NNND1_TAG20150505T090032_BNJGC9RR_. BKP", the number of block 7227648 (block size = 8192)

    ORA-27070: async read/write failed

    OSD-04016: error queuing an asynchronous i/o request.

    S/O-error: (OS 112) there is not enough space on the disk.

    Your backup on May 02 is not a valid backup, then you can try something like:

    RMAN > delete database backup completed after 'sysdate-6 ";

  • Russel Brown Image Processor Pro works is not about Photoshop CC 2015.5.0

    Hi all

    I went to install Russell Brown Image Processor Pro 2.3.1 on my Adobe Bridge / Photoshop CC. I have a Mac computer and that you have installed manually (by following the steps described in the provided Pdf) the Image Processor Pro by dropping plug-ins in their designated files.

    Now, once I did, the Image Processor Pro is displayed in the menu drop-down from the bridge, and when I press on it (once), the only thing it does is to start the Photoshop application without further intervention. There is not a pop-up of any kind.

    I have the latest version of Photoshop CC 2015.5.0.

    My question is, does anyone know a workaround for this problem?

    Thank you

    Update: for what it's worth, I managed to find a Dr. Browns Services facility, and who install it on the site of Adobe here: https://creative.adobe.com/addons/my_addons

    It has an option to install it, which is what I did, and that's available on the CC bridge, however with the warning.

    Whenever I get close the bridge and then run it again, a pop up appears to indicate this:

    I click Yes, and then go the preferences at the bridge, as part of Startup Scripts, activate the Services of RD Browns. I close the bridge, start it again, then get this popup:

    I choose ok, Bridge opens, I go to tools and in its menu, there is Image Processor Pro Dr Browns Services and fully operational.

    As long as I never close the bridge, Image Processor Pro is still there, but whenever I close the bridge, I need to follow the same steps above here.

    Hope this can help someone out there.

  • COLLECT sqlplus works and not SQL Developer?

    I actually had a few problems with SQL Developer acting differently from SQLPlus and VB/ODBC {Oracle in OraHome92}. For example, SQL Developer does not require parentheses around CASE... END, but my VB using OraHome92 application only.

    But for now, my problem is with the help of COLLECTING to the aggregation of the chain.

    It works in SQLPlus SQL Developer. Is my SQL or is there a SQL Developer problem?
    SELECT
      GRGR.GRGR_ID AS Group_ID,
      Collect(SBSB.SBSB_ID) AS Subscribers
    FROM
      FACETS.SBSB_SUBSC SBSB
      INNER JOIN FACETS.GRGR_GROUP GRGR ON GRGR.GRGR_CK = SBSB.GRGR_CK
    GROUP BY GRGR.GRGR_ID
    ;
    It gives me the following error in SQL Developer:
    ORA-00932: inconsistent data types: expected NUMBER obtained -
    00932. 00000 - ' incompatible data types: wait %s %s got. "
    * Cause:
    * Action: >



    However, it runs properly in SQLPlus:
    SQL> SELECT
      2    GRGR.GRGR_ID AS Group_ID,
      3    Collect(SBSB.SBSB_ID) AS Subscribers
      4  FROM
      5    FACETS.SBSB_SUBSC SBSB
      6    INNER JOIN FACETS.GRGR_GROUP GRGR ON GRGR.GRGR_CK = SBSB.GRGR_CK
      7  GROUP BY GRGR.GRGR_ID
      8  ;
    
    GROUP_ID
    --------
    SUBSCRIBERS
    --------------------------------------------------------------------------------
    
    QTP00001
    SYSTPraDLHLal0MzgQ6X99ArQzA==('QTP054650', 'QTP054655')
    What is the problem here?

    Edit-
    It is. Of course. greatly simplified how I will use it effectively, but I wanted to get a job simplified case before proceeding.

    Published by: GuySmily on September 23, 2011 14:11

    Hello

    The following thread answering your question:
    COLLECT the bug?

    You must cast IT explicitly the collection in SQL Developer. Apparently in SQL * more than implicitly, but we cannot do it on JDBC.

    Kind regards
    Gary Graham
    SQL development team

Maybe you are looking for