Saturday, July 7, 2012

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

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

No comments:

Post a Comment