Android Gmail to view the picture when you choose to share information (MMS), phone error or phone error, and then back to view the image interface

Source: Internet
Author: User

in Packages\apps\mms\src\com\android\mms\ui\uriimage.java
Initfromcontenturi functionPlease find this code:
M:code analyze 003, for fix bug ALPS00278013, send the Mms
With a image from phone to email,but the image name changed
To number and the suffix are lost when received. @{
FilePath = Uri.getpath ();
FilePath = c.getstring (
C.getcolumnindexorthrow (Images.Media.DATA));
/// @}
Switch
M:code analyze 003, for fix bug ALPS00278013, send the Mms
With a image from phone to email,but the image name changed
To number and the suffix are lost when received. @{
FilePath = Uri.getpath ();
try {
FilePath = c.getstring (
C.getcolumnindexorthrow (Images.Media.DATA));
} catch (IllegalArgumentException e) {
FilePath = Uri.getpath ();
}
/// @}

Android Gmail to view the picture when you choose to share information (MMS), phone error or phone error, and then back to view the image interface

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.