I am developing an application using web services(Volly). I just want to create
Forget password module
I am taking email from user. I just want to send verification code to that particular email address so that user can put that code and rest his/her password.
The reason people are down voting your post is because Stack Overflow isn't meant to be used as a place were people just write code for you. You can easily look this up. If you have a specific question, you can ask it here.
Related
I'm working on two seperate apps that need at some point to exchange messages, both apps share a MYSQL database, I want the first app to be able to send some data to one of the other app's users (specified by his id, email or phone number ), and this last to be able to reply to the request by accepting or rejecting with a button click.
Now, I don't know what is the best:
Something similar to chat ?Is it possible to extract the necessary data from the rest of the chat message ?
A broadcast.
A push notification.
Or something else ?
Help me please I'm a total newbie, I would use an expert opinion.
What you are describing is basically every other Chat App that exists.
I can only suggest you to read this code example to get an idea how to approach this:
Android Chat Example code
I have always wanted to be able to have my users send feedback to my email address. Not a problem when using 'createChooser()' with ACTION_SEND type within an Intent. This may lead to a few very rare errors where there is not an application on the user's device to handle that Intent.
My question is: Is it possible to send an anonymous "from" to my developer email account so the User's email will not be required? I know basic HTML, and am wondering if this is possible with a 'form' in a 'WebView' (preferably less complicated) I Do not have a web server or access to one, and am only an individual developer, so that may throw that out of question.
Any insight is greatly appreciated, thank you for reading.
I don't think there is a reasonably easy way to do this with Intents. The best way I can see is have a couple of EditTexts for the message and maybe a title, and then a send Button at the bottom, then sending programmatically with a java class.
See this link for some info on how to do the actual sending part: http://www.developerfusion.com/code/1975/sending-email-using-smtp-and-java/
It's fairly straightforward.
Hi my app lets users post/share photos, and comment. App and server communicate via JSON. I'm looking for an effective way to let users know if there are new comments and mark as read after they read them.
I have a comment table on the server, do I add a column with tinyint as 'read' boolean? And how do I automatically set a comment record to true when they are accessed/selected?
Thanks.
Since your app nature shows that you need to save read/unread status on server side (also other desired information). So whenever your server get to know that some User A has posted a comment for some User B you will send a push notification to B telling the app that a new Comment has been posted. When user click the comment to read it just send a notification to server telling him that this comment has been read and server will mark it read in its database. Thatz it
I need "Contact Us" functionality which is generally used in website.How to send emails to mail id's provided by user. I know that using Intent we can send email. Using intent we can open default mail app in phone and able to send mail, But how to send mail without opening mail app.
You could do it server-side: You make an HTTP-POST Request with all the data which you want to send in it.
Use WebView.
your "mailto:" tag will not be picked by any app as they will not have access to your webview.
I think the user needs to open the mail app, as you can't assure from which email he wants to send you a contact message. If the user has an already configured account or not, is something you may not know. Maybe he just wants to send you info without using his email.
If you still want to create a contact us going through email, I'd go for this solution.
Otherwise, something like what #niklas said would be ok, but maybe encrypting the content, and probably not sending it as an email, but storing it into a database (so they can just fill the database with trash, instead of exploiting your service to send spam)
Use JavaMail API ... See this below link.
Sending emails without user intervention
I've been doing alot of searching around the website but not even sure if i got all the keywords correctly.
I've found this link but I needed more coding samples.
How to keep the session of user login?
I would like more sample coding on keeping the user's info when logged in. As that user sends the data to the server it will identify that user sent that data.
For example, I login as 9999. I send the data 123456789 as a book number to the database server.
the database will show
user-9999 book number 123456789
Another thing I need as sample coding for this similar project is how to input a code to completely logout. As user's cant log out and only their supervisor who knows the code can approve and logout for them by putting in the numbers.
Thanks
Merrill
(I'd post this in a comment, but my account doesn't yet have adequate commenting permissions.)
Are you strictly trying to figure out http session management within the Android app, or are you also trying to figure out session management in a server-side application?