是否可以在 Android SDK 中包含 DWG Trueview 作为打开和查看 DWG 文件的工具?
我们正在开发一个应用程序,它能够打开和修改 DWG 文件,而无需将其转换为其他格式(例如 PDF、JPG)。在此应用程序中,我们需要允许用户打开和查看 DWG 文件。
有人可以帮我们解决这个问题吗?或者建议我们打开和查看 DWG 文件的其他方法,而无需将其转换为任何其他图像文件格式?
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?
您在哪些方面特别需要帮助?您将编写一个完整的应用程序,专门用于打开特定格式的矢量绘图文件 - 这不是一个小任务。
DWG 似乎是一个开放标准,您可以此处找到规范(PDF 链接)。为了让您了解其复杂性,这是一个 225 页的 PDF 文档。也就是说,您也许能够找到一个开源 DWG Java 库,您可以对其进行修改以与 Android 一起使用。粗略的 Google 搜索显示了 jdwglib(Java DWG 库)。
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).