The images goes into the apk. You have to put the images in the drawable folder from resource and if you want to use it:
Drawable image= getResources().getDrawable(R.drawable.<id>); or Bitmap b = BitmapFactory.decodeResource(getResources(),R.drawable.<id>); El 27/08/2009, a las 23:02, Justin Anderson escribió: > I may be wrong but I don't think you need the full path of where > they are on the device... You should be able to reference them > using the R class. > > On Thu, Aug 27, 2009 at 6:11 AM, Latha Shivanna <latha...@gmail.com> > wrote: > > Hii All, > > In my application, I have some image files under "res\drawable" > folder. > > My problems are in getting their full pathname. > > Can anybody please answer my following queries? > > 1. Do these files go as a part of apk? > 2. If so where do they actually stay on device? Is it > "/data/data/(package)/files" ? > 3. If I have a function which needs the full path of these image > files, how should I mention it ? > 4. Or do i need to keep my image files under "asset"? If so, what is > the full path of these images on the device? > > Please do suggest. Would appreciate your help! > > Thanks > Latha > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---