如何根据在线数据库对黑莓用户进行身份验证?
我对黑莓开发相当陌生,需要帮助来创建一个简单的应用程序。用户输入登录名/密码,该登录名/密码在网站上的 MYSQL 数据库上进行身份验证。经过身份验证后,他/她会看到一个预先填充了一些值的列表框/选择框。用户选择一个值并点击提交后,就会生成一封电子邮件并将其发送到一个虚拟电子邮件地址。
有人可以指导我一个好的教程和/或一些可以帮助我设置类似内容的说明。我再次成为一名经验丰富的开发人员,正在转向黑莓开发。所有回复将不胜感激。
谢谢
I am fairly new to Blackberry development and need help in terms of having a simple application. User enters a login/password which is authenticated on a MYSQL database on website. Once authenticated, he/she is shown a listbox/select boxthat is pre populated with some values. Once the user selects a value and hits submit, an email is generated and sent to a dummy email address.
Can someone guide me to either a good tutorial and/or some instructions that can help me set up something like that. Again I am a seasoned developer that is making a transition to Blackberry development. All replies would be highly appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
RIM 网站上有一些不错的 Blackberry 开发工具,您可以为每个工具获取一个模拟器您需要支持的手机类型。当谈到身份验证时,正如您已经建议的那样,输入凭据是最容易支持的事情,但对用户来说有点痛苦,您还可以考虑使用 Blackberry 网关作为一种签名机构并启用 pin/email http标头(请参阅此处
)就开发而言,只要记住你想要一个尽可能基本的样式表,以及一个只有 320px 宽的网页,否则它只是另一个浏览器......
There are some good Blackberry dev tools on the RIM website, you can get a simulator for each type of handset you need to support. When it comes to authentication, as you already suggested, entering credentials is the easiest thing to support, but a bit of a pain for users, you can also look at using your Blackberry gateway as a kind of signing authority and enabling pin/email http headers (see here)
In terms of development, just remember you want a style sheet as basic as possible, and a webpage which is only 320px wide, otherwise its just another browser...