How can an incomming Type-0 SMS (please note: "Type-0" is ment, not "Class-0") be caught by a BroadcastReceiver?
Background: For configuration purposes Type-0 SMS (with TP-PID=ME data download) are sent. This needs to be "intercepted" by an Android application and the data inside the message needs to be retrieved/ decoded.
So the intention is to READ Type-0 SMS, NOT sending it!
Is it possible with Android at all? Is perhaps a native app necessary?
Thanks and kind regards!
Consider looking into this project as they have accomplished this:
https://github.com/SecUpwN/Android-IMSI-Catcher-Detector
You can do it natively in Android. About 10 years ago, Google made silent sms really silent. So, just reverse that commit. Android Commit to silence type zero sms
In later versions of android, the corresponding files have been moved to /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm. They are SmsMessage.java and GsmInboundSmsHandler.java
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)
Is it possible to create an Android application that automatically attend incoming calls to an Android phone? If so, which APIs may be used to achieve this (a piece of code snippet highly appreciable)?
If the programmatic auto attendant feature not possible, why the Android OS imposes this restriction?
Is iOS behaves as same as Android in this scenario, please explain.
While googling I found something that can be useful. I haven't tried yet still I think this will help have a look at Call Control in Android
You can listen incomming call intent by implementing broadcast receiver Intent.CALL_STATE_CHANGED to listen for incoming call, but answering incomming call automatically seems not feasible.coz android application dont have access to incomming call audio stream.
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 wrote an application and I need to send sms. I think that it is a good idea to do it during the application installation or when installation is finished.
It is correct? If it is correct, how can I do it?
Sorry, but you cannot get control during application installation.
This question asked how to intercept an intent during a download. I personally tried by getting the Android Market source code and working on a c2dm hijack, however because it verifies its c2dm transmission with the app signature, it is about impossible (and very much frowned upon) to spoof, and without rooting the phone, you cannot listen to packets coming in on the network interface. Your best bet is to send the text after your application has installed (as described here).
I'd like to create an app that allow you to filter incoming call to various answering message with :
"this number is not available" for black listed phone numbers
A formal message for strangers
A informative message about what your doing for friends
I don't know how you can get automatically a call, play a recorded message then wait for the answer and record it. Or maybe there is just a way to interact with the actual answering system so I just have to plugin.
Any clue strongly appreciated. A human sacrifice for any code snippet :-)
Access to the internal telephony is not possible or planned for future releases of Android:
http://groups.google.com/group/android-developers/browse_thread/thread/e8904c82a2c4a333
This would present a security risk as app developers could intercept and hijack sensitive calls (eg. telephone banking)
This is not possible on the tmobile G1 at this time. There is no way for an android SDK application to access the call input or output on this hardware/firmware combination.
http://groups.google.com/group/android-developers/browse_thread/thread/d04c307973345fef/a628e578900b3dce?lnk=gst&q=dave+sparks+play+audio#a628e578900b3dce
and
http://groups.google.com/group/android-developers/browse_thread/thread/185e33a3f420d1ac/e14e1dc84bb6dd24?lnk=gst&q=play+sound+call#e14e1dc84bb6dd24
I'm not sure this answers the question, but it is somewhat related I think.
You can install Ultimate Voice Recorder which can record your conversations (very useful when calling customer 'service'). Since it can record it, it must have some way to access the conversation.
Also, the capabilities you have to give the app are quite scary (translated from dutch: full internet access, intercept outgoing calls, change preferences, call phone numbers directly, record audio/take pictures, update contacts, auto startup). It seems to me there must be something in there that can help you?
However, I don't think it can inject audio into the stream. The symbian version had an option to insert beeps into the conversation, but I don't think the android version has it.
http://www.fingertip-access.com/
I have found out att for this use of your Phone Android or ISO, so far they ar decades behinde symbian and an inferior alternativ sadly, if you don't install a custom kernel/jailbreak it's not possible to record incoming calls and screen them. "Ultimate Voice Record ned you to use the phone in speaker mode."
it is possible to record voice calls with automatic answer. An update on this issue would be very helpful...
It is possible to have a resource that answers the calls. Enter a message and record the call. And together don't activate the microphone...
In short, an answering machine...