i need to test on the emulator . so somewhere i found android doesnt support SVG .
actually i need to display maps (like google map) .will i have to d any kind of coding On Fri, Aug 7, 2009 at 9:21 PM, Balwinder Kaur (T-Mobile) < [email protected]> wrote: > > Where are you trying to read the image from ? > > 1. If it is packaged with your apk, you can retrieve it by accessing > the Resources. > Resources res = mContext.getResources(); > Drawable myImage = res.getDrawable(R.drawable.my_image); > It can also be done all in XML. There is more info here: > http://developer.android.com/guide/topics/graphics/2d-graphics.html > > 2. If it is part of the MediaStore (which has access to images on the > device's internal and external storage devices like the SDCARD) > MediaStore.Images.Media.getBitmap(...) > > 3. If you are trying to download it from a server, you would need to > use something like shown here.. > > > http://getablogger.blogspot.com/2008/01/android-download-image-from-server-and.html > > Where are you trying to display the image ? > You can check out using ImageView or using the draw methods to create > a Custom View. > http://developer.android.com/reference/android/widget/ImageView.html > http://developer.android.com/reference/android/view/View.html > > Hope this helps, > Balwinder Kaur > Open Source Development Center > ·T· · ·Mobile· stick together > > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > > ldo <[email protected]> wrote: > > Hi all, > > > > i want to write an application which can display an image > > (jpeg,png...) . as a begginer i dont know which are the api's that can > > be used .could you give me your valuable suggestions . > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

