Can my application integrate with the Android Android gallery by default - like Picasa?

I am writing an application that is associated with some media synchronization. I really like the way Picasa integrates into the default gallery - basically the Picasa icon in the folder and the thumbnail mechanism (that is, it downloads the thumbnail first and only if you open the picture in which it actually gets the full size from the Internet).

I know that an application can display user data in a native contacts application, for example, using synchronization adapters. Therefore, I am looking for ways to do something similar, but in the galleryโ€™s own application - without developing a new gallery, of course. I think the question is whether the Gallery application is open for add-ons / plugins or custom behaviors, etc.

From what I collect, this is impossible, but maybe I'm missing something. Thanks.

+6
source share
1 answer

It looks like Picasa is built right into the Android gallery:

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/4.2.2_r1/com/android/gallery3d/picasasource/PicasaSource.java?av=f

You can try rebuilding the gallery from the source using the photo source included as PicasaSource , but it doesn't seem like you can change the behavior of Android Gallery.

0
source

Source: https://habr.com/ru/post/888770/


All Articles