Is it possible to access sms without setting Android default sms app? - android

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.

Related

How to add control to existing view?

I'm working on an app which allows users to take a snapshot of their active SMS messages.
Is it possible to add a button on the existing android SMS message view without changing the default SMS sending application?
I just want to add some of a widget to the default sms app which the user already has installed... Thanks!
No this is definitelly not possible..You can intercept for incoming messages with proper permissions though..Also you can write an app which will read SMS messages stored on the device..
But you really cant write an app modifying existing SMS app..
It's actually opensource, so you can easily get its sources and you can then try to make some changes and possibly to release it as a separate application on the Google Play.

Update SMS as read in phone, upon reading an SMS in my app

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".

How to block application using messaging feature like sms in android

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.

How can i read sms using flex in android?

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.

Android intentoptions for SMS standard app and EMail standard app

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.

Categories

Resources