Jump to content

PhCyber Tunnel Available!

Get it on Playstore
Download Now!

Ad Space For Rent

Get Your Product up here and let our users see them first when they visit our Forum. We have thousands of page views everyday!
More Info
  • Welcome to PhCyber
  • Explore and Enjoy Browsing!
  • Lots of useful topics
  • Stay active and receive prizes

Sms Phone Details

Recommended Posts

package com.smsphonedetails

import android.os.Bundle;  

import android.app.Activity;  

import android.content.Context;  

import android.telephony.TelephonyManager;  

import android.view.Menu;  

import android.widget.TextView;  


public class MainActivity extends Activity {  

   TextView textView1;  


    protected void onCreate(Bundle savedInstanceState) {  






        //Calling the methods of TelephonyManager the returns the information  

        String IMEINumber=tm.getDeviceId();  

        String subscriberID=tm.getDeviceId();  

        String SIMSerialNumber=tm.getSimSerialNumber();  

        String networkCountryISO=tm.getNetworkCountryIso();  

        String SIMCountryISO=tm.getSimCountryIso();  

        String softwareVersion=tm.getDeviceSoftwareVersion();  

        String voiceMailNumber=tm.getVoiceMailNumber();  



        String info="Phone Details:\n";  

        info+="\n IMEI Number:"+IMEINumber;  

        info+="\n SubscriberID:"+subscriberID;  

        info+="\n Sim Serial Number:"+SIMSerialNumber;  

        info+="\n Network Country ISO:"+networkCountryISO;  

        info+="\n SIM Country ISO:"+SIMCountryISO;  

        info+="\n Software Version:"+softwareVersion;  

        info+="\n Voice Mail Number:"+voiceMailNumber;  

        info+="\n Phone Network Type:"+strphoneType;  

        info+="\n In Roaming? :"+isRoaming;  


        textView1.setText(info);//displaying the information in the textView  










//Android Manifest

// <uses-permission android:name="android.permission.READ_PHONE_STATE"/>   

Edited by SuperVegita1
  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...