[android-developers] Log in a file

2010-07-24 Thread ReyLith
Hi, I'm developing an image editor application for Android. I have a big problem: I haven't a mobile with Android. I found a person that helps me to test the application and I found many problems. The application works in the emulator perfectly but in the mobile the application constantly

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-24 Thread ReyLith
and put a BitmapConfig constant in that that specifies the type of internal representation you want.  If you use ARGB_ then each pixel will be 64 bits.  ARGB_ -- 32 bits, RGB_565 -- 16 bits. On Jul 23, 12:21 pm, ReyLith jesus...@gmail.com wrote: Thanks Nathan. With this option I can

[android-developers] Re: How to use repaint() method in Android...

2010-07-23 Thread ReyLith
I'm not sure but I think that if you use invalidate(), onDraw function will be called. On 22 jul, 10:18, blessu76 bless...@gmail.com wrote: Hi If i use repaint() method.I got error message. What is the solution for that.Can we use repaint() in android.If not what is the alternate solution for

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-23 Thread ReyLith
Hi again, I'm trying to put a message when the image is so big. For this I think to obtain the size of the file and compare it with the free memory Runtime.getRuntime().getFreeMemory()). It works well but I have a new problem. The application show an error message with some images because they

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-23 Thread ReyLith
number of bits in the file is considerably less than the (width * height * depth) number that represents the raw image. On Jul 23, 7:27 am, ReyLith jesus...@gmail.com wrote: Hi again, I'm trying to put a message when the image is so big. For this I think to obtain the size of the file

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-23 Thread ReyLith
/intl/de/reference/android/graphics/Bitma... Nathan On Jul 23, 9:30 am, ReyLith jesus...@gmail.com wrote: So, how can I obtain the depth for know if I can work with the image? On 23 jul, 18:18, DanH danhi...@ieee.org wrote: The size of an image file depends greatly on the compression

[android-developers] OutOfMemoryError with Bitmap

2010-07-22 Thread ReyLith
Hi, I'm developing an image editor for Android. When I do some operations with small pictures (600x600 - 1024x768), the program work well. But when I do some opeations with big pictures, I always obtain an OutOfMemory Error. I read read many post trying to have the image in memory. Also I looked

[android-developers] Re: How to obtain ID of an image by the id of the thumbnails?

2010-07-22 Thread ReyLith
Thanks. However I achieve it by MediaStore.Images.Thumbnails.getThumbnail, so now I haven't to match the databases of Images and Thumbnails. On 15 jul, 18:43, Tabman tabishfay...@gmail.com wrote: IMAGE_ID of the Thumbnail record is the id of the original image. On Jun 25, 2:27 pm, ReyLith

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-22 Thread ReyLith
it up before opening it in your program) and the piece these back together in a similar fashion to the Google Map tiles. On Jul 22, 1:12 pm, ReyLith jesus...@gmail.com wrote: Hi, I'm developing an image editor for Android. When I do some operations with small pictures (600x600 - 1024x768

[android-developers] Re: How to obtain ID of an image by the id of the thumbnails?

2010-06-26 Thread ReyLith
Nobody? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: Save image on SD card

2010-06-26 Thread ReyLith
Nobody? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] How to obtain ID of an image by the id of the thumbnails?

2010-06-25 Thread ReyLith
Hi! I'm developing an image editor for android. In the main activity, I get to show all images by viewing the thumbnails to make the process faster. The problem it's that I need to process the image later and I would get the normal image ID (with the original size, which I think is in

[android-developers] Save image on SD card

2010-06-23 Thread ReyLith
Hi! I'm developing an image editor on android. I have a problem when I have to save the image. If I save the image with a outputstream, I can save the image but my program and android's gallery can't see the new image. If I save the image with MediaStore.Images.Media.insertImage, I can see the

[android-developers] Permission

2010-04-20 Thread ReyLith
Hi! I am devoloping an application of image editor. I allways do it by using the resources in the drawable carpet. Now I changed it to use the resources in the SD card. I don't change the code of the image access but the program allways produce an error if I intent to set the value of a pixel. The

[android-developers] Permission

2010-04-19 Thread ReyLith
Hi! I am devoloping an application of image editor. I allways do it by using the resources in the drawable carpet. Now I changed it to use the resources in the SD card. I don't change the code of the image access but the program allways produce an error if I intent to set the value of a pixel.

[android-developers] Finish activity

2010-04-04 Thread ReyLith
Hi! I have a problem with my application. During the execution of it, I have some buttons which execute other activities when I click on them. The way I am realising it is: private OnClickListener scaleImage = new OnClickListener() { public void onClick(View v) { Intent

[android-developers] How can I do it?

2010-03-21 Thread ReyLith
Hi! I am developing an image editor for Android OS. I want to resize the image and I know how can I do it. The problem is the way I want to do it. I want two scrools in the screen representing the horizontal and vertical size and initiality located in the middle of the scrools. If I move any of

[android-developers] Modify the value of pixel

2010-03-21 Thread ReyLith
Hi! I am trying to modify the value of the pixel of an imagen. I have achieved it using the functions getPixel and setPixel of Bitmap. Now I have a questions. I want to realise many operations with the pixels of an image and I need that such operations are done quickly. What is better to use the

[android-developers] Re: Image Edition

2010-03-15 Thread ReyLith
Thank for you respond. I am already using intent for moving from one activity to another and I have declared it in the androidmanifest. The code that I am using is the following: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: Image Edition

2010-03-15 Thread ReyLith
one activity to another activity. On Mon, Mar 15, 2010 at 2:26 PM, ReyLith jesus...@gmail.com wrote: Thank for you respond. I am already using intent for moving from one activity to another and I have declared it in the androidmanifest. The code that I am using is the following

[android-developers] Image Edition

2010-03-14 Thread ReyLith
Hi! I am starting in programming with Android. The first that I am doing (later of reading the main tutorials in the official page and later of executing the hello word example and so on) is to realise an image editor application. I am having many problems with different parts. The first that I

[android-developers] Image Editing

2010-03-02 Thread ReyLith
Hi! I'am starting with Android SDK. I want to develop a image editing software but I don't find any computer vision library to Android SDK. I see that I can use C/C++ code with Android NDK and I can use OpenCv library. Do you think that it is the better option?. Thank. A greeting. -- You