问题
We are developing an application which is able to open and modify a DWG file without converting it to other formats (e.g. PDF, JPG). In this application we need to allow the user to open and view DWG files.
Can someone please help us with this? Or suggest some other ways by which we can open and view DWG files without converting it to any other image file format?
回答1:
We are developing an application...to open and modify a DWG file
What in particular do you need help with? You're going to be writing an entire application devoted to opening a specific format of a vector drawing file -- this is no small task.
DWG seems to be an open standard, you can find the specification here (PDF link). To give you an idea of the complexity, it's a 225 page PDF document. That said, you may be able to find an open source DWG Java library that you can modify to use with Android. A cursory Google search brought up jdwglib (Java DWG Library).
来源:https://stackoverflow.com/questions/4689785/is-it-possible-to-include-dwg-trueview-in-the-android-sdk-as-a-tool-to-open-and