views:

189

answers:

2

I am including a class in my app that another developer has made freely available. His class has a different package.

Will this cause any issues on Android, the market, etc? Does every single class in the app need to be my own package?

A: 

It doesn't have to by in Your own package. Also You can use external jars, or external eclipse projects or external source folders for easier project maintenance.

Maciek Sawicki
+1  A: 

You are allowed to use other packages, sources and libraries. Eclipse makes that all very easy to do in the properties page of the project.

The main issue is usually making sure you obey the licences and agreements of the code you are using. Make sure you understand the implications and include credit to the developers, as well as references to the agreements as they state. If you don't, it could cause problems down the line.

HXCaine