Java package convention

I'm developing an Android project which currently has 4 packages:

com.myapp.app.activities
com.myapp.app.db
com.myapp.app.ws
com.myapp.app.utils

Would I be able to create an additional package which is just

com.myapp.app

?

Eclipse isn't letting me create this package. It tells me a package with this name already exists.

If I start a new project and create a package called "com.testing.app" and then create a new package called "com.testing.app.activities" afterward, it works fine.

For Android developers:

What I'm wanting to do is extend the Application class and have it in a separate package. Suppose com.myapp.app can't be used, what's a good name for this new package?

5
задан Andrew 24 September 2010 в 18:51
поделиться