简而言之,在 Symbian 和 WindowsMobile 中使用联系人列表
我还没有为移动平台开发过任何东西。但现在我需要一个应用程序,可以对联系人列表执行基本的读/写/更新操作。
它应该可以在 Symbian 和 WinMobile 中运行,但如果我们有 2 个不同的应用程序,这是正常的(但如果可能的话,我更愿意只制作一个)。在第一个版本中,甚至不需要制作 GUI。我只想下载并安装并启动该应用程序,完成后它将退出。
我应该使用什么工具(哪个 IDE、什么模拟器等)来开发这个应用程序?我了解 Java,但我从未使用过 J2ME,因此如果使用基于 .net 或基于 cpp 的东西更容易,那么就可以了。
另一个问题:使用联系人列表是特定于平台的还是特定于手机的?
I've never developing anything for mobile platforms yet. But now I need an app, that can perform basic read/write/update operations with contact list.
It should work in Symbian and WinMobile, but it's normal if we have 2 different applications (but if it's possible then I prefer to make only one). In first version it's not even necessary to make GUI. I just want to download and install and start the app, and it will exit after finishing.
What instruments (which IDE, what simulators and so on) should I have to develop this app? I know Java, but I've never used J2ME so if it's easier to use something .net-based or something cpp-based, then it's ok.
Another question: working with contact list is platform specific or concrete cellphone-specific?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,在手机市场上,一切都是定制的。
Symbian 和 Windows Mobile 在 API 方面没有任何关系,只是两者都可以针对它进行 C 编程。
Windows mobile 还允许 .net 程序,但 symbian 则不允许,除非添加了 red Fivelabs 专有的 .net 运行时。两个平台上用于获取联系人的 API 截然不同。
要为其制作跨平台的东西,请制作一个硬件抽象层并针对它进行编程。并在两个平台上根据具体情况实现 HAL。
对于java,他们说编程一次,运行多次......但不幸的是更多的是:编程一次,调试多次。在每部手机上,虚拟机都是不同的,并且有其自己的一组特殊错误需要解决。尽管用于操作联系人的 API 是标准化的,但在 JAVA 中这并没有说明什么。它很可能适用于 15% 的手机,其余的则必须使用补丁来解决。
欢迎来到我的世界...;^)
unfortunately in the cellphone market everything is really custom stuff.
Symbian and Windows Mobile have nothing to do with each other API wise, except that it is for both possible to program C against it.
Windows mobile also allows .net programs, but symbian doesn't without adding the proprietary .net runtime from redfivelabs. The API for getting your contacts is on both platforms wildly different.
To make something cross platform for it, make a hardware abstraction layer and program against that. And on both platforms implement your HAL with the specifics.
For java they said program once, run many... but unfortunately is is more: program once, debug many. On every phone, the VM is different, and has it's own set of peculiar bugs to work around. The API for manipulating contacts though is standardized, although again, that says nothing in JAVA. Chances are it works on 15% of handsets, and the rest has to be figured out using patches.
welcome to my world... ;^)