• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Identify a mobile device

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a way to identify a device you are installing a midlet to during installation or runtime?

Thank you.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, it goes against the sandbox security model.
I suppose your midlet connects to the server - in that case you can generate an id on the first connection and have the midlet send it on every consequative connection. If you want to identify the midlet accross multiple installations you can ask the user to register the midlet with a username / password he has registered on your website before.
 
george vortman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what about JSR 177 (Security and Trust Services API)? Does it provide access to information on the sim card?
 
Yuri Magrisso
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not aware of a way to use JSR 177 to obtain a unique ID of the phone.

What you need is either the Customer API of Motorola or you can use the Bluetooth API to get the Bluetooth address of the device, which is unique. In both cases, however, you are limited to devices that support the API.
On second thought - Bluetooth is wide-spread already.
 
george vortman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, thanks for your help.
 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Well the requirement is to get the device information such as whether it supports MIDP 2.0 or, the screen size etc (other than the phone number) you can do something like this. Get the user to click on a link, so that the phone adds something called the Mobile device profile as HTTP headers. Then you can read it on the server side and process it. Hope this helps.
 
george vortman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But there is not way to communicate with the sim card or retrieve the ESM, Electronic Serial Numbers?

Thank you
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
With Java ME, I am afraid you can't get that. But I heard that it is possible to do so with Symbian. Just check it out.. regards
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you looked here? http://discussion.forum.nokia.com/forum/showthread.php?t=79462

I was involved in a project that used the phone number on Iden/Motorola devices as a user identifier, the only caveat being the application needed to be signed.
 
george vortman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much for your help.
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic