sms

connecting cell phone to computer

我是研究僧i 提交于 2019-12-11 14:59:47
问题 is it possible for me to intercept the text messages that get sent to my cellphone if i connect to my cellphone via bluetooth or USB or some other connection to my computer? i want to create a database with all of my received text messages and be able to control my cell phone through my computer by using it to send text messages i have a regular motorola flip phone 回答1: According to GSM Specification 27.005 you should be able to get indication on incoming sms. You need to open AT Command

Sending sms error Generic failure again and agian

只愿长相守 提交于 2019-12-11 14:53:47
问题 Here is my code.. private void sendSMS(String phoneNumber, String message) { String SENT = "SMS_SENT"; String DELIVERED = "SMS_DELIVERED"; PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent( SENT), 0); PendingIntent deliveredPI = PendingIntent.getBroadcast(this, 0, new Intent(DELIVERED), 0); // ---when the SMS has been sent--- registerReceiver(new BroadcastReceiver() { @Override public void onReceive(Context arg0, Intent arg1) { switch (getResultCode()) { case Activity

SMS retriever api wont read OTP from SMS automatically in release build

主宰稳场 提交于 2019-12-11 14:22:36
问题 I generated Hash from AppSignatureHelper class which works for debug build, same didn't work for release build, so I generated a hash using keystore and alias using command https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string and updated to SMS text, this too didn't work. 回答1: First publish app on play store then do these steps : Go to Release management in developer console. Click on App signing. I have added an example you can check in below SS. EDIT 1

How to send sms using php script from ftp server

ⅰ亾dé卋堺 提交于 2019-12-11 14:03:14
问题 I'm trying to send a sms using php from my ftp server in the background. I want to send a sms whenever I query data from one of my folders. I send GPS coor. to my ftp server in the form of a txt file and use php script to query that data and display it using google maps. I want to send the sms whenever it pulls the lonlat. I know of the mail() in php but wondering how to implement it. I am new to php and have been assisting someone else on this but we have reached a deadend. We're are trying

How to receive incoming SMS on Android KitKat or above?

自古美人都是妖i 提交于 2019-12-11 13:56:45
问题 I know from KitKat onward we need to make out app as default SMS app to be able to modify the SMS database. But I don't want that. I only need to get notification of incoming SMS and display as toasts, and also send SMS . Do I need to make my app default for that? Edit 1: Here is my manifest file: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.rtrgroup.sms_to_neta_server" android:installLocation="preferExternal"> <uses

Get location ( BroadcastReceiver,LocationListener) [closed]

社会主义新天地 提交于 2019-12-11 13:24:30
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am beginner at android. I have a question. I want to when I receive SMS then get my location(latitude and longitude). How can I do. if you have sample code, it will be more helpful. Thanks for your help. 回答1:

How do I get the count of SMS messages per contact into a textview?

巧了我就是萌 提交于 2019-12-11 13:14:13
问题 I have a listview that displays the contacts on my device. What I'm trying to do is display the number of text messages my device has received from each contact into a textview within my listview. I have only been able to display the total number of text messages within my inbox from this code: // gets total count of messages in inbox String folder = "content://sms/inbox"; Uri mSmsQueryUri = Uri.parse(folder); String columns[] = new String[] {"person", "address", "body", "date","status"};

How to open and show phone's message inbox programmatically..?

江枫思渺然 提交于 2019-12-11 12:46:39
问题 When we click on messages we are showed with the inbox. I want to show the same window when i clicked on my application's button. So, I want to start message inbox activity. How to achieve this...? Thanks in advance...! 回答1: Try this.. works perfectly..! public void openInbox() { String application_name = "com.android.mms"; try { Intent intent = new Intent("android.intent.action.MAIN"); intent.addCategory("android.intent.category.LAUNCHER"); intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);

Kitkat Behaviour: SMS Broadcast Receiver not working after fresh installation and if app is not launched

妖精的绣舞 提交于 2019-12-11 12:41:50
问题 I have an Android app that listens to SMS messages. This is in the manifest: <receiver android:name=".SMSListner" > <intent-filter> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> </intent-filter> </receiver> The broadcast receivers works fine if the app is installed and opened(For all android versions). In case, below kitkat version, if app is install and is not open, still it receives the SMS in OnRecieve method In case of KitKat, it is not working till the time

Xamarin forms messaging plugin

社会主义新天地 提交于 2019-12-11 12:35:13
问题 I've just tested the "new" Xamarin forms cross platform plugin. It works as it should and you get navigation to the phones messaging app when you are about to send a message. As I could read it is restricted by the OS to not let you send sms from within the app directly, is this the same if you go all native to the NS api on iOS? A solution if you don't want to have the sms app enabled is to have a backend/api, but then it also requires more than just the app and a separate sms gateway. So my