Link to home
Start Free TrialLog in
Avatar of Member_2_7965240
Member_2_7965240

asked on

Android error: java.lang.UnsupportedOperationException: Sms is not supported

Hello,

I have made an Android app in Delphi which sends Sms to some phone numbers.

It works well on my phone but at one of my customer (who has Android 7 on his phone ) it works like this:
- it sends about 10-15 SMS-es without error
- then "Android error: java.lang.UnsupportedOperationException: Sms is not supported" pops up

What can cause the problem at customer's site?
Thank you very much for your help.
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Are you using like this ?

(ShareActionProvider) menuItem.getActionProvider()

Open in new window

Avatar of Member_2_7965240
Member_2_7965240

ASKER

I use Delphi which hides all the Java commands, so I don't use Java direcly (it translates it when  I build the application).
ASKER CERTIFIED SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial