Auto Read SMS/OTP using (codenameone) - codenameone

I would like to auto read the OTP send via SMS in my application, so that user does not need to do it manually.
Is there an API available for it.

No.
Incoming SMS is a special case in Android and nowhere else. You can use native interfaces to grab such messages.

Related

How to build serverless p2p chat application in React?

I would make a chat app where server communication is allowed only for signaling.
I checked this video: https://www.youtube.com/watch?v=WmR9IMUD_CY
This video goes about "real time" communication, for me some delay is ok. I would make chat application which only send text, but not video content. The question raised for me:
How to generate ice candidates to get list ip addresses / ports? How to make request to stun server?
If we have the ip and port list shared through the signaling server on both side, then how one client call the other client and send or receive text? Can I use axios for sending, and set one of the ip - port pair from the list as url? How to receive message?
Maybe I do not even need webrtc as the data transmission does not need to be realtime, some delay is ok?
Would you show a basic demo?
Maybe that is what you are looking for Google Code Lab Friendly Chat
but if you want to learn more about WebRTc I really recommend this article so you will can see if is that what you want.

How to request read receipt with Google App Engine

I have a GAE application which sends out email to my domain users in a Google Apps for Business environment. I am using JavaMail as described in this article. Unfortunately I can't seem to find a way to ask for a read receipt. I looked at Message methods but nothing seems to suggest that it is possible. Thanks a lot.
If you're interested in knowing if a mail bounced, then use bounce notification https://developers.google.com/appengine/docs/java/mail/bounce
For read receipts:
As far as I'm aware, you need to roll your own read receipt functionality. For example: Include an image(with a unique url) in the mail you send out. When the recipient opens the mail, the image is retrieved and you can determine whether the mail has been read. This has it's downsides; if they don't have images enabled, then you won't receive the notification.
You need to set the appropriate headers on your message, as described in Message Disposition Notification - RFC 3798. Not all mailers will honor MDNs, so you might find the tracking pixel useful as well. But then some mailers won't display remote images, so in the end there's no guaranteed way of getting notified when a message is read.

Intercepting incoming text SMS in J2ME

Is there any way to intercept an incoming SMS message(In J2ME), and then modify it (or fetch data from it) before going to inbox.
Suggest some methods (or code).
It is not possible with JavaME.
receiving sms j2me
listening to sms, which is sent without any port number in j2me app
https://stackoverflow.com/questions/13082810/listen-for-incoming-sms-while-the-application-closed-in-blackberry
You can only receive SMS which is sent on a specific port - and standard SMS is not sent that way.

What is the alternative way of sending user location via sms on iOS6?

i have done a security app which locate a iPhone and send the GPS location of the phone through message to an associated number this functions works good until iOS 5, but the issue is sending SMS without users knowledge is restricted in iOS 6, so i need a help here instead of sending message, is there any other possible way or replacement for this function? any answer related to this method are appreciated.
Thank you.
You haven't specified whether your ios app has a server. If yes, you can transmit location to server and that in turn can transmit it to intended user via specific api.
If this is not correct, APNS is your friend. This is a way to send messages to desired devices only, the ones who explicitly registers through your app.
Another quite equivalent option is to store it in public back-end like parse.com. As soon as other devices start your app, they can pull your location from there. If their device is already live, parse.com can make sure to notify them as soon as you change your location value in their DB.

sms aggregator implementation/application

What could be the use or application of SMS aggregators such as SMSLib or Kannel.
Can I use them to send SMS's from my web server.
In case they can send SMS's will those be sent on a GSM channel or GPRS channel.
What would be the cost implications per sms on part of the customer and on part of my implementation process?
You can use those libraries/SDK's but you will still need to get a short code to send and receive SMS text messages to and from a mobile device.
OpenMarket offers this type of service as well as a number of software SDK's to implement your request. Also OpenMarket offers Premium SMS as well as MMS.
It's a lot easier then Kannel ;)
BTW if you just looking to send SMS via a web page and know what carrier the user is you might want to try the SMS gateway approach. It's using a special email address to send SMS to a mobile device, but I don't think they can reply to this type of message.

Resources