Naming Android Packages

Appportunity

Build your own Android App Dev Empire

Get Instant Access

You define the package within the Android manifest file in the <manifest> tag, using the package attribute, as follows:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

package="com.androidbook.droid1'

android:versionCode="11

android:versionName="1.0">

If you use the Android project wizard in Eclipse to create a project, you must fill in the package name at that time. That package name is used in the default Android manifest file.

Was this article helpful?

0 0

Post a comment