Sending SMS(s) through my company's software to ANDROID phone - java

Can anyone point me the right direction as to how write a program that contacts and sends a SMS to the ANDROID phone?(ONLY asking for resources to help my coding)
Program Requirements:
1.When the SMS sending function is selected in my company's software,program will contact the ANDROID phone(connected through the USB) and the ANDROID will send the message to the target.
2.Program should also be able to delete the SMS from the sent messages or outbox folder in the ANDROID phone so that no trace of it is left behind.
I do not intend to have a GSM Modem ,only the ANDROID phone is connected through a USB for SMS sending.
If anyone can offer any words of advice,it'd be great.If not,please do not waste your time.All help is appreciated.

Here is a great resource to help you get started with Android Development and the Android SDK.

Related

How to send a notification from an android app to another android device using phone number?

I am developing an android application and i need to send a notification from the app to a phone number (another device).
Can anyone tell me how can i implement this? any methods or API i can use?
Thank you in advance
I don't think you can do it without developing server-side software that Android devices will connect to. In your server-side software you can use FCM(Firebase Cloud Messaging) or any other framework/library to send notifications to one or group of devices.
Problem is that you need to have connection to the other device and you can't know if that device is connected to internet and even if it is you don't know the address of that device. 99.99% that you need server-side software.
the easiest way (but the most expensive i guess) is to have the first device send a request to a server (whose backend you have to build, eg. php) that will send a push notification to the second device via Google Cloud messaging service.
that's not so easy because the second device to receive the notification must register at GCM and the first device must identificate the id of this device (the common way is to have a common id like username)
There is on possibility without using server side code, Send SMS to the second Phone and read the SMS in second phone and display your notification in second phone. It will cost the SMS charges in both phones.
Create an API that communicates with the users of the application this will be able to send updates to the registered users at real-time.
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/

Android Push Notification from device to other devices

I have been trying to learn android programming following Ravi Tamada's tutorials - AndroidHive for weeks now.
I created an app that performs Create, Read, Update and Delete actions (CRUD). Similar to this .
Now, what I want in my app is to have another feature that whenever there is a new data created and/or updated in the database, the app sends notification to other android phones that have the same app.
I've researched and come across Google Cloud Messaging, which AndroidHive also have a tutorial for. The way I see it is that it is only the server that can send notification to devices and GCM cannot do: "Device to another Device" For instance, "Device creates data -> send to database -> GCM sends notifs to other devices". Correct me if I'm wrong.
So I've searched again and found that you can use Smack for Instant Messaging app. Similar to something that I want my app to accomplish. But I'm having trouble understanding and implementing Smack to Java and Android.
So what I want to know is:
1.) Is it possible for GCM to listen to a device to check if the app has change the database and sends a notification to other devices that there is a change in the database?
2.) Do you have any "noob-friendly" article links on how to have a basic understanding and implementation of Smack in Java-Android?
Thank you.
Check out the official tutorial on the Android developers site:
http://developer.android.com/google/gcm/notifications.html#upstream
You can just upstream a message to the Google cloud and it will be sent to other devices in the same notification group.
I'd suggest that you always start with the official tutorials first and then move on to third-party blogs, it's just easier that way.

Accessing SMS from USB modem to be uploaded for Android app

I'm developing an Android app that will monitor the height of the flood. The data that will be used are from a SMS message that will be received by a USB modem. The data from the SMS will then be uploaded to a internet Server or FTP. This data will be downloaded by an Android App.
My Question is how to access this SMS from the USB modem. I'm much familiar with C, and PHP and other Web related language. Any suggestion on what language to use just to Access the SMS? thanks. :D
I'm not sure a that using a USB modem to receive sms is going to be your best option. Seeing that you are familiar with php and other web languages have you considered trying out the Twilio SMS API?

Receive email notifications in android app

Im trying to make a simple app (just for learning sake) that will be able to send and receive emails from my own server. I don't have a problem sending emails from my app, my problem is:
How do you receive push notifications from the email server
Have the app check inbox, refresh the inbox list
I have tried searching for this, but have found nothing.
Thanks for your help
C2DM does push notifications, depending on your server. Search stackoverflow for it.
The app can check the inbox with whatever API is available to get the server's status. Even HTTP is possible.
The SampleSyncAdapter sample app is an example of using a sync adapter to regularly synchronize data between the server and the device, but you can use the same idea for download-only.

send data from 2 bluetooth to android device

I need to send simple data-an integer- from two bluetooth devices to an android device. I know that the Bluetooth Chat is the base upon it, but it refers to connection of only one bluetooth device. Does anyne has managed to change it or has any hint to give me??
Any help would be very appreciated!

Categories

Resources