I am trying to verify the phone number of a device by having the device send a SMS to itself, but I want the message to appear like if the app was the one who send it and not my device.
Here is my project, but when I verify the number. In my inbox it appears that I send and received the message. Is it possible to do that? If it is, how can I change that?
I believe Android added protections a few versions ago that prevent you from sending hidden text messages. Someone may have a better workaround, but as far as I know it is impossible to hide the text from the user. IMO it is not that big of a deal if the user sees the text you send as long as the verification works.
Related
I am searching for 3 days now, and still I don't find anything that is what I want. Maybe it's not possible? But to accept that, I have to ask here.
I have a project, where I want to exchange usernames to both phones, phone 1 gets username of phone 2 and the other way. I tried many tutorials where NFC Reader is used, but none of them work, like it can't read the sended NFC message or whatever.
I don't really know what's the best way to send a String from phone to phone (which never had a bluetooth or WifiDirect connection, and I don't really want to create that connection).
Do you guys have tips?
I'm in an android project that in this I wanna prevent sms from some numbers that receive messages before go into inbox per second. Now I help that guide me how I can work this project programmatically?
I see some sample codes but I don't know how I can...
You can't do that on modern versions of Android. On older versions you could, but as of 4.3 or 4.4 Android introduced the concept of the default sms app. Only that app can write to the SMS database. And you cannot programatically set the default SMS app, only the user can set it manually.
Now if this restriction is ok with you, you can do it as the default SMS app. Whenever you receive an SMS, you need to write it to the database. If you don't write it, it won't appear in the inbox. You can then decide when to write messages or even to silently delete messages.
I am trying to verify Twilio integration of my Java app, at the moment I am using a trial version, and I am trying to verify that my App is able to send messages to the mentioned numbers, right now I am in India so the "TO" number is a Indian number, but the Trial number "FROM" number is a US number. I see that the messages are logged in Twilio Website, but I haven't received them on my Indian number. Smells bad? or its normal with Trail Account?
The problem is since I haven't been able to see messages in my phone, I am not sure should I go for the paid one - please help.
In addition, when i tried to verify my Indian mobile number I didn't the verification Code as SMS, so I tried the "Call Option" which worked for me.
Thanks and Regards,
Boolean
Twilio Trial accounts can send messages to verified numbers only.
I just set one up yesterday and was able to receive the messages while using my Trial.
You can check which numbers are 'validated' for testing purpose by clicking the 'Numbers' tab, and then 'Verified Caller IDs'.
When logged into your Twilio account, click on 'Logs', then 'Messages' and you will get a list of all incoming and outgoing messages that Twilio has processed.
The messages may be being blocked because of Geographic restrictions. You can check on current geographic permissions and enable as necessary by clicking:
Top right - your email/profile pic. Then 'Account Settings'.
This will bring up account settings page, as well as a tab of options at the top. Select 'Geographic Permissions' and make changes as necessary.
We developed an App for a mobile operator (VAS App). When user uses the app he receives an MMS finally.
This is working properly if the user has a feature phone.
But if a user uses an Android phone he doesn't receive the MMS.
Only a notification about the MMS. but cannot download the MMS.
Please help me on this. We are in a big trouble now and cannot identify where the problem is.
Thanks in advance.
There is something incongruous about the format of the MMS message that Android doesn't like. I don't know enough about VAS-Apps to be of much help, except that you may be able to:
compare two MMS message formats, one working and one not, to find the discrepancy
look at the Android source code for how it handles MMS
Got to know that sending a soap with a SMIL message will solve the problem.
But again the problem is how to attach the SMIL message in to SOAP in java.
Thank you
I'm working on an app that requires users to register in order to use the features.
I need to ensure that users are who they say they are so I want to use some type of verification process, e.g. email or text verification.
The best solution would be to receive a text or email after registration with a code. This code can then be entered into the application to verify the login.
I know of GMailSender but that is as far as my knowledge would go for this type of situation.
I have no idea where to start with this and have researched a lot.
Any help would be great
Thanks :)
Manually entering a code received by email would be annoying for users and they are highly likely to abandon a process that forces this upon them. Also from experience, emails are so often caught in spam traps and not received.
You should make it as easy and non intrusive as possible.
e.g
Use the device's built in Google account to register with your server (after obtaining user permission of course).
On the server side perform the registration and return a code to the app.
Use the code returned by the server directly in the app to enable whatever features you see fit.
The above example would be a one click process and would require no manual code entry.