Get Blackberry Owner details (eg name/number) through API

前端 未结 1 933
南旧
南旧 2021-01-20 13:44

I know this is a simple one, but I\'m not sure the name of the framework item that will help me. (I know Google could solve this one but my keyworks fail me)

I\'m tr

1条回答
  •  被撕碎了的回忆
    2021-01-20 14:29

    To get the phone number:

    String phoneNum = net.rim.blackberry.api.phone.Phone.getDevicePhoneNumber(false);
    

    To get the Owner's name:

    String owner = net.rim.device.api.system.OwnerInfo.getOwnerName();
    

    0 讨论(0)
提交回复
热议问题