• 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

Mobile No

 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

We were just discussing about mobile phone and one question come-up.

Suppose my no is :1234567890

Now I forgot that my mobile no is 1234567890 (Due to any reason) and I am not able to recall it.

How can I find out what no I have?

I don’t want to call anybody. Don't want to ask anybody. Don't want to check in my bills.

I called to Orange/Mumbai help line, they told me to store my own contact information in address but search the same if you forget.

Does anybody has any lateral idea?

Regards,
Chetan
 
Ranch Hand
Posts: 872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Text message yourself.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But how can I send sms to self, if I don't know what is my no??
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you call another mobile with caller ID, they can tell you your number without answering. Did you want my number?
 
Ranch Hand
Posts: 999
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hutch/Orange numbers in Mumbai start with 982? and any number is ten digits.
Following procedure will give you your number but it will take some time.
1)Write a program using java.util.Random to generate ten digits random numbers each starting with 982(or whichevet 3 digits in your area)
2)Store this into some text file.
3)Using java Comm API,modem write a program which will read these numbers and dial one by one and print the numbers which it has called.
4)Don't forget to keep your mobile besides you.
5)Someday,sometime,your mobile will ring,the number printed by your program at that time is yours.
[ July 20, 2005: Message edited by: Arjunkumar Shastry ]
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David O'Meara:
I have already mentioned that I don't want to call anybody.

Arjunkumar Shastry:
Your idea is a good one.
Can you send a code that dial given phone from Java?
[ July 20, 2005: Message edited by: Chetan Parekh ]
 
Arjunkumar Shastry
Ranch Hand
Posts: 999
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is left as a simple excercise to readers.
(I did similar thing back in Feb 2000 ,don't know whether Comm API still exists and don't have that code now.)
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with the Arjun Shastry reply, that is a decent start atleast.....To my knowledge you can send SMS to a mobile using javax.comm api available at sun.java.com along with JSMSEngine available at http://jsmsengine.sourceforge.net/. You get a sample code along with the download.

-----------------------------------------

Besides that you can write an application and put in your mobile which would buzz ur number when you choose the option Forgot My Number or record your number (using ur voice or.....) and store the sound resource in your mobile. Or create a wall paper with your number superimposed on the background image and store it in your mobile.....

Regs,
Hari
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my Nokia 3310 my number is stored in the settings. I imagine the phone reads it from the sim card and puts it there.
 
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arjunkumar Shastry:

1)Write a program using java.util.Random to generate ten digits random numbers each starting with 982(or whichevet 3 digits in your area)


Why use Random? Why can't you just do it sequentially?

 
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chetan Parekh:
Hello!

We were just discussing about mobile phone and one question come-up.

Suppose my no is :1234567890

Now I forgot that my mobile no is 1234567890 (Due to any reason) and I am not able to recall it.

How can I find out what no I have?

I don’t want to call anybody. Don't want to ask anybody. Don't want to check in my bills.

I called to Orange/Mumbai help line, they told me to store my own contact information in address but search the same if you forget.

Does anybody has any lateral idea?

Regards,
Chetan


Try to help yourself as much as possible and ultimately you would be able to find because "God help those who help themselves" and God knows everything
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by stara szkapa:
I imagine the phone reads it from the sim card and puts it there.



I remember reading somewhere, that the mobile number is not stored in the SIM. The SIM has a unique identification number called IMSI (International Mobile Subscriber Identity). The network provider has a mapping between the IMSI number and the mobile number (this is the reason why you are able to change the mobile number, without changing the SIM card).

Now, coming back to Chetan's original question:

i) Find the IMSI number of your mobile
ii) From the service provider's mapping table, you can get the mobile number associated with your IMSI.

So, the problem boils down to
a) Finding the IMSI number - That is left as a simple excercise to readers
b) Finding the mapping entry - Since you don't want to ask anyone, you might have to crack the mapping server. How to crack the server, is left as a simple excercise to readers
 
Arjunkumar Shastry
Ranch Hand
Posts: 999
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mani Ram:

Why use Random? Why can't you just do it sequentially?


I think randomness should give equal probability to every number.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is another way (a better way actually, because you don't need to learn Comm API to do this)

Assuming all the Hutch/Orange numbers in Mumbai start with 982

i) Write down all the numbers from 982-0000000 to 982-9999999
ii) Dial the numbers one by one, manually, from your mobile
iii) If you get any response apart from a engaged tone (like a dial tone or some automated messages (not reachable, switched off) etc), strike the number from the list
iv) Once all the numbers are tried, repeat steps ii & iii (for the un striked numbers)

Repeat this process till you end up with one number. That will be your number.

Note: This procedure requires that you should disable call diverts, for otherwise, you won't get an engaged tone while dialling to your number
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ii) Dial the numbers one by one, manually, from your mobile



I have already mentioned that I don't want to make any call from my mobile.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chetan Parekh:


I have already mentioned that I don't want to make any call from my mobile.



Oops...missed that.
One question: You don't want to make any calls (as stated in your first post) or you don't want to make any calls from your mobile (as stated now)?
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don’t want to make any calls from any mobiles - neither from mine nor from others.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arjunkumar Shastry:

I think randomness should give equal probability to every number.



But how does that matter? In any case, you want to generate all the possible numbers (9820000000 to 9829999999), right? If that is the case, it is faster and easier to generate them sequentially than to generate them in random.
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most phones have an option to show 'own number', try all menus and sub menus, but almost all phones show them.

If not, ask someone who rang you on that number before, and if thats not an option, just dump it and get a new phone and sim - its not worth it!
[ July 20, 2005: Message edited by: Ashok Mash ]
 
Arjunkumar Shastry
Ranch Hand
Posts: 999
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mani Ram:

But how does that matter? In any case, you want to generate all the possible numbers (9820000000 to 9829999999), right? If that is the case, it is faster and easier to generate them sequentially than to generate them in random.


correct.I was thinking about time ,Mr.Parekh will need to wait for his mobile to ring.Will that be less/more if numbers are selected randomly?
Not sure.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All phones can display their own number, it is always in the settings. It is jsut a matter of finding which setting will display it for you.

Mark
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chetan,

You're kidding, right? This is a joke? You're going to call every number in Mumbai from a land line, rather than making one call from your cell? Is this supposed to be a puzzle, or something?

I have an idea: take the cell, put it on a cement floor, hit it very hard with a hammer. Then from now on, write people letters, instead.
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mani Ram:

Why use Random? Why can't you just do it sequentially?



That would be no fun! Using Random is cool.
Oh...and Arjun you forgot to include the [sarcasm] smiley
[ July 20, 2005: Message edited by: Sonny Gill ]
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wait until the entire world calls you. Then the number you never see on caller ID is yours.
 
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have an idea: take the cell, put it on a cement floor, hit it very hard with a hammer. Then from now on, write people letters, instead.


Sounds great .. But the next question will be, what's the from address.
[ July 21, 2005: Message edited by: Srinivasa Raghavan ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stewie: "1-111-111-1111, hello Lois? Blast! 1-111-111-1112, Lois? Blast!"
 
Ranch Hand
Posts: 112
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chetan Parekh:
I don’t want to call anybody. Don't want to ask anybody. Don't want to check in my bills.



Why would you want to known your number if you don't want to communicate with anybody? This seems stupid to me.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Peter van de Riet:


Why would you want to known your number if you don't want to communicate with anybody? This seems stupid to me.



 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some service provider provide an option where you call *#xxx# to find your own number.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Pradip Bhat:
Some service provider provide an option where you call *#xxx# to find your own number.



i) He don't want to make any calls
ii) What is that xxx? Is it some 3 digit number?
iii) Can you tell me an example for a provider who provides this service (with the xxx (preferably Airtel or Hutch)
(I know that by pressing *#06#, you can see the IMEI number of your mobile, irrespective of the service provider. But I haven't heard of getting your own number with some key press).
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can you tell me an example for a provider who provides this service (with the xxx (preferably Airtel or Hutch)



No service provider in India provides such a facility.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found some thread by doing a Google search.
http://www.esato.com/archive/t.php/t-95297
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Chuck your phne and get your self a new number and remember this time to writ down that number somewhere
 
Arjunkumar Shastry
Ranch Hand
Posts: 999
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by madhup narain:

remember this time to writ down that number somewhere


In future he might forget where he has written that number.
 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*#06# - should show your IMEI / IMSI number
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Chetan
How do you get these type of ideas? Please do not waste your time in writing java program and calling each no randomly, you can always use your intelligence in writing something really useful.

My sincere advice is, just make a mobile call to the person seating next to you and findout your mobile no.

If not,throw your mobile in dust-bin next to you and do not talk about it.

Howz that !
Ravi Parulekar
 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Acme Rocket Science Services offers help.

Buy one of their precision rockets.

Put your cellphone somewhere far from any person or property. Configure the rockets. And fire them up.

The configuration should direct the rocket to the location of the cellphone.

Another way is to drop a piano on it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic