Convert Code to Android

Hi,

Is it possible to convert/compile code written in an IDE (using processing’s jar) to an Android apk? Or do all of my classes need to be in .pde and then convert it?

Thanks!

@mcd4u
though i am not sure to understand what is the first solution you propose, the second one is the way to go - Yet “convert” is not exactly the word, because in a lot of cases you have to adapt or change your code.