I'm new to the Android SDK, but am pretty well versed in Java. I need to create a graphing function for a class, but I'm not entirely sure how to do it without using swing and in XML. Any suggestions?
If you are talking about displaying a graph such as a bar or line graph I would suggest using a library to help you out. Have a look here:
https://stackoverflow.com/questions/424752/any-good-graphing-packages-for-android?lq=1