background image
Original Author Paul Laughton, 2011
Page 229
De Re BASIC!
used to re-sample the icons to the proper sizes and to save them as .png files. If you are not going to put
your application on the Google Play Store then you do not really need to worry about getting this exactly
right.
To get your icon into your application, in res, open drawable-ldpi, drawable-mdpi, drawable-hdpi.

For each of the icon sizes:
1.
Outside of Eclipse, copy the icon file
2.
In Eclipse, right click on the appropriate drawable- for the copied icon's size
3.
Select Paste
4.
Right click on the icon.png file and delete it
5.
Select the newly pasted icon and rename it to "icon.png" by selecting File -> Rename.
Yes, it is tedious work.
Modifications to the AndroidManifest.xml File
The AndroidManifest.xml file defines many aspects of how your application is built, and how it is
presented to the Android system. For example, when you changed the package name, Eclipse wrote the
change into the Android manifest.
You can build and run your application with no further changes to AndroidManifest.xml. However, the
manifest carries information that your application may not need. You should customize it to suit your
application.
In the Package Explorer, find the AndroidManifest.xml file. Double-click to open it: