1. Check out our companion app, Forums for Android! Download from Google Play

Load a map in a background service

Discussion in 'Application Development' started by dima1109, Sep 25, 2010.

  1. dima1109

    dima1109 Active Member
    Thread Starter

    Dec 9, 2009
    Not sure if i can explain this well, but here it is. I'm trying to make an application that would load a map and save it as an image to the SD card, but I would like to do it in the background. I've gotten to the point where I can display a map in a foreground Activity and save it to a file, but I can't think of a way to make it happen in the background. In other words, i want to set it up so the app has, say, an icon on the home screen, and clicking on the icon would load a map at a specific geographic location and save it to a PNG file without ever displaying any UI or leaving the home screen. Would something like that be possible?

    PS. I asked this same question on StackOverflow, in case someone sees it there. Don't mean to be a pest, just really curious how to do this.


Share This Page