BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-17-2009, 06:15 AM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Model: 9000
PIN: N/A
Carrier: Blau
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Is there a way to detect a sim card change?

Please Login to Remove!

Hi all,

I am just wondering if there is any chance to detect a sim card change. Following use case:
- software is being installed
- software somehow saves an unique information about the sim card
- sim card changes
- software recognizes change

Any help would be appreciated.

Thanks a lot
Offline  
Old 06-17-2009, 08:53 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are no listener events for this as it can only occur when the battery has been removed - you can use SIMCardInfo.getIMSI() to see if it's changed.
Offline  
Old 06-17-2009, 09:52 AM   #3 (permalink)
New Member
 
Join Date: Jun 2009
Model: 9000
PIN: N/A
Carrier: Blau
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

great. that is exactly what I was looking for.
Offline  
Old 06-18-2009, 11:37 PM   #4 (permalink)
New Member
 
Join Date: Jan 2008
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Unless you are leaving your app open, I would suggest keeping changes in a persistent memory file, so if the app is closed and re-opened you'll be able to keep detecting changes.
__________________
My Dev Site: Roboconn.com Get my new OTA apps and games, some free -some not. BB friendly.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

10 pcs IRFZ44N IRFZ44 ORIGINAL IR MOSFET N-Channel 49A 55V
$3.16
10 pcs IRFZ44N IRFZ44 ORIGINAL IR MOSFET N-Channel 49A 55V  picture(1PCS) STP300NH02L MOSFET N-CH 24V 120A TO-220 300NH02 STP300NH02
$6.39
(1PCS) STP300NH02L MOSFET N-CH 24V 120A TO-220 300NH02 STP300NH02 picture(1PCS) STP30NM60N MOSFET N-CH 600V 25A TO-220 30NM60 STP30NM60
$6.67
(1PCS) STP30NM60N MOSFET N-CH 600V 25A TO-220 30NM60 STP30NM60 picture(1PCS) STP15NM60N MOSFET N-CH 600V 14A TO-220 15NM60 STP15NM60
$6.43
(1PCS) STP15NM60N MOSFET N-CH 600V 14A TO-220 15NM60 STP15NM60 picture(1PCS) STB20NM50-1 MOSFET N-CH 550V 20A I2PAK 20NM50 STB20NM50
$6.05
(1PCS) STB20NM50-1 MOSFET N-CH 550V 20A I2PAK 20NM50 STB20NM50 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.