I've seen a similar request a few times in regard to the original android OSMDroid library.
People wanting to run the
osmdroid tile packager on the device to build an offline tile cache.
First i'll say i never did get the osmdroid tile packager to even work on a desktop computer.
But i'm sure it uses packages that are only available on desktop java and not available in android's java implementation - so technically just will not work on an android device.
I suppose in theory you could take a GeoPoint and radius and download all tiles within the radius of the GeoPoint and save them to the external memory 'osmdroid' cache folder.
Or download those same tiles and package them as a .zip format offline tile archive - saving the archive in the same 'osmdroid' folder.
Apart from the time it'd take to write the code to download the tiles you'd probably find that most free online tile servers would treat such bulk downloading as abuse and either refuse to serve all requested tiles or limit the download rate so as not to let your device hog the tile server resources.
Did you see my
MapsForgeTileProvider library for use with the GoogleMaps library?
I have a similar library for use with OSMDroid - the library renders tiles on the fly on the device from raw open street map vector data.
The raw data is typically far far smaller in size than the equivalent tiles you'd need to provide offline tiles for the same area.
You could in theory create a number of map databases - a map database is the raw open street map data - for various areas and offer your users the chance to download a map database for an area to allow them to view that area offline.
It'd take time to create a number of map databases for lots of small areas but it is i think workable.
Or you could create map databases that cover a larger area and reduce the number of databases to create - though your users would then have to download more MBs of map database before being ready to go offline.
If you wanna try the OSMDroid version of MapsForgeTileProvider then send me a PM and i'll let you have a link to the library and a working demo project.
Martin.