user3160651
user3160651

Reputation: 51

How to save Map screenshot into database in android

I am trying to make an app which will on a single button click will take a screenshot of the map and then save it to the SQLLite database altogether. Can anyone help with how to do so...thankyou.

Upvotes: 2

Views: 768

Answers (2)

Farhan Shaikh
Farhan Shaikh

Reputation: 1

Google Map Provides map snapshot option

mRouteMap.snapshot(new GoogleMap.SnapshotReadyCallback() {
        @Override
        public void onSnapshotReady(Bitmap bitmap) {

        }
    });

Upvotes: 0

user547995
user547995

Reputation: 2085

This should help:

Taking ScreenShot: https://stackoverflow.com/a/5651242/547995

Store in SQLite as Blob: https://stackoverflow.com/a/11790199/547995

Upvotes: 1

Related Questions