1

I want to detect SIM card and read messages like OTP messages through my app in codename one. I just created the app using codename one and I want above features in my app.

Is it possible using codename one? If yes, how?

Pang
  • 9,564
  • 146
  • 81
  • 122
Shekhar Jadhav
  • 1,035
  • 9
  • 20

1 Answers1

1

You can do these with native interfaces on Android but those things are impossible on other platforms since they aren't supported natively.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65
  • https://stackoverflow.com/questions/7089313/android-listen-for-incoming-sms-messages .I want add android code in my codename one app which is given on above link – Shekhar Jadhav Jun 10 '17 at 11:38
  • You can add that code under `native/android` and define the manifest entries using the build hints `android.xapplication` and `android.xpermissions` respectively – Shai Almog Jun 11 '17 at 04:11
  • I have added code under native/android but still its not working...do I need to change some setting or do I need to add some build hints for android if yes then mention what and where to add? – Shekhar Jadhav Jun 12 '17 at 11:15
  • I wrote the two build hints you need to define for the build to work – Shai Almog Jun 13 '17 at 04:10