> > I need help > Yes you do... This is the fourth time you have asked this question and you have gotten answers.
No one is going to give you the code. You are going to have to use that thing on top of your neck called a head and do some thinking... You have asked this before and gotten answers... Now go do some work. i am trying to send image from my java code on Pc to my android code, but > does not workssince android does not support javax.imageio.*; package tell > me the other way to do it. > STOP HIJACKING THREADS TO ASK YOUR OWN QUESTIONS!!! THIS IS THE SECOND TIME YOU HAVE DONE THIS. IT IS RUDE AND INCONSIDERATE. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at 3:05 PM, Sumit Tiwari <[email protected]> wrote: > Hey , It Free the native object associated with this bitmap, and clear the > reference to the pixel data. > > I need help , > i am trying to send image from my java code on Pc to my android code, > but does not works > since android does not support javax.imageio.*; package tell me the other > way to do it. > > > On Tue, Mar 20, 2012 at 8:28 PM, bob <[email protected]> wrote: > >> I'm looking at some of the samples in apidemos, and I saw this: >> >> Bitmap bitmap; >> >> try { >> >> bitmap = BitmapFactory.decodeStream(is); >> >> } finally { >> >> try { >> >> is.close(); >> >> } catch (IOException e) { >> >> // Ignore. >> >> } >> >> } >> >> GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0); >> bitmap.recycle(); >> >> >> Anyone know why they are calling bitmap.recycle()? Is that really >> necessary? Isn't the garbage collection automatic? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

