Identificare univocamente un telefono cellulare.
Roberto Bifulco — Tue, 06/02/2009 - 09:35
Quando si realizzano applicazioni che richiedono l'interazione fra diversi dispositivi mobili, ciascuno con la propria identita' e pecurialita', ci si trova ad affrontare il problema dell'indentificazione univoca di questi apparati. Tralasciando le soluzioni che adoperano identificativi "scritti a mano" che possono avere un'utilita' in contesti ristretti e facilmente gestibili, una soluzione ideale sarebbe disporre di un identificativo univoco e non modificabile presente direttamente sul dispositivo. Tale identificativo costituirebbe poi la chiave di accesso a tutte le informazioni conservate dal sistema che riguardano quel preciso dispositivo.
Ogni telefono mobile (indipendentemente dalla tecnologia: GSM, satellitare, ecc.) dispone di un identificativo univoco, che prende il nome di codice IMEI:
Il codice IMEI (acronimo di International Mobile Equipment Identity) è un codice alfanumerico che identifica univocamente un terminale mobile (Mobile Equipment), che può essere un telefonino o un modem.
L'IMEI si può visualizzare digitando *#06#, ovvero il comando AT + CIMI.
È composto da 15 cifre, suddiviso in 4 parti:
AAAAAA-BB-CCCCCC-D
dove
- AAAAAA - Rappresenta il TAC (Type Approval Code) che identifica la casa costruttrice e il modello del telefonino;
- BB - Rappresenta il FAC (Final Assembly Code) che identifica il luogo di costruzione o di assemblaggo del prodotto;
- CCCCCC - Indica il numero di serie del cellulare;
- D - Viene definita SP (Spare) o CD (Check Digit) ed è una cifra riservata di controllo che verifica la correttezza del codice IMEI, calcolato con la formula di Luhn.
Dall'aprile 2004, il FAC è stato eliminato ed è diventato 00. Inoltre la sigla TAC ha cambiato significato e è divenuto acronimo di Type Allocation Code.
Alcuni numeri IMEI hanno 17 cifre: l'ultima parte di due cifre, detta SV (Software Version), indica la versione del firmware dell'apparecchio.
(Wikipedia)
L'IMEI e' quindi un buon candidato se si vuole disporre di un codice da usare nelle applicazioni per identificare un dispositivo mobile. Purtroppo JavaMe non definisce alcuna API di accesso all'IMEI, e non e' quindi presente un unico modo di ottenere tale informazione.
Piu' o meno tutti i produttori di dispositivi mobili hanno sfruttato la chiamata System.getProperty() per recuperare l'identificativo. Ogni produttore ha assegnato pero' un nome diverso alla proprieta' da richiamare, quindi, e' necessario tenere in considerazione questa problematica quando si scrive il codice che ottiene l'IMEI. Ecco quali sono le chiamate da effettuare per ottenere l'IMEI nei dispositivi mobili dei piu' diffusi produttori:
NOKIA
System.getProperty("phone.imei")
System.getProperty("com.nokia.IMEI")
Sony-Ericsson
System.getProperty("com.sonyericsson.imei")Motorola
System.getProperty("IMEI")
System.getProperty("com.motorola.IMEI")
Samsung
System.getProperty("com.samsung.imei")
Siemens
System.getProperty("com.siemens.imei")
Qualche informazione utile per applicazioni particolari
Alcune applicazioni particolari potrebbero fare molto affidamento sul valore dell'IMEI. In questo caso e' bene conoscere qualche dettaglio ulteriore sul modo in cui il codice e' conservato e su come viene gestito dal cellulare:
L'IMEI è salvato nella SIM del cellulare, insieme agli altri codici: numero di telefono, IMSI, PIN, PUK. All'avvio di ogni chiamata viene trasmesso alla rete dell'operatore. In caso di furto, l'IMEI del cellulare rubato sarà inserito in una banca dati condivisa da tutti gli operatori.
Ciò consente di bloccare il telefonino e renderlo inutilizzabile in caso di furto, indipendentemente dall'operatore con cui si chiama.
Poiché l'IMEI non è memorizzato direttamente nel cellulare, nella memoria ROM, ma nella scheda, su Internet sono rintracciabili software che permettono facilmente di assegnare al telefonino un nuovo IMEI. Quando si tenterà di accedere alla rete GSM, l'IMEI non risulterà nell'elenco dei codici bloccati, e il telefonino diviene utilizzabile anche in caso di furto.
L'IMEI, essendo trasmesso all'avvio di ogni chiamata telefonica, può essere utilizzato per intercettazioni telefoniche. Ciò è facilitato dal fatto che il codice è salvato nella SIM senza crittografia, ed è anche trasmesso in chiaro nelle reti GSM.
Esistono in commercio modelli di cellulari, a tutela della privacy, generano un nuovo IMEI, semplicemente disinserendo e inserendo nuovamente la scheda SIM nel cellulare.
(Wikipedia)

tGarrettKearbeys
yAliMcbayi (not verified) — Tue, 01/10/2012 - 10:00It was created. Bartholomew in 1872, commanded, based on the historians, by Catherine de Medicis and Charles IX. One doesn't demand bosch gts1031 a surprisingly deep knowledge of psychology to realize that no sovereign may have decreed such an incident. I went back and took my own bench in the sketch hall. humble as is thy dwelling, and bare thy bearing, thou artwork an honour even to this assemblage of nobles and doctors: nay, rather a lot more, when many of us consider everything, thou culture an honour to human instinct itself; for where is the table saw reviews heroism that way of virtuous, brilliant, independent poverty And such heroism is thine! Other teachers got hand in hand, yelled a limited names in their huddle and one of them delivered the demand once more, but nevertheless nobody made a transfer.
nfl jerseys suppliers Fashion
Anonymous (not verified) — Mon, 01/02/2012 - 08:08nfl jerseys suppliers Fashion brand
wholesale coach bags the trend of fashion
coach outlet Don't miss the chance it's very good
coach outlet store comfortable with it
wholesale designer handbags well known great
coach handbags outlet attractive and reasonable price
cheap coach online shopping
coach outlet store may most likely need
coach handbag outlet A good thing
authentic nfl jerseys for sale fashion designed
cheap authentic nfl jerseys together with lifestyle
nfl jerseys
mostnfl (not verified) — Fri, 12/30/2011 - 14:14New England Patriots Jerseys
Authentic New England Patriots Jerseys
Super Bowl NFL Jersey Live
mostnfl (not verified) — Thu, 12/29/2011 - 09:17Super Bowl NFL Jersey Live NFL scores, Green Bay Packers Jersey in-depth pro football Pittsburgh Steelers Jersey player and New Orleans Saints Jersey team news, Baltimore Ravens Jersey NFL videos, rumors ,San Francisco 49ers Jersey
updated stats, team schedules, fantasy football games,
calvin klein 365
calvin klein steel (not verified) — Wed, 12/28/2011 - 01:26Whether you are secretly embarrassed to buy on the network, or fair and square into the male sex accessories store to buy, as these various styles of underwear, so that men can also have found the right opportunity to wear underwear on Yo! If you are a man of fashion, I suggest you choose Calvin Klein Underwear of calvin klein steel and calvin klein 365 series. Tell you the truth, we not only have underwear sale. We also aussieBum Swimwear. Look forward to your arrival!
Marc Jacobs handbags
Marc Jacobs bags (not verified) — Tue, 12/27/2011 - 07:58Wearing Marc Jacobs Dress symbol of purity, sanctity, bright, clean and peaceful, the best performance of the noble qualities of a person, especially in the summer, wearing a Marc Jacobs Dress matched with a pair Marc Jacobs bags, will become more fashionable. If you wish, you can then back Marc by Marc Jacobs Handbags, Marc by Marc Jacobs Bags, Marc Jacobs Handbags. You will become perfect.
cheap gucci
cheap gucci (not verified) — Sat, 12/24/2011 - 06:17fied village sitting at home, to quickly see the guests to take a stool. canada goose canada goose sale Zhu canada goose parka qualified f...
nike free run
nike free run (not verified) — Sat, 12/24/2011 - 05:26Surprisingly, the Nike Free Run 2 alley nike free people Nike Free Danmark do not envy Nike Free Dame the ice with his Nike Free Running chin pointed Lord said Nike Free Sort to him: The Nike Free 7.0 Nike Free DK ic...
Ho visto proprio ora che
Roberto Bifulco — Fri, 06/05/2009 - 14:58System.getProperty("com.nokia.mid.imei")Post new comment