Sunday, July 8, 2012

Re: [android-developers] Motorola Razr ICS upgrade broke my app

Hi Kostya,

Thank you. It worked. :) For some reason this new ICS update on Razr
cares about it, but on other ICS devices they don't care.



On Sun, Jul 8, 2012 at 12:18 PM, Kostya Vasilyev <kmansoft@gmail.com> wrote:
> The only thing that pops out of your description is the use of */* for mime
> type.
>
> Have you tried using the actual mime type to see if it fixes the issue?
>
> -- K
>
> 2012/7/8 yvesliu@gmail.com <yvesliu@gmail.com>
>
>> We have an app on the Market, which works for ICS (we tried on Galaxy
>> Nexus and Galaxy S3 etc), and older android system, like original Razr. But
>> with the new ICS upgrade to razr, this app doesn't work anymore. Here is the
>> issue.
>>
>> This app basically captures an image, and saves it to the sdcard or
>> internal phone memory (depends on the user settings). And then we use
>> MediaScanner to scan it, the call we used is mScanner.ScanFile(fileName,
>> "*/*"); Then we could query ContentResolver and the file is there. But the
>> gallery on Razr (with ICS upgrade) will not see the new file. Since we don't
>> have a Razr to test it with, the information we got from users is that if
>> they copy this file to a computer, and then move it to the sdcard, and then
>> reboot the phone, Gallery will see the file. We have no idea what is going
>> on because we thought the Gallery queries ContentResolver as well. What did
>> we do wrong? And why other ICS devices works just fine?
>>
>> Any pointers and suggestions?
>>
>> Thanks
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment