开发者

blackberry and php verification

开发者 https://www.devze.com 2023-02-08 13:11 出处:网络
Is there a way to verify a开发者_如何学Python users blackberry pin using php ? or any other methods you may suggest :)

Is there a way to verify a开发者_如何学Python users blackberry pin using php ? or any other methods you may suggest :)

EDIT

  1. Users visits website: example.com.
  2. user signs up enters a blackberry pin.
  3. php/javascript/blackberry web Works generates a 4 digit code and sends it to blackberry pin (messenger).
  4. reads the 4 digit code returns to example.com and enters the 4 digit code into the website 5. click continue
  5. tell user that they have successfully verified the pin


php is server side code that would not execute on a blackberry. php could verify a pin assuming that there was some client side (on the blackberry device) code executing that would pass this information to php.

I found this forum thread discussing how to do this in java: http://supportforums.blackberry.com/t5/Java-Development/Get-the-pin-number-of-a-Blackberry-Device/td-p/223412


I don't know of any way to send a BBM message from a webserver. Once RIM re-releases the BBM API you could possably dedicate a Blackberry to pull account verification codes and PINs from your server and use an application on the device to send out the BBM message. That seems a little in-elegant. There may be a JavaScript method that can get the PIN for you, but I'm not very familiar with JavaScript.

Another way would be to implement the Blackberry Push API into your application, but this may be more overhead than is reasonable for your application.

The way I would do it is write a small Blackberry app that can be installed over the air from your website. The app could gather the user information, get the PIN from the API and send all the data up to your website. Once registration is complete, the application could be a web shortcut to your site, if that's what you want, or the user could delete it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号