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™ Runtime Development

Reply
New Contributor
chrisseaton
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.

Please use plain text.
BlackBerry Development Advisor
mwhiteman
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
Please use plain text.
New Contributor
chrisseaton
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
Please use plain text.
BlackBerry Development Advisor
mwhiteman
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
Please use plain text.
New Contributor
chrisseaton
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

Please use plain text.
New Contributor
CVaughan
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?

Please use plain text.