Yes, Anyhow i got the solution according to my requirement.
Thanks for quick response.

Thnanks,
Sripati

On Thu, Nov 11, 2010 at 6:45 PM, Kostya Vasilyev <[email protected]> wrote:

>  Ah, so you just needed to access a resource by string, not numeric, id.
>
> Yes, that's the trick.
>
> -- Kostya
>
> 11.11.2010 15:59, Sripati Misra пишет:
>
> Yes I got the solution. Please go through this link :
> http://steven.bitsetters.com/2007/11/27/accessing-android-resources-by-name-at-runtime/
> Here after getting id, we can use anywhere.
>
> Thanks,
> Sripati
>
> On Thu, Nov 11, 2010 at 3:41 PM, Kumar Bibek <[email protected]> wrote:
>
>> You cannot do that way.
>>
>>  On Thu, Nov 11, 2010 at 3:36 PM, Sripati Misra 
>> <[email protected]>wrote:
>>
>>>  Hi,
>>>
>>> I want to show image from drawable folder using path
>>> (res/drawable/icon.png). I do not want to use R.drawable.icon.
>>> Please anybody know how to view the image using res/drawable/icon.png.
>>>
>>> Thanks,
>>> Sripati
>>>   --
>>> 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]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>> Kumar Bibek
>> http://techdroid.kbeanie.com
>> http://www.kbeanie.com
>>
>> --
>> 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]<android-developers%[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
>
>
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget -- 
> http://kmansoft.wordpress.com
>
>  --
> 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]<android-developers%[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

Reply via email to