RxMediaPicker
An easy way to get image or Video from Gallery or Camera with request runtime permission on Android M using RxJava2. Based on RxImagePicker(@MLSDev)
Install / Use
/learn @nfajardo/RxMediaPickerREADME
RxMediaPicker
An easy way to get image or Video from Gallery or Camera with request runtime permission on Android M using RxJava2. Based on RxImagePicker(@MLSDev)
Includes Sample
Example Image
RxImagePicker.with(context).requestImage(Sources.GALLERYIMAGE).subscribe(new Consumer<Uri>() {
@Override
public void accept(@NonNull Uri uri) throws Exception {
//Get image by uri using one of image loading libraries. I love Picasso
}
});
Example Video Gallery
RxImagePicker.with(context).requestVideo(Sources.GALLERYVIDEO).subscribe(new Consumer<Uri>() {
@Override
public void accept(@NonNull Uri uri) throws Exception {
//Get video by uri.
}
});
Example Video Camera
RxImagePicker.with(context).requestVideo(Sources.CAMERAVIDEO).subscribe(new Consumer<Uri>() {
@Override
public void accept(@NonNull Uri uri) throws Exception {
//Get video by uri.
}
});
Developer
- Nelson FB
- Based on RxImagePicker from @MLSDev
License
RxMediaPicker is released under the MIT license. See LICENSE for details.
Related Skills
qqbot-channel
347.6kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
347.6kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
cursor-agent-tracking
134A repository that provides a structured system for maintaining context and tracking changes in Cursor's AGENT mode conversations through template files, enabling better continuity and organization of AI interactions.
