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 [email protected] <[email protected]>

> 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 [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

-- 
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

Reply via email to