BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-09-2008, 07:42 AM   #1
kratos2007
New Member
 
Join Date: May 2008
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 3
Default Run MIDLET just in phones from one specific carrier

Please Login to Remove!

Hi,

I've developed an standard MIDlet (J2ME) and I need to run it just in phones from one specific carrier. I've thought to do it via IMSI (the IMSI number contatins the carrier and the country code), but apparently there's no way to get the IMSI number with standard methods such as System.getProperty("IMSI").

My question is: Is it possible to get the IMSI in J2ME? If not, does anybody knows how can I do to restrict my MIDlet to be used in one specific carrier?

Thanks in advance.
Offline  
Old 07-09-2008, 09:13 AM   #2
jrebeiro
New Member
 
Join Date: Nov 2006
Location: New York, NY
Model: 8300
Carrier: AT&T, T-Mobile
Posts: 12
Default

Look in net.rim.device.api.system.Branding www(dot)blackberry(dot)com/developers/docs/4.2api/net/rim/device/api/system/Branding.html RIM Device Java Library: Class Branding

getVendorId()
Retrieves the vendor ID from the branding NV sector.

Then restrict your application using the appropriate vendor_id

Code:
100 T-Mobile US
101 AWS
102 Cingular Wireless
103 Nextel
104 Sprint PCS
105 Verizon
106 Alltel
107 Rogers
109 BWA (Aliant/Sasktel)
111 MM02 DE
113 Telfort
114 T-Mobile DE/AU
115 TIM
116 Hutchison
117 Bouygues
118 SFR
119 Orange_France
120 VODAFONE (UK)
121 Telcel
122 Telstra
123 T-Mobile (UK)
124 Vodafone Germany
125 MM02 UK/IRL/NL
126 Telus
127 SMART
128 Starhub
129 Telefonica
130 Swisscom
131 Cable & Wireless
132 Vodafone (IT)
133 Vodafone (ES)
134 T-Mobile (NL)
135 Cincinnati Bell
136 Telefonica_LAM
137 Vodafone Austria
138 Vodafone Australia
139 Vodafone Ireland
140 Vodafone Sweden
141 CSL
142 Orange UK
143 Vodafone New Zealand
144 SingTel
145 Globe
146 Optus
147 Orange Mobistar
148 Vodafone_HU
149 Bharti
150 KPN
151 TIM_Greece
152 Proximus
153 Vodafone_Portugal
154 TIM_Brazil
155 BT_Mobile
156 Earthlink
158 E-Plus
159 BASE
160 Dobson
161 Vodafone_Egypt
162 Orange_Switzerland
164 Triton
165 Maxis
166 Vodafone_Denmark_(TDC)
167 MobileOne_(Voda_Singapore)
168 Vodacom
169 T-Mobile_PO
170 T-Mobile_CZ
171 T-Mobile_HU
173 MTN
174 Entel
175 Amena
176 SmarTone
177 TCS
178 Avea
179 F100
180 Turkcell
181 Partner
183 Orange_Global
186 Telkomsel
188 Vodafone_Greece
189 USCC
190 Mobilink
194 Voda_Luxembourg
195 Voda_Iceland
198 Vodafone_CZ
204 China_Mobile
205 Movilnet
209 Sympac
210 TIM_Argentina
212 Etisalat
214 AMX
215 Telefonica_Venezuela
217 Orange Romania
218 KTP
222 Mobitel Bulgaria
224 PCCW/Sunday
227 Mobily
229 Eurotel
230 Hutchison Essar
How do you actually do this? I have no idea.. I just starting looking into the JDE and have zero knowledge of Java... still learning. Maybe someone more experienced.. perhaps yourself.. can post some code examples for everyone else who is interested in learning this.

Hope this helps!
Offline  
Old 07-10-2008, 01:29 AM   #3
kratos2007
New Member
 
Join Date: May 2008
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 3
Default

Thanks.

Info abput the vendor is also contained in IMSI... but my problem is be able to get the IMSI with BlackBerry API and J2ME standard APIs... difficult target!
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



QTY-8 AS7C256-20PC Set Alliance 28-PIN DIP SRAM 256k cache memory chips 32x8 picture

QTY-8 AS7C256-20PC Set Alliance 28-PIN DIP SRAM 256k cache memory chips 32x8

$34.95



2 - RAM DRAM Tray-Container Box For Server PC Memory DIMM Modules - Fits 100 NEW picture

2 - RAM DRAM Tray-Container Box For Server PC Memory DIMM Modules - Fits 100 NEW

$21.90



Desktop Memory Case Tray Case for PC DDR DRAM RAM DIMM Modules - 2 fits 100 New picture

Desktop Memory Case Tray Case for PC DDR DRAM RAM DIMM Modules - 2 fits 100 New

$20.50



Argolladora We R Memory Keepers Heidi Swapp Cinch Binding Machine 71050-9 by AC picture

Argolladora We R Memory Keepers Heidi Swapp Cinch Binding Machine 71050-9 by AC

$79.99



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00







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