与 NXT 配合使用的智能手机

发布于 2024-07-19 07:46:10 字数 1068 浏览 11 评论 0原文

问候。

我将购买一部新的智能手机来工作。 它需要与 Telus 合作,因此 iPhone 和基于 Android 的电话没电了。 可用的手机似乎包括许多黑莓手机、HTC 手机、摩托罗拉手机以及 LG、三星和中兴手机。

我有一个乐高 Mindstorms NXT 机器人,并且想要一部手机,我可以为它编写一个程序,通过蓝牙与其通信。 (乐高确实提供了手机应用,但它仅适用于某些诺基亚、索尼Ericson 和 BenQ-Siemens 手机)。

从我迄今为止的研究来看,听起来很多手机都支持 J2ME,并且我可以安装 NetBeans 来为其开发。 (我已经很多年没有用 Java 编程了。)不幸的是,听起来即使手机确实具有蓝牙功能,也不一定可以从 J2ME 访问它们。

最后,我宁愿在我的 Mac 上进行开发。 (我可以启动到另一个操作系统或启动虚拟机,但我不想这样做。) NetBean 的 IDE 下载页面显示:“Java ME 仅适用于 Windows 和 Linux。” 似乎有一些解决方法——工作环境是否愉快?

所以,我的问题是,有谁知道这些手机是否适合开发一个简单的蓝牙应用程序,最好是在 Mac 上?

- 编辑 -

事实证明,我的合同尚未到期,我已经用我们现有的 Treo 700 更换了部分功能的手机。 我感谢所有的答案。 我开始设置 J2ME 环境(直到我了解到我也可以设置 Palm 环境,并且已经开始了。)但是,当我拿到新手机时,我肯定会关注 S60 手机 --哎呀,它甚至可能胜过 iPhone 或 Android 手机,至少在创建爱好应用程序方面是这样。

Greetings.

I will be getting a new smartphone for work. It needs to work with Telus, so the iPhone, and Android-based phones are out. The available phones appear to be include a number of BlackBerries, HTC phones, Motorola phones, as well as LG, Samsung, and ZTE phones.

I have a LEGO Mindstorms NXT robot, and would like a phone for which I could potentially write a program that would communicate with it over bluetooth. (LEGO does provide a cellphone app but it only works with some Nokia, Sony Ericson, and BenQ-Siemens phones).

From my research thus far, it sounds like many phones support J2ME and that I could install NetBeans to develop for it. (I haven't programmed in Java in years.) Unfortunately, it sounds like even if the phone does have bluetooth capabilities, they aren't necessarily accessible from J2ME.

Lastly, I'd rather like to develop from my Mac. (I could boot into another OS or fire up a VM, but I'd prefer not to.) NetBean's IDE download page says, "Java ME is only available for Windows and Linux." There appear to be workarounds -- is it a pleasant environment to work in?

So, my question is, does anyone know if any of these phones are, um, pleasant to develop a simple bluetooth application for, preferably from the Mac?

- Edit -

It turns out that my contract has not expired, and I've replaced my partially functional phone with a Treo 700 we had around. I appreciate all the answers. I started setting up a J2ME environment (until I learned that I may as well set up a Palm environment, and have started on that.) When I do get a new phone, though, I was sure be looking at the S60 phones -- heck, it might even trump an iPhone or Android phone, at least for ease of creating hobby applications.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

懵少女 2024-07-26 07:46:10

您可能对此应用程序NXT Director感兴趣。 作者表示,它已经在以下型号的基于 Palm 的设备上进行了测试:Treo 650、LifeDrive、Zire72、SONY TH55/E 和 Tungsten 系列。 它也可能适用于您的 700。

You may be interested in this application NXT Director. The author says it has been tested with the following models of Palm based devices, Treo 650, LifeDrive, Zire72, SONY TH55/E and Tungsten series. It may also work with your 700.

悲凉≈ 2024-07-26 07:46:10

诺基亚将 python 移植到了 S60 智能手机平台。 这意味着您可以使用您最喜欢的文本编辑器编写 python 脚本,然后在 任何这些手机。 python 端口包括用于相机、蓝牙、短信、拨号、声音、文本到语音合成、位置服务的 API...

我发现在手机上安装 python 解释器和控制台并立即开始运行脚本非常容易,无需其他所需工具。 如果您有强大的拇指并且喜欢挑战,那么您甚至可以直接在手机上编写脚本:-)

如果您想在 PC 上运行 S60 手机模拟,那么您将需要 Windows,即使这样设置起来也很复杂。 对于小型爱好项目,您可以在没有模拟器的情况下生活。

Nokia ported python to the S60 smartphone platform. That means you can just write python scripts with your favorite text editor and then run them on any of these phones. The python port includes APIs for the camera, bluetooth, SMS, dialing, sounds, text to speech synthesis, location services...

I found it very easy to install the python interpreter and console on my phone and immediately start running scripts, no other tools required. If you have a strong thumb and like a challenge then you can even write the scripts directly on your phone :-)

If you want to run an S60 phone emulation on your PC then you will need windows and even then it is complicated to set up. For small hobby projects you can live without the emulator though.

冷弦 2024-07-26 07:46:10

您可以尝试以下组合在 Mac OS X

  1. Eclipse 上进行 J2ME 开发 - http://www.eclipse.org/
  2. EclipseME - http://eclipseme.org/
  3. MPowerPlayer - http://mpowerplayer.com/sdk

You can try following combination for J2ME development on Mac OS X

  1. Eclipse - http://www.eclipse.org/
  2. EclipseME - http://eclipseme.org/
  3. MPowerPlayer - http://mpowerplayer.com/sdk
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文