Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Adding PIN message sending feature #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Adding PIN message sending feature #81

wants to merge 2 commits into from

Conversation

ali-irawan
Copy link

adding PIN message sending feature

<script type="text/javascript"> var message = new blackberry.message.Message(); message.toRecipients = "28C427ED"; // Using PIN ADDRESS instead of email message.subject = "Hello"; message.body = "World"; message.send(); </script>

@kwallis
Copy link
Member

kwallis commented Dec 12, 2011

cc @jeffheifetz

@jeffheifetz
Copy link

Hi Ali,

First off you will need to sign your CLAs. An IICL for you and a CCLA for your company if you work for one. You can find more details here - http://blackberry.github.com/howToContribute.html

for(int i=0;i<address.length();i++){
boolean pass = false;
for(int j=0;j<check.length;j++){
if(address.charAt(i)==check[j]){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering if you had considered an algorithm comparing ASCII codes ( for fewer comparisons) or regular expressions?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I have considered that. Since I don't need to compare all characters I not prefer to use regex at all.
Well thanks for the information about the IICL. I'll review the document. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants