How to add control to existing view? - android

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.

Related

How to send different message to different numbers by default SMS app Android programmatically?

I made a school-related app. I have a feature where I need to send a "Customized message" for all students/parents based on their own data (Suppose , their attendance data after their attendance has been taken by teachers then every parents will get an SMS from my app) .
But the Google play store is rejecting this update continuously. They consider the SEND_SMS permission as sensitive permission but for this specific use case, I need to do that. It is not possible to send a customized message to every single student with their numbers easily with the default SMS app.
Here is an email reply from the google support team.
And here is the Google permission policy.
What might be a proper solution without rewriting the business logic? I'm thinking of making the app a default app sender but it needs rewriting business logic and also a hesitation about a policy violation. I can't send SMS by API getaway as my users are not capable to pay for it. And I'm not finding any useful solution to send single student-based SMS via my default SMS app with a single click.

Android uninstall notification

Is there any way to send notification when user uninstall app. If user uninstall the app the app owner should get the notification that the following user has been uninstalled the appp. Is it possible?
It's not possible from app itself (barring case if there other apps from same author which can check)
But I think there is usable but complex workaround.
App can register for push notifications (either via GCM or FCM). Server side part of part should store app token for this purpose.
If, after some time, server side part send push and get NotRegistered instead (see https://developers.google.com/cloud-messaging/http#error_codes ) this mean app was uninstalled.
edit:
it's possible using hacky way from native code, per Roland's answer in Is it possible to detect Android app uninstall?
The method is based on the fact that the first thing android does when uninstalling your app is deleting your data file. So you could use a file watcher to detect the deletion. Also you need to write this in native code. If you write your code in java, your app will be uninstalled before it could execute any code. please see this demo : https://github.com/sevenler/Uninstall_Statics
Actually answer is no, but you can use one hack way to find out currently app is available in user device or uninstalled.
Registered your app with GCM,and send daily one notification to user, in which day user did not receive notification then you can assume app is uninstall.
I don't know this way is good or not, just i explain may be you can achieve your requirement !

Is it possible to read what is sent in sms in android app and use the data and then delete the sms so only the app sees it?

I have a question... I wonder, is it possible to make an application, that will read specific sms (always the same value, 2 numbers), and then delete the sms, so that the user does not see it (meaning that only the app will see it and use the data, but the user of the app will not be bothered with the information the app used)? The application would first send sms to the other device and then it would get the response in two float numbers. Is there a possibility to make that?

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

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