b85411
b85411

Reputation: 10010

Adding folders to my Eclipse (Android) project

At the moment I've got all my classes in the com.example.myfirstapp package, which is fine. But I'd like to add folders within this package. For example, I'd like to move MyData.java so that it's in com.example.myfirstapp/MyDataClasses - if that makes sense.

I've looked at some other Stackoverflow articles about this, and it seems like people have a lot of horror stories about doing something which seems so simple.

What is the correct way to do this? I assume I'd need to let Eclipse refactor some stuff to recognise the new folder, but I'm not really sure how to go about doing this. Coming from a Visual Studio background, it seems Eclipse handles this in a completely different way...

Any comments appreciated, thanks.

Upvotes: 0

Views: 666

Answers (1)

Related Questions