Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Mobile: How to get IMEI no and mobile no

ManishPandeyNov 21 2014 — edited Jan 16 2016

Hi Experts,

i am using jdeveloper version 11.1.2.4.0

My question is how to get IMEI no and mobile no in ADF mobile.

i have also read this

How to get imei number and mac address of mobile device on adf mobile

as dvohra said used TelephonyManager

TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);

telephonyManager.getDeviceId();

but i don't understand where i use  "TelephonyManager "

when i have write this code on my managed bean

TelephonyManager  class not find.

Any Solution?

Comments
Post Details
Added on Nov 21 2014
6 comments
2,839 views