0

i want to get my terminal IMEI , and for that i need a READ_PHONE_STATE permission i added my to my tiapp.xml

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

but i still get this error enter image description here

ouqas mohamed
  • 41
  • 1
  • 9
  • where in the `tiapp` did you add it? – Rene Pot Jul 20 '16 at 13:00
  • @RenePot i added it in the node – ouqas mohamed Jul 20 '16 at 13:22
  • Does [this answer](http://stackoverflow.com/a/35690244/4678661) help you ? in Android 6.0 (API level 23), users grant some permissions to apps while the app is running, not when they install the app – Fabich Jul 20 '16 at 13:27
  • i understood the principle , but i need it for my appcelerator project not android Java , so i tried this answer : http://stackoverflow.com/questions/35890378/how-to-request-run-time-recording-permission-on-android-6-0 but the call back function is not executed – ouqas mohamed Jul 20 '16 at 14:15

0 Answers0