Coder Social home page Coder Social logo

mediachooser's People

Contributors

learnncode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediachooser's Issues

video capture from camera

after capture a video there is no pop up like image do you want to save so you need to press back
to go to the app by doing that the resultCode will be equal to zero , it should be -1 to refresh the list

@OverRide
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == MediaChooserConstants.CAPTURE_VIDEO_ACTIVITY_REQUEST_CODE) {
if (resultCode == RESULT_OK ) {
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, fileUri));
final AlertDialog alertDialog = MediaChooserConstants.getDialog(HomeFragmentActivity.this).create();
alertDialog.show();

Tthere is not any file in Video Tab and Image Tab

I tried your sample code, include Library and Sample.

I run on my device, but there is not any file show in here. (video & image)

Is your application read from /sdcard, right?
If yes, please tell me :

"Which coding I need add to your sample code to test successfully?"

Integration guide?

Hey guys!

The library looks good, I wanted to integrate it into my Gradle project, but I can't find any instructions on how to do it. Is it on Bintray? If it is, could you please update the README with 'group:artefact:version'?

Thanks!

Support library in Android Studio

Hello,

Your structure folders looks like support for Eclipse.

Could you support this Library for Android Studio?

I think It's necessary.

Thanks.

App Crash when selecting images in Folder View

If you scroll down to bottom and then come back to top selecting images from top then the application will be crash and Fatal Exception raised.
FATAL EXCEPTION: main Process: alisons.com.trippr, PID: 25737 java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at android.support.design.widget.TabLayout.getTabAt(TabLayout.java:517) at com.learnncode.mediachooser.activity.HomeScreenMediaChooser.onImageSelected(HomeScreenMediaChooser.java:224) at com.learnncode.mediachooser.fragment.ImageFragment$2.onItemClick(ImageFragment.java:215) at android.widget.AdapterView.performItemClick(AdapterView.java:305) at android.widget.AbsListView.performItemClick(AbsListView.java:1146) at android.widget.AbsListView$PerformClick.run(AbsListView.java:3053) at android.widget.AbsListView$3.run(AbsListView.java:3860) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5343) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

Question : registerReceive vs onActivityResult

I think There is another good way is to use onActivityResult() (in the following image) instead of using registerReceive() (BroadcastReceiver)

startactivityforresult
onactivityresult

Why you use Receiver in this case? Can you tell me please?

P/s : You can update this another way. I just think it is good for you. Thanks.

Menu in your library

Hello,

I need edit something follow what I want, but it looks like your library not allow me to do that.

I think You can add the menu for someone can do more things they want, ex. is the setting page for them to add feature, like compress, sorting ... It's good and necessary.

Also thing, your library already added Compress the photo or video for uploading to the server feature?

Thanks,

Importing settings

Hi!

Its good work and so compact, but how to add my project MediaChooser. Can you share gradle link?

Image display wrong when scroll back.

the image list is showing well .back when i scroll to bottom then i back scroll to top .the image in top is changed and the origin image is dismissed.

Could not find com.github.learnNcode:MediaChooser

HI,
I try to add your lib to my project, but it seems that your lib is not found.

I follow this steps:

Step 1. Select your build system: Gradle

Step 2. Add the specific repository to your build file:

repositories {
maven {
url "https://jitpack.io"
}
}
Step 3. Add the dependency in your build file (do not forget to specify the correct qualifier, usually 'aar'):

dependencies {
compile 'com.github.learnNcode:MediaChooser:b1461b0028'
}
And then i got this message when i try to build:
Error:Could not find com.github.learnNcode:MediaChooser:b1461b0028.

and if i try to put '@arr' i got the same thing.

ps ยน: I'm using Android Studio.
ps ยฒ: why you are not using tags ?

Could you help me ?
Thx

play video in videoview

how can i play the video on select on video and play the video in video view ?
How can i get the video url on click of video image ?

Video Thumbnail not loading for all videos

Thanks for this awesome library!
The issue which I am facing is video thumbnails are not loading for all videos, I am running your sample demo on samsung s4 running on android 5.0.1.
Is there a way to fix this?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.