View Single Post
  #4 (permalink)  
Old March 20th, 2010, 12:28 PM
Reto's Avatar
Reto Reto is offline
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts
Default

You get to make it up! Java packages need to be unique (and Java's heritage is the Internet) so generally people would create package names based on their websites (they don't have to be though -- anything likely to be unique is fine).

For examples in the book I use com.paad.projectname -- for instance com.paad.earthquake or com.paad.todolist. Google uses com.google.android.apps.projectname. You can use whatever you want!

Most people like to use com.<mycompany>.<projectname> - that's what I recommend you do.
__________________
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, ©2012, 2010, 2008
@retomeier
Reply With Quote