File
File

Reputation: 181

Handling SMS limit?

I'm developing SMS application which sends a lot of SMS's. It is not default SMS app like Google suggests. I'm getting a popup "Messaging is sending a large number of SMS messages. Do you want to allow this app to continue sending messages?". But i want to avoid that and recognize the limit programmatically.

Anyone have any suggestions? Thanks!

Upvotes: 1

Views: 1924

Answers (1)

Budimir Grom
Budimir Grom

Reputation: 766

SMS sending limit was introduced not later than Gingerbread. As far as I know, and I investigated thoroughly, it is generally impossible to override these limits on non-rooted devices. If possible, those are rare exceptions. But, if your app is supposed to send messages from your device only or from controlled number of devices, you may get around this problem by setting SMS_OUTGOING_CHECK_MAX_COUNT to a huge number (say 99999) in:

  • /data/data/com.android.providers.settings/databases/settings.db
    1. table secure
    2. table system
  • /data/data/com.google.android.gsf/databases/gservices.db
    1. table main

Upvotes: 3

Related Questions