Group,
I have solved the problem. I had to put the images into the
application pacakage.
I have one question. Is it possible to push images into the /data/
local/tamp folder and then use them across several applications?
Thanks,
Dipen
On Sep 12, 4:11 pm, Dipen <[EMAIL PROTECTED]> wrote:
> Team,
>
> I want to change the default icon that appears on Alert Dialog box.
> Here is my code:
>
> public void onClick(View view) {
> Drawable d =
> Drawable.createFromPath("/data/local/tmp/images");
> new AlertDialog.Builder(this)
> .setIcon(d)
> .setTitle("Attention")
> .setMessage("Some Message")
> .setNeutralButton("Close", new
> DialogInterface.OnClickListener() {
> public void onClick(DialogInterface dlg, int sumthin) {
>
> }
> })
> .show();
> }
>
> I have pushed .png image.
>
> No errors but i don;t see the change.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---