I have a java class called `Constants` filled with variables. And currently if I want to use that variable in an activity I have to use it like this.

```
Constants.variable = "blah blah";

```

Is there a way to import my `Constants` class into my activity so that I can just use it like a normal variable like this 

```
variable = "blah blah";

```

I have tried 

```
import com.myname.appname.Constants;

```

but this doesn't seem to work.

Thanks for the help in advance.