03-18-2011 02:06 AM
I am very Happy to read this post that my code is working fine in your simulator.
Can you tell me on which simulator you tested this code and give me download link for that simulator.
For your information i send you the photo and frame which i used for doing so and couple of images of screenshot of my simulator.
03-18-2011 05:55 AM
Tested in Simulator 188.8.131.52 and 184.108.40.2067 available from the usual place:
03-18-2011 11:15 AM
I got exactly the same results than Albert_Anks using simulators 220.127.116.11, 18.104.22.168, 22.214.171.1247 and a Storm with OS 5.0.
I also tested on a real 126.96.36.199 and the same happened, It doesn't work. I think you have a bug here... You should report it in the issue tracker.
Did you get different results Peter?
03-18-2011 12:46 PM
I think I got correct results - see the image attached to my previous post to confirm.
I am running Win XP and JDE. I have not tested on a real device.
When you say you got the same results as OP, do you mean it fails on OS 6.0 Torch but is OK on OS 5.0?
03-18-2011 04:40 PM
Yes Peter, the same code is working in OS5 but isn't in OS6.
I used the simulators in Eclipse, JDE, stand alone, running code copiles for OS5 in OS6 and got the same results every time. I'm using:
BlackBerry Java Plug-in Eclipse 1.3.0
And the simulators I told you: 141, 246 and 337.
¿What can be different?
03-18-2011 07:17 PM
¿What can be different?
indeed. A very good question.
Perhaps I am just doing it in the wrong order. I start the app, the picture displays OK, I press the RL or RR button, the picture displays sideways. That is it. Am I missing something?
03-19-2011 02:05 AM
This Sign indicate that i am very Happy cause, i have found the exact problem when i post images to you.
the actual problem is in encoding type. i have use jpg image (photo) with change its extension to PNG,
and use PNGncodedImage to encode the blending image, so in 6.0 OS it can not get the right extension to encode the image.
So i have changed my code and use JPEGEncodedImage to encode the image and it works fine.
When i post photo images to you, at that time i found the error in attachment.
ERROR :- WrongImageFormatException.title
03-19-2011 03:14 AM
OK! Now I understand the diference: how did Peter, Albert and I add the images to the project.
Thanks for the solution for the problem Albert. Thanks for the help Peter, I'm sure that was what leaded Albert to the correct question and answer.
11-20-2012 07:46 AM
I am Nagarjuna , I searched many times for blending an image but i couldn't .
So , Please send me the code for blending an Image.
Thanks & Regards,