Hi, That's the other thing that I don't like about this whole "download it to sdcard if it's too big". I really actually do believe that game devs can take advantage of this, BUT I think it's also sort of annoying in the sense that it can force an app to have the "full internet access" when a user might wonder "why does it need that?". I mean I do tend to get a bit wary when apps all want internet all the time.....
-niko On Jan 27, 7:55 pm, Kevin Duffey <[email protected]> wrote: > There are other issues to worry about with this tho.. like.. where do you > host the images? Do you run your own server and pay for hosting.. domain > name reg, etc? If so, do you have the know how to write the server piece (if > not, shoot me a private mail, I know how). I wouldn't want to host my pics > say, on FaceBook, or some other image site for use by my application. I'd > definitely want to host them on my own server. Amazon EC2 or perhaps App > Engine from google could work for this. > > I imagine there is plenty of code out there on how to make a URLConnection > to a specific URL location, or even use FTP if need be. Either way, you > should be able to access a remote location for the images and bulky data. Is > there a built in library that works the same on all devices to access the SD > card tho..that is what I'd like to know. You need something that can give > you how much space is left, access to store to it, etc. > > On Wed, Jan 27, 2010 at 9:32 AM, Dan Terrill <[email protected]>wrote: > > > Sounds like someone needs to work on a library to make that easier to do. > > Would there be any commercial value in it? > > > *From:* [email protected] [mailto: > > [email protected]] *On Behalf Of *TreKing > > *Sent:* Wednesday, January 27, 2010 12:06 PM > > *To:* [email protected] > > *Subject:* Re: [android-developers] Re: What About Oversize Apps? > > > On Wed, Jan 27, 2010 at 10:54 AM, Terry Stone <[email protected]> > > wrote: > > > Does anyone have a good working example of how to do that? It seems > > that this is a recurring issue here. > > > I don't but this shouldn't be that difficult. Assuming there are existing > > functions for loading an image from a file: > > > 1 - Check if file to image on SD card exists > > > 2 - If so, load it, done. > > > 3 - If not, download from your server, cache to SD card where you checked > > previously so it'll be there next time > > > 4 - Profit > > > Of course you will want to let the user know that you're downloading stuff > > somehow, especially if they're large images that will take some time. > > > ------------------------------------------------------------------------------------------------- > > TreKing - Chicago transit tracking app for Android-powered devices > >http://sites.google.com/site/rezmobileapps/treking > > > -- > > 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]<android-developers%[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]<android-developers%[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

