Re: [android-developers] Recommendation for an Application with tons of media files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/6/10 18:50 , Frank Weiss wrote: I was thinking in using the sd card storage. That's a good idea. But, I don't want the user to accidentally remove the media files. I want it to be private, not accesible to possible deletions. How might a user accidently remove them? Why is this a concern? Definitely a 160MB apk is not a good idea. Go for the sdcard, and add just a consistency check for all the stuff, if you're worried about deletions. Keep in mind that most users won't use a file manager and thus it's not probable that they mess around with your data. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. java.net/blog/fabriziogiudici - www.tidalwave.it/people fabrizio.giud...@tidalwave.it -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyFKoQACgkQeDweFqgUGxcyKwCgie6CTEeIY77K9kkWMaMYXROh 3LwAnRQG4IneGWRStazk9Jtsykv1P+rS =hk3x -END PGP SIGNATURE- -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Recommendation for an Application with tons of media files
Nice to hear your opinions, thanks all. Cheers, -- If you want freedom, compile the source. Sebastián Treu http://labombiya.com.ar -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Recommendation for an Application with tons of media files
Hi all, What will be the best storage choice for an application with huge amount of mb in media? The application will not be in android market. First choice was to use assets/ folder. At least, 160MB of audio is shipped with the application. When I moved all the media to the assets/ folder, I end up with: Conversion to Dalvik format failed: Unable to execute dex: null And reading: http://code.google.com/p/android/issues/detail?id=2328 suggest me that maybe it's not such a good idea to ship all the media in an .apk file. I think that the problem has nothing to do with large .java files, as it arises when I copy the bunch of audio to assets/. I was thinking in using the sd card storage. But, I don't want the user to accidentally remove the media files. I want it to be private, not accesible to possible deletions. So, another approach is to use the private storage and download the media in the application first run, or something like that. What would you suggest in such case? I have little experience in android development yet, and I'm trying to take the pros and cons about it, for then make the best choice. Best regards -- If you want freedom, compile the source. Sebastián Treu http://labombiya.com.ar -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Recommendation for an Application with tons of media files
I was thinking in using the sd card storage. That's a good idea. But, I don't want the user to accidentally remove the media files. I want it to be private, not accesible to possible deletions. How might a user accidently remove them? Why is this a concern? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Recommendation for an Application with tons of media files
Hi Sebastián, 160MB is a lot of data, I think it is a must to save that much to SD card (I'm not sure how much is the common internal phone storage, but I wouldn't be surprised if it would be around 256MB in common cases). Although I have to disappoint you, I think there is no way to prevent user from accessing the data on SD card (this link supports my thoughts http://developer.android.com/guide/topics/data/data-storage.html#filesExternal). You cypher the data somehow to prevent other applications from reading it successfully, although you are going to have to check for the data availability everytime you want to access it and throw an error message when they are not found (they actually don't have to be deleted, mounting SD card as mass storage to computer is enough to make them disappear to you). Best regards, Filip Havlicek 2010/9/6 Frank Weiss fewe...@gmail.com I was thinking in using the sd card storage. That's a good idea. But, I don't want the user to accidentally remove the media files. I want it to be private, not accesible to possible deletions. How might a user accidently remove them? Why is this a concern? -- 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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en