I am having trouble when I try to pass a text string from within an EditText to either Facebook or Twitter via an intent.
This is my code for sending an HTML email in Android, with a clickable link.
private void sendEmail()
{
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
String subject = "Prueba";
String emailtext = "<a href=http://www.google.es>PruebaEmail</a>";
emailIntent.setType("message/rfc822");
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
emailIntent
Here is the code which i used to send email..but TO address string which i have added is not shown on the screen when i run it..didn't get any error..
I am attempting to email the results of the app with an intent. I am using a StringBuilder and appending a few lines of text with "\n" within each line and then invoking toString() on it and storing it in the 'result' variable.
The problem I am having is the text is automatically center justified in the email message body.
I am able to send mail and share a link text in all devices if they are below v 4.0 , but while i am sending email using the same code i am not getting clickable link on my email from galaxy s2 device , i am womndering why this is happening with only some of devices..my code for sending email with hyper link text are given below:
Intent emailIntent = new Intent(android.content.Intent.ACTI
I want to enable some error report in my app, for that I am searching for a way which works in devices higher than api level 8
My current implementation does not work on a Android 4.1.1 device, there is no action when the user presses the error report button.
I have the following event handling code for a button click event here:
Code:
ibtnShare.setOnClickListener(new OnClickListener() {
public void onClick(View v){
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.putExtra(android.con
I want to pass a value from one avtivity to another activity by use intent.. Im not getting the value im getting as null.. There is no error in my logcat. Any help would appreciated. thanks in advance.
I'm using this code to send a file to another device:
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("image/*");
i.putExtra(Intent.EXTRA_STREAM, uri);
startActivity(Intent.createChooser(i, "Send File"));
This works very well, but I need to get a result code, if the file is received on the other device.
Also I want to use the received file i