从 ASP 网站以编程方式构建 J2Me 应用程序
我手头有这个特殊的问题。 我新开发了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不使用 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