Android Application Tutorial                                          How to change the icon  Instructed on: 24-Feb-2012 |...
• Create a new project as we learned before.• Don’t change anything in the code.• Notice where will your project be saved....
This is my new project. Expand it.Expand the res file to see the three drawable files where you are going tosave any pictu...
• My default location where my workspace  exists is the (C:) drive.• You can have a different location but if you  have th...
Whatever your computer name is 
Choose the project you are working on.
Choose any of the three files.I’ll choose the drawable-hdpi.
• If you want to get the best resolution and a  clean image you can specify the size of your  picture.• In Low definition ...
This is the original icon which I want to change.
• Now you can save any picture here in this file  or you can open any program to draw your  own picture.• The picture is p...
This is a simple picture that I draw.
The location where the drawable               files exit.       It must be a lower case       name.Preferred to be saved a...
Here is the new icon.
• Now go to your project in Eclipse again.
Expand the drawable file where you saved yourpicture and probably you won’t find it so:
Clean here is just like a refresh button.
Choose the project you are working on.
After Cleaning your project, the picture willappear in the drawable file.
Now go to this file.
Choose this tab.
Change the old icon name to the newone.
Save
Run as
• You are supposed to have created the AVD  (emulator) from our last tutorial.• The emulator will run like that:
Slide to unlock
Here is our applicationwith its icon changed 
You can see the icon changed here too.
• You may not find your application on the first  time you run your emulator but it is ok you  can try to: 1- Close the em...
Yasmine Sherif EL-Adly @YasmineSherif91+Yasmine Sherif EL-Adly
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Android application (how to change the icon )tutorial #2
Upcoming SlideShare
Loading in...5
×

Android application (how to change the icon )tutorial #2

40,406

Published on

Tutorials to show you how to change the icon of your Android Application.

16 Comments
8 Likes
Statistics
Notes
No Downloads
Views
Total Views
40,406
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
185
Comments
16
Likes
8
Embeds 0
No embeds

No notes for slide

Android application (how to change the icon )tutorial #2

  1. 1. Android Application Tutorial How to change the icon Instructed on: 24-Feb-2012 | Tutorial: #04 4  By : Yasmine Sherif Mahmoud Tutorial Code: APS-04-2012All Copy Rights Saved to the 7th Students’ Conference on Communication and Information Based in the Faculty of Computersand Information Cairo University – Egypt 2011/2012 www.scci-cu.com
  2. 2. • Create a new project as we learned before.• Don’t change anything in the code.• Notice where will your project be saved. (The workspace location).• Follow the following steps :
  3. 3. This is my new project. Expand it.Expand the res file to see the three drawable files where you are going tosave any pictures.hd represents high definition pictures.ld represents low definition pictures.md represents medium definition pictures.
  4. 4. • My default location where my workspace exists is the (C:) drive.• You can have a different location but if you have the same location go to (C:).
  5. 5. Whatever your computer name is 
  6. 6. Choose the project you are working on.
  7. 7. Choose any of the three files.I’ll choose the drawable-hdpi.
  8. 8. • If you want to get the best resolution and a clean image you can specify the size of your picture.• In Low definition use a 40x40 cm picture.• In Medium definition use a 100x100 cm picture.• In High definition use a 150x150 cm picture.• In this tutorial I’m not going to specify the size of the picture. It will be resized automatically.
  9. 9. This is the original icon which I want to change.
  10. 10. • Now you can save any picture here in this file or you can open any program to draw your own picture.• The picture is preferred to be a .PNG or .GIF or .JPEG• I’m going to open the Paint program to draw a simple icon and save it in this file.
  11. 11. This is a simple picture that I draw.
  12. 12. The location where the drawable files exit. It must be a lower case name.Preferred to be saved as a PNG image.
  13. 13. Here is the new icon.
  14. 14. • Now go to your project in Eclipse again.
  15. 15. Expand the drawable file where you saved yourpicture and probably you won’t find it so:
  16. 16. Clean here is just like a refresh button.
  17. 17. Choose the project you are working on.
  18. 18. After Cleaning your project, the picture willappear in the drawable file.
  19. 19. Now go to this file.
  20. 20. Choose this tab.
  21. 21. Change the old icon name to the newone.
  22. 22. Save
  23. 23. Run as
  24. 24. • You are supposed to have created the AVD (emulator) from our last tutorial.• The emulator will run like that:
  25. 25. Slide to unlock
  26. 26. Here is our applicationwith its icon changed 
  27. 27. You can see the icon changed here too.
  28. 28. • You may not find your application on the first time you run your emulator but it is ok you can try to: 1- Close the emulator and run it again. *if nothing changed: 2- Open the main.xml file and clean the project then re-run the emulator again.
  29. 29. Yasmine Sherif EL-Adly @YasmineSherif91+Yasmine Sherif EL-Adly
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×