Hi I want to write an application that can prevent other application from using the sms feature of android mobile. That means other than sms feature of android mobile, no application installed on phone can send sms message. How can this be implemented.
Thanks
Fortunately, this is not possible, except perhaps by custom firmware. Any app that holds the SEND_SMS permission is perfectly welcome to use SmsManager to send an SMS.
Related
I have a question while studying Android.
I am wondering if there is a way to access sms / mms without setting the Android default sms app.
Thank you.
I am wondering if there is a way to access sms / mms without setting
the Android default sms app.
If your intention is to just read/receive the SMS then Yes. Follow this SO for implementation details.
If your intention is to modify (write/delete) SMS then No.
Both of these applications allow you to send SMS on your desktop/through a web browser as if it's coming from your phone (it really is coming from your phone). My question is:
How do they automatically send SMS through the Default SMS App (Messenger) without any user interaction (in the background/discretely) on Android 4.4?
Any app that has SEND_SMS permission can send the message using SmsManager.
The default SMS app is responsible for writing the sent messages to the sms provider.
Apps like mightytext, mobitexter which allow to send sms from web sends the message using SmsManager and in 4.4+ the default SMS app takes care of writing the sent messages to the sms provider.
For more details you can read http://android-developers.blogspot.in/2013/10/getting-your-sms-apps-ready-for-kitkat.html
PS: I work on a similar app mobitexter.net
MightyText has permission to send sms messages. So the app is not using the default sms app, but sending the messages using the Android API.
Messages send by the app are added to the default messaging SQL database on the phone. Because of that it will look like the default app has send them.
Hi I am developing an android SMS app where I am fetching the SMS stored in the phone and displaying it on a list view. How can I update a SMS as read in the phone, upon reading an SMS in my app.
I refered the following link,
Android: how to mark sms as read in onReceive
This did not work. What can i use instead of this.
Please suggest. Thanks!
How can I update a SMS as read in the phone, upon reading an SMS in my app.
You can't, reliably. There are hundreds, perhaps thousands, of SMS clients on the Play Store. None of them have to expose some sort of API to allow third parties to somehow mark SMS messages as "read".
I'm developing application for android by using flex. That app should read sms from android and analise them. How can i read sms? I've searched all over the Internet and couldn't find any articles which would be helpful.
Is there any way to do that instead of using native extention?
"Is there any way to do that instead of using native extention?"
Send sms - yes, but only by calling the device's native SMS client.
Receive/read incoming sms - no.
The Air mobile API includes features that allows you to send SMS messages by invoking the device's native SMS client. There are tutorials available online how to do this, for example this one.
The Air mobile API does not includes methods that allow you to read incoming SMS messages. To implement this on an Android device you would have to write your own Native Extension.This answer on SO explains how to set up a BroadcastReceiver using the Native Android SDK to listen for incoming SMS messages. If you need help on how to implement your own Native Extensions, the Adobe Developer pages on the subject is a good start.
Is it possible to add a option to the sms and email app of android?
I want to add a option who call my activity and send me the sms text or email text.
Is it possible?
You are asking if it is possible to sms from your app.
Yes, its possible. Try using SMS Manager API. You can find out about SMS Manage API on Android Developers here: http://developer.android.com/reference/android/telephony/SmsManager.html
or check out this tutorial example:
http://www.mavenscientists.com/2013/09/how-to-send-sms-in-android_20.html
You also want your app to show up when you want to send sms or an email.
Yes, this is possible.
Try using Implicit Intents in your application.