Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 8
Registered: ‎12-28-2012
My Device: Playbook
My Carrier: n/a

Email intent doesn't work for very long messages

The email intent works when the body message (the Intent.EXTRA_TEXT) is small, but for 5 KB of text it silently fails, with no exceptions and nothing in logcat.

 

It looks like the email is converted into a mailto link, so perhaps the resulting massive mailto link exceeds some arbitrary limit somewhere. It works fine on real Android.

Retired
Posts: 159
Registered: ‎11-21-2008
My Device: BlackBerry 10
My Carrier: Rogers

Re: Email intent doesn't work for very long messages

Hello,

 

Thank you for your feedback. What device/simulator were you testing this on? Was it on BlackBerry PlayBook or BlackBerry 10?

 

Cheers,

 

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
New Contributor
Posts: 8
Registered: ‎12-28-2012
My Device: Playbook
My Carrier: n/a

Re: Email intent doesn't work for very long messages

  • PlayBook
  • OS 2.1.0.1314
  • Android SDK 21.0.1, API 10
  • Converted with command line tools 1.5
Retired
Posts: 159
Registered: ‎11-21-2008
My Device: BlackBerry 10
My Carrier: Rogers

Re: Email intent doesn't work for very long messages

Hello,

 

There might be a 5k limit for email intents on BlackBerry PlayBook. If you try passing under 5k, does the intent work? For BlackBerry 10, this shouldn't be a problem.

 

Thanks,

 

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
New Contributor
Posts: 8
Registered: ‎12-28-2012
My Device: Playbook
My Carrier: n/a

Re: Email intent doesn't work for very long messages

Yes if I try a smaller body it works fine. I haven't done a search to find the exact point it stops working, but I know it doesn't work for just over 5k.

 

I can work around it on the PlayBook.

 

Thanks

New Contributor
Posts: 5
Registered: ‎07-03-2012
My Device: Developer
My Carrier: Various

Re: Email intent doesn't work for very long messages

I ran into the same issue, but took some time to narrow it down a bit further. On the Playbook I am able to pass in 900 characters of text, but 1000 characters fails.

 

This page suggests that it won't work at all on BB10.

 

Can we get a definitive answer on what is/is not supported please? Also, is there a way to work around this?