Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
j_taylor
Posts: 16
Registered: ‎01-28-2010
My Carrier: rogers
Accepted Solution

How to check the ability to send PIN message?

[ Edited ]

Hi,

  Is there any way to check that  a device is able to send out a PIN message without sending the PIN message and checking its status? I have to cover all possible cases such as devices with WIFI and without, enterprise activated devices and not-activated and etc, devices with  radio antenna off.

Best regards.

Please use plain text.
Elite III
John_Clark
Posts: 13,043
Registered: ‎04-01-2008
My Carrier: AT&T

Re: How to check the ability to send PIN message?

There are a couple of ways:

 

1.  Open Manage Connections and click on Services Status.  This will tell you what connections are active.

 

2.  Open Manage Connections and click on Mobile Network Options.  Hit the menu key and select "Diagnostics Test."  This won't work over UMA, however, but will give you a good idea of the mobile connections status.

--------------------------------------------------------------------------------
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!
Please use plain text.
New Developer
j_taylor
Posts: 16
Registered: ‎01-28-2010
My Carrier: rogers

Re: How to check the ability to send PIN message?

Thanks for the answer but I am looking for the way how to do it programmatically.  Is there any appropriate API to do it?

Please use plain text.
Developer
Developer
CMY
Posts: 1,119
Registered: ‎02-10-2009
My Carrier: Verizon

Re: How to check the ability to send PIN message?

If they have a data plan, they should be able to send PIN messages. The easiest way would be to see if there is an email accont setup on the device. Otherwise, I do not know how to check for an active data plan.

Please use plain text.
Developer
jonberry
Posts: 484
Registered: ‎07-17-2008

Re: How to check the ability to send PIN message?

I think you need BIS to send PIN messages.

 

If that's the case, you could use CoverageInfo to check for this.

Please use plain text.
New Developer
j_taylor
Posts: 16
Registered: ‎01-28-2010
My Carrier: rogers

Re: How to check the ability to send PIN message?

Thansk for your answers.

But It is possible ( I was able) to send pin message without a data plan from a provider through Wifi. I am checking two values right now to verify the ability to send PIN messages:

RadioInfo.isDataServiceOperational() or (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED)

But I am not sure that is correct way to determine the ability to send PIN messages for all possible cases.

Please use plain text.
New Developer
j_taylor
Posts: 16
Registered: ‎01-28-2010
My Carrier: rogers

Re: How to check the ability to send PIN message?

It looks like PIN does not work without BIS, so I will check CoverageInfo.

Thanks.

Please use plain text.
New Member
jsmith1012
Posts: 1
Registered: ‎05-19-2010
My Carrier: Verizon

Re: How to check the ability to send PIN message?

Do I pay for PIN messages?  Do they show up on my Verizon bill?

Please use plain text.
Developer
Developer
CMY
Posts: 1,119
Registered: ‎02-10-2009
My Carrier: Verizon

Re: How to check the ability to send PIN message?

They are part of your data plan. So whether you pay for them is determined by your plan.

Please use plain text.