I am creating an app for a person I know for his company, he needs to send many SMS to his workers(shifts mostly). He asked me to create this app but now after I almost fished it I found out that there an SMS limit, is there a way to change it from the app with permissions or something and not make him dig through his root? Or at least make the annoying message pop up just once and not for every message that sends after the limit reached?
you have to use abd command to open that restrictions here is the link for tutorial
change sms limit
Go to the android platform tool directory
(C:\Users\username\AppData\Local\Android\Sdk\platform-tools)
open command shell by using Shift+mouserightclick
and enter this command
adb shell
settings put global sms_outgoing_check_max_count 5
settings put global sms_outgoing_check_interval_ms 9000000
I am actually reducing the number so Android warns me if I have sent more than 5 SMS messages within 30(9000000) minutes. Change “5” to whatever number you wan
is there a way to change it from the app with permissions or something
No, sorry.
Or at least make the annoying message pop up just once and not for every message that sends after the limit reached?
No, sorry.
If you wish to send bulk text messages, use a hosted SMS delivery service, such as Twilio.
Related
We are developing an alert app that will automatically send MMS messages in certain emergency situations. We think it will qualify as an alert app exception and not be required to be the default SMS handler when we put in in the Play Store. But we aren't ready for that yet. In the mean time, developing and testing this app is very difficult because we have to make it the default SMS handler to run it. Our app is in no way capable of functioning as the default SMS handler. So, is there any way to get around this requirement while we are developing the app?
If you want to use our SMS gateway, you can use our "test numbers".
Our list of test numbers is:
+61411111111
+61422222222
+61433333333
+61444444444
+14055555555
+14055555666
+447777777777
+447778888888
+8615555555555
You would need to open a free account at clicksend.com and there is no charge for using test numbers. Of course, your test messages just go into /dev/null - maybe that's not what you need.
Don't know if that solves your specific problem, but maybe it's a piece of the puzzle. :shrug:
I can have our mobile dev team chime in if you want more help.
Michael
(Software Development Manager, ClickSend - an SMS Gateway Provider)
I used to use an app called Log Collector to see system logs. It would send them to my email or via bluetooth,
However, on Jelly Bean the "read log" permission for apps no longer exists and apps can't read the logs, and Log Collector is obviously no exception.
So does one now need to root the device to see system logs? There must be a way for the user to read them. I don't need to access them from an application, I need to read them as a human being. Is there a way?
I got the answer in this google groups thread:
https://groups.google.com/forum/?fromgroups#!searchin/android-developers/READ_LOGS/android-developers/6U4A5irWang/8xOi74KfRIYJ
the message by Mark Murphy replying to Matteo Sisti Sette (which is me).
(it doesn't seem to be possible to link to a particular message, is it?)
POWER + VOLUME_UP + VOLUME_DOWN will generate a report and a screenshot that you can send via email or upload to Drive (ridiculous you can't share it in an arbitrary way such as send via bluetooth or open as text file, but anyways).
(seems you have to hold them for a while and the action is launched when you release them)
At first I thought he was making fun of me and that would just reboot or something, but then I tried and it works.
Quote from Google+ and credits to +Ian Clifton :
"If you go into the developer options of a device running 4.2, you can check the box to add the Bug Report option to the power menu. This also adds it to the quick notifications menu (not sure of the proper name, but slide down the notification shade with two fingers on a phone or on the right side of a tablet)."
..and that would be right answer.. Cheers
I can start my application by simply putting the phone on a NFC-tag. But I would like to take the idea one step further. Imagine a simple time-tracking application with two NFC-tags. The first will start (and download) the application and register a starttime. The other will also start (and download) the application, but register a stoptime.
My problem I'd like to solve is that I don't want my phone to know about these tags. The application should not need to have a list of tag-ids programmed and know what actions that is connected to each id. The tag should carry the information needed to start the action on the phone with the correct parameters.
Are there any information about how to accomplish this scenario? I have installed "nfc-eclipse-plugin" but doesn't understand how to use it to get my goal and even less how to get my application to read the extra data.
Thanks in advance
Roland
Your tags should be capable of storing NDEF messages. Such messages are automatically read out by Android and passed to your app in an Intent. Automatically installing and/or starting your app can be accomplished by putting an Android Application Record in your tag. Any additional information ("start" or "stop" indication) can be stored in a proprietary record.
You probably want to put the AAR as the last record of the NDEF message, as it is detected and acted upon by Android automatically, but is only supported since ICS. To make automatic installation work with Gingerbread, you can put an additional URI record or SmartPoster record with a Google Play Store link in it as the first record of the message. Your app should then filter (ACTION_NDEF_DISCOVERED) for this URI, so it will also start automatically on Gingerbread.
I'm a newbie on Android development platform.
Can a third party application (say the one I'm developing) send SMS messages?
I believe we do not have access to default text messaging app. Therefore I plan to develop one on my own, which will read words used and process such texts before delivering to receiver. I would like to know if there are such APIs which allow to send text messages.
Here is a simple snippet that might help:
SmsManager smsMgr=SmsManager.getDefault();
String destination="9999119911";
String msg="Hello World";
smsMgr.sendTextMessage(destination,null,msg,null,null);
Don't Forget to add
<uses-permission android:name="android.permission.SEND_SMS"/>
to AndroidManifest.xml
Testing :
You can send SMS from one instance of emulator to another ,to do that ,simply specify the port
number of the other instance as destination .
to check the port number :
$ /opt/android-sdk/platform-tools/adb devices
http://thinkandroid.wordpress.com/2010/01/08/sending-sms-from-application/
I think this is what you are looking for. The second method described in the article does not need any additional permissions, but it requires that the user types the message. I don't think there is a way to send an SMS without the permission.
A good place to start is here http://developer.android.com/reference/android/telephony/SmsManager.html
You need to use the SmsManager class, if you want to include SMS capability in your app.
I want to prevent "sms sending"/texting on android.
There are some applications doing that but i don't know how?
eg.:
Textecution
Stop Drunk Text 2.0
Stop Drunk Text 2.0, as far as I can see, works by messing up the contacts you choose to prevent texting to.
About Textecution - I could't get enough information about its mechanism but I guess that it blocks running the Texting application somehow, not actually sending messages. Maybe one could tell more about it if he saw the app in action, which I haven't.
I think that if you have accepted them to have the permission to send sms you will have to stick with that UNLESS you download Droid Wall (my choice) and you choose to block internet/phone network access to those applications.
Remember, Droid Wall. It's free in the Market. You'd have your phone rooted in order to let it work by the way.