Java Midlet 部署
因此,我使用 Samsung SDK 1.1.2 开发了一个简单的 hello world midlet,并打包了 midlet。现在我有两个文件(JAR/JAD)组合。如何将这些安装到我的手机上?
正如您从问题中可以看出的那样,我是电话开发的新手。尝试在 ATT 上部署到三星手机。
我正在尝试测试整个开发周期 - 模拟器非常适合编写代码,但我确实需要确保 Midlet 在目标手机上按预期工作。
So, I've develop a simple hello world midlet using the Samsung SDK 1.1.2 and I've Packaged the midlet. Now I have two files (a JAR/JAD) combination. How do I get these installed on my phone?
As you can tell from the question, I'm new to phone development. Trying to deploy to a Samsung handset on ATT.
I'm trying to test out the entire development cycle - the emulators work great for writing code but I really need to make sure the Midlet works as expected on the target phone.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
建议您阅读一些有关应用程序OTA 交付的背景知识。
您有多种部署选项,以下是其中的一些。
我不确定三星是否支持此功能,但其他手机制造商肯定提供“管理器”软件,您可以下载并安装在计算机上来执行此操作。如果您的应用程序依赖于 JAD 中的用户数据,这可能不是一个理想的选择,或者您可以在 JAR 中包含默认数据。
除了基本部署之外,您还可以考虑 签署您的应用程序 - 这个过程基本上允许您向手机断言您的“真实”身份。这样做的优点是签名的应用程序可以向手机所有者呈现更少的网络访问确认对话框等。此外,在部署应用程序时,用户将看到一条有关未签名的消息,其中可能包含“不受信任”或类似的单词,这可能会令人反感。 (话虽如此,一些主要的应用程序尚未签名。)
希望这能让您开始。
Suggest you read up a little on OTA delivery of applications, for background.
You have a number of options for deployment, here's a few.
I'm not sure if Samsung support this, but other handset manufacturers certainly provide 'manager' software you can download and install on a computer to do this. If your app relies on user data in the JAD this may not be an idea option, or you could include default data in the JAR.
Apart from basic deployment you might consider signing your application - a process that basically allows you to assert your 'true' identity to a handset. The advantage of doing this is that signed applications can present fewer network access confirmation dialogs and the like to the handset owner. Also, when the application is being deployed, the user will see a message about unsignedness that might include the word 'untrusted' or similar, and that can be off-putting. (Having said that, some major applications out there have been unsigned.)
Hope that gets you started.
您当然可以通过 USB 或蓝牙复制 jar/jad,但我使用的三星设备不会安装手动复制的文件。
不幸的是,其他方法的工作量要大得多。
You can certainly copy the jar/jad over via usb or bluetooth, but the Samsung devices I've used will not install a file that's been manually copied over.
Unfortunately the other methods are significantly more work.