MCPcopy Create free account
hub / github.com/TangXiaoLv/TelegramGallery

github.com/TangXiaoLv/TelegramGallery @1.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.4 ↗ · + Follow
3,861 symbols 7,293 edges 357 files 1,008 documented · 26% updated 3y ago1.0.4 · 2017-08-01★ 1,33516 open issues

Browse by type

Functions 3,122 Types & classes 739
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TelegramGallery

English | 中文

Fast,efficiently,low memory selector of album,extract from Telegram. Support singleSelection, Multiselect, photo preview,scalable ,sliding to quit preview,QQ pick style.

Getting Started

Gradle

dependencies {
    compile 'com.library.tangxiaolv:telegramgallery:1.0.4'
}

configuration

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

    <activity android:name="com.tangxiaolv.telegramgallery.GalleryActivity" />

Usage

//open album
GalleryConfig config = new GalleryConfig.Build()
                        .limitPickPhoto(3)
                        .singlePhoto(false)
                        .hintOfPick("this is pick hint")
                        .filterMimeTypes(new String[]{"image/jpeg"})
                        .build();
GalleryActivity.openActivity(MainActivity.this, reqCode, config);

//process result
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    //list of photos of seleced
    List<String> photos = (List<String>) data.getSerializableExtra(GalleryActivity.PHOTOS);

    //list of videos of seleced
    List<String> vides = (List<String>) data.getSerializableExtra(GalleryActivity.VIDEOS);
}

License

GPL-2.0

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 1,956
Method 1,166
Class 480
Enum 244
Interface 15

Languages

C++67%
Java33%
C1%

Modules by API surface

telegramgallery/src/main/java/com/tangxiaolv/telegramgallery/PhotoViewer.java121 symbols
telegramgallery/src/main/jni/libyuv/source/row_gcc.cc119 symbols
telegramgallery/src/main/cpp/libyuv/source/row_gcc.cc119 symbols
telegramgallery/src/main/jni/libyuv/source/row_common.cc108 symbols
telegramgallery/src/main/cpp/libyuv/source/row_common.cc108 symbols
telegramgallery/src/main/jni/libyuv/source/row_win.cc106 symbols
telegramgallery/src/main/cpp/libyuv/source/row_win.cc106 symbols
telegramgallery/src/main/jni/libyuv/source/row_neon64.cc77 symbols
telegramgallery/src/main/jni/libyuv/source/row_neon.cc77 symbols
telegramgallery/src/main/cpp/libyuv/source/row_neon64.cc77 symbols
telegramgallery/src/main/cpp/libyuv/source/row_neon.cc77 symbols
telegramgallery/src/main/jni/ffmpeg/include/libavcodec/avcodec.h75 symbols

For agents

$ claude mcp add TelegramGallery \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page