Picking a Contact photo with Motorola Cliq

Some Motorola Cliq phones are having issues trying to pick a contact photo using something other than the Gallery app that comes with the phone. Motorola is aware of the issue, but I am trying out a workaround for it in my File Browser app. Basically, the problem is that an OutOfMemoryError could result from attempting to pick a large photo because the Intent being used does not specify the size to be returned. Normally, I would just use getIntExtra(“outputX”,defX) and getIntExtra(“outputY”,defY) in order to get what the caller wanted as a size, but since Motorola’s contact app does not provide those Intent Extras, it would return the full sized photo.

Instead of waiting for Motorola to modify their app, I decided to check the name of the caller and provide a default size for that particular app.

if (myActivity.getCallingPackage().equals("com.motorola.blur.contacts")) {
    outputX = outputY = 48;
}

One thought on “Picking a Contact photo with Motorola Cliq

  1. Hello,

    Is blackmoonit.com struggling with outdated IT equipment?

    Hi, I’ m Orlando Delgado from ICT, and we specialize in secure and compliant IT asset disposition.

    From secure data destruction to eco-friendly disposal, we handle the entire lifecycle of your IT assets.

    Security, Compliance, Sustainability

    Our services ensure that your data is irretrievably erased, meet all regulatory requirements, and adhere to environmentally friendly practices.

    We provide certifications for all our services, giving you peace of mind that your organization is protected.

    Ready to streamline your IT asset management?

    Please respond below to schedule a free consultation with our experts. Let’s ensure your data is secure and your assets are disposed of responsibly.

    Take the first step towards secure IT asset disposition today!

    Regards,

    Orlando Delgado
    ITAD Services
    itad@inboxeen.com

    ***We respect your privacy. So if you wish to Opt out of future messages just reply to this message and state opt out in subject space.
    blackmoonit.com

Leave a Reply

Your email address will not be published. Required fields are marked *