Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - MMS Problem

MMS Problem

Put your problem here if it does not fit any of the other categories.

MMS Problem

Postby bouncyman » Sat Sep 11, 2010 10:56 am

Hi everyone,
I"m trying to take a screen shot of my current screen and then send it out as an MMS... here's what I have so far:

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra("sms_body", "Check out my PixMash!");
Bitmap bmp = Bitmap.createBitmap(mainContainer.getWidth(), mainContainer.getHeight(), Bitmap.Config.RGB_565);
mainContainer.draw(new Canvas(bmp));
String url = Images.Media.insertImage(getContentResolver(), bmp, "title", null);
sendIntent.putExtra(Intent.EXTRA_STREAM,Uri.parse(url));
sendIntent.setType("image/png");
startActivity(sendIntent);

when the code is called, I get a pop up menu asking me how I want to share the picture... the problem is I want to able to use Messaging and it's not one of the options. Gmail and Facebook are options, along with various other programs and they all work...
I set
<uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
in my manifest... I really need some help!
Thanks guys
bouncyman
Freshman
Freshman
 
Posts: 3
Joined: Mon Feb 15, 2010 7:34 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests