StartingGroovy
StartingGroovy

Reputation: 2860

Porting Java to Android regarding views

I have a java application (that I'm wanting to bring over to Android) that relies heavily on java.awt and I'm wondering what some alternatives could be to the following:

Are there Android equivalents for some of these? I am very new to Android development and wanted to know what to expect. All comments and suggestions are welcome

Upvotes: 0

Views: 850

Answers (2)

Rocker
Rocker

Reputation: 681

This packages wont work here. You have to design the UI in XML. You can develop the UI in android using two basic approach i.e procedural(java code) and declarative(XML code). Try to write a code following this two approaches and try to write in respect to what your awt packages are doing in your java code.

Upvotes: 0

mibollma
mibollma

Reputation: 15108

Take a look at the graphics package

Upvotes: 3

Related Questions