从 ASP 网站以编程方式构建 J2Me 应用程序

发布于 2024-07-27 20:24:32 字数 219 浏览 1 评论 0原文

我手头有这个特殊的问题。 我新开发了 J2Me App Midlet,现在我想将此应用程序提供给用户从我的网站下载。 我想在用户单击链接下载它时以编程方式构建应用程序,因为有一组变量数据,我想根据用户配置文件在 J2Me 应用程序内部进行硬编码。 我无法使 J2Me 应用程序集可供下载,因为这将是一项艰巨的任务。

谁能告诉我如何实现这一目标?

该网站是基于ASP的网站。

I am having this peculiar problem in hand. I have newly developed J2Me App Midlet, now I want to give this App to the user as a download from my website. I want to build the application programmatically as user clicks the link to download it, It is so because there is a set variable data, I want to hard code inside J2Me App, depending upon the user profile. I can not make sets of J2Me App ready to download as this would be too huge a task.

Can any one tell me how this can be achieved ?

The website is ASP based website.

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

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

发布评论

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

评论(1

煮茶煮酒煮时光 2024-08-03 20:24:32

为什么不使用 jad 文件属性并在用户下载应用程序时生成 JAD 文件属性,而不是对类文件中的数据进行硬编码。 在 MIDlet 内部,您只需使用 MIDlet.getAppProperty() 方法引用该属性即可读取该 JAD 属性。

希望这可以帮助

Instead of hardcoding the data in the class file, why don't you use a jad file property and just generate the JAD File Property while the user download the application. Inside the MIDlet you can just refer to the property using MIDlet.getAppProperty() method to read that JAD property.

Hope this helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文