Jake,
The limit would be dependent on the application chosen by the user to
handle the action (the user may have multiple email applications
installed and configured).
Assuming that your Intent is well-formed (do you set the mime type?),
and it isn't your application crashing, it sounds like you discovered a
bug in the user's preferred email client.
-- Kostya
23.03.2011 23:43, Jake Colman пишет:
I have a simple file logging class that writes a log to the external
drive. Using a Preference Screen the user can enable/disable debugging
and email me the log.
To send myself the log I create an ACTION_SEND intent and add an extra
of EXTRA_STREAM with a file URI. This appears to be the classic
approach to creating an email with an attachment.
Apparently the application will force close when sending the file if the
logging had been on for an extended period of time before they tried to
send it.
Is there a limit to the file size, to the number of lines that can be
contained in a text file sent this way? Or is there something else I
need to do handle this situation?
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en