i have been developing an app. It allow call, sms, etc ... from information about contact. Now i want to attach contact via sms,or email. How to do this?? Thank in advance
I guess these can get you started:
SMS
Bluetooth
Email
You should not think that way in Android. It's much more Android's way to "share" things. Look at this link, you will get it : http://sudarmuthu.com/blog/sharing-content-in-android-using-action_send-intent
And when an answer fits your need, feel free to accept it, that's the only way people get rewarded here.
Related
I am trying to build a functionality where a notification can be send by the user from my application to one other friend from his friend list. I tried to implement this with a request, but the picker allows the selection of multiple friends.
I know I can get a list of all the friends of the user, but I do not know hot to send a notification to a single friend the user selects.
So I was wondering if there is a way to either limit the requestdialog to select a single friend or to send a notification to a specific friend.
I'm not sure if this is an acceptable way to share your content, but you may want to try just sending a message. The latest API has support for Message Dialogs
I hope this is helpful in answering your question, but I understand that it may not be.
Happy coding! I hope this helps, leave a comment if there's anything I can help you with.
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.
Is it possible to use Intent-filter to peek into incoming emails?
What I am trying to do is to parse incoming confirmation email and take some necessary actions based on the email body text.
It should work with all email clients on the device -- native email, gmail etc
For gmail, this is not possible. See this conversation. It seems unlikely to be the case for the standard email client, from this discussion. This sounds like something that requires writing your own client...
Automagic might offer you a temporary workaround: "The trigger General Broadcast dynamically registers a broadcast receiver at runtime with the specified intent filter.
Please also see ..."
More..
Martin, Automagic's developer is quite helpfull and should be able to provide some details if the above is what you are looking for. Good luck :o)
I'm looking for any way to send/read a vCard via SMS in my app. I've read a lot of articles, web-pages, forums etc. There is still not even a clue how to do that.
Here is transaction.
User selects some specific contact
App generates a vCard for it
User types a number to send vCard to
App sends SMS with that vCard(?)
Addressee recievs SMS with vCard and asked to browse contact/add to
contacts(?)
Here is some posts in stackoverflow with the same issue: this and this. Still nothing helpful...
I've found this nice library to work .vcf files(both write and read). But is there any way to send it to another phone (and read properly of course)? Just send this as a string maybe?
HERE is a nice stack post about handling data from recieved SMS sent by SMSManager.sendDataMessage() method
Please help! I'll be happy to get any clue, useful library or a proof that it's impossible on Android. If there is no way via SMS can you give me advice how to do that via MMS?
What's interesting, that there is a lot of apps with that functionality, so I guess this is possible.
Thanks anyone who responds. Have a good day.
You don't have to read MMS from code, when you have system for that.
To send MMS with vCard, you need to attach .vcf file to it.
Here is an answer how to do that.
I have a question. I must create a program with a service in backgroud, to control inbox emails and if an email comes from a defined address I do something. Can you help me? I don't find any guide to read emails.
You have to query for it. That's fast and supported on every device: ContactsContract (There's even an example)