WhatsApp e-mail conversation with Java - java

I'm a starter in Android Programming, and I need some API/algorithm by which I can invoke the "email conversation" in WhatsApp without opening WhatsApp itself.
Searched WhatsApp FAQ, they give whatsapp://send?text= as the code to send text messages without actually opening the app.
Is there some way to do the same task for email conversation?

Related

How can I get notifications to my phone when an exception occurs on my java server?

I run a java application on a server at home and want to be notified on my Android phone when an exception occurs so that I can fix it.
I loose money if it stops running.
I could send an email, or even a text from my java application but I want something specific. I don't want to have to reach for my phone every time I get an email or text.
Is there some Android client app that works with a monitoring API on my server? I can't find anything suitable on Playstore.
What I want is a server API, preferably Java, that will send a message to a phone app that pops up a notification on the phone. The API doesn't have to be Java: Rust,C,Python, anything easy on Linux.
Open a new email account just for server exceptions. Install a new email client on my phone just for this account. Turn on notifications so it makes a noise when an email is sent. Then, when an exception occurs on the server,
send an email to the new email address.

how to show message sent by my app in default message application

My application allows users to send messages to others, so i was wondering is it possible to show the text sent in the default message app. I want to show the text in the existing conversation in the messaging app if its possible instead of creating a new conversation.
You could try Google Cloud Messaging ( GCM ). This link has a nice tutorial!

How Can I get my app id in Telegram API?

I am trying to get my app id from Telegram API by using the method register.saveDeveloperInfo, but I cannot find the way to do it.
I'm using de MTProto Java library.
This is what I had done by now:
I made my own register.saveDeveloperInfo implemmentation in Java.
I call the method with the corrects params (https://core.telegram.org/api/obtaining_api_id)
The method returns a true boolean but I have not received the sms with my app_id.
When I enter in my app section of the telegram web (https://core.telegram.org/myapp) shows the "Your app is not ready yet" message.
Anyway, I'm trying to use the app_id from the source code of the official client but I can't send or receive message.
Does anyone know how to do it or where can I find more information?
You can get your app api_id and app api_hash from your Telegram app page. This is what you'll be using as of this writing. If you are asked a password, provide the mobile phone number you'll be using to develop and Telegram will send you the password.
If you are asked a password and Telegram didn't send it to you, try to provide the mobile phone number without "+".
Try disabling any anti-spam software or VPN. Disabling ABP for https://my.telegram.org/apps helped me

Open my mobile Java program with SMS, no SMS in inbox

Is it possible to open my mobile Java program with an SMS?
And I don't want this SMS to be stored in the inbox. I'm looking for the kind of "Control SMS" that banks use for their mobile applications. I want the same in my application: send SMS to the mobile, the mobile device shows a message on screen that will be opened by the program, and this SMS should not be saved in the inbox.
Are you sure that you're not mistaking push notifications/cloud to device messages for SMS's?
Push/C2D messages are similar to SMS's inasmuch as a central server sends a message out to devices and many apps then display a popup based on that message, but the implementation is completely different. If you're not mistaking the two, is there a reason you'd prefer to use SMS's that are handled differently than most instead of push/C2D messages?
Here's the documentation for Apple's Push Notification Service.
Here's Android's Cloud to Device Messaging documentation which serves the same purpose.
Have a look and see if that would serve your needs.
If you are looking for completely client side J2ME based solution for feature phones - then try push registry. It is available above MIDP2. I don't know the exact details but there you can define event and triggers which will be stored by phone OS and invoked automatically when particular type of event occurs.
SMS sending is separate issue but there are tools available for that definitely.

Android, sending a voice message

I’ve built an app for a client that basically sends a standard pre written SMS to the client of my client’s phone asking for them to get in contact. Now the client would like to be able to send a pre recorded voice message to an answering service with the touch of a button, can this be done, firstly from an Android phone.
I’m guessing it can be done because when I search for an answer all I can find are apps that someone else has written that do just that.
Sometimes development tutorials can be hard to find when it comes to apps as you just get a long list of people trying to sell their apps…lol.
Does anyone know of such a tutorial?r
This is not an answer but maybe could help
I once wrote an application like that for a particular answering service for a particular provider in my country. To leave a message on their device I was basically required to compose an e-mail with a message recorded as an mp3 file and included as an attachment to the mail. I then send such mail to a specific mail address of their answering service. I had to supply credentials for the mail to be accepted. Such credentials (login/password) I obtained first by sending a specific port SMS to their service.
For composing mails with attachment I used an opensource IMAP client for Android (as a jar library added to my project). Don't rememeber which client it was but can find out.
I guess there's no common standard for that but basically all the answering services should do something similar.
Sorry if this info is too vague, I was just given the protocol of how that particular answering service was working and implemented accordingly.

Categories

Resources