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


OEM IBM Selectric II Key Tops & Parts picture

OEM IBM Selectric II Key Tops & Parts

$49.95



Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM picture

Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM

$12.00



New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks picture

New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks

$14.99



Certified OEM IBM Wheelwriter models 3 & 5 LCD Panel & cable assembly picture

Certified OEM IBM Wheelwriter models 3 & 5 LCD Panel & cable assembly

$10.00



OEM  IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working picture

OEM IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working

$49.99



IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259 picture

IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259

$24.79







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