Giter Site home page Giter Site logo

Comments (11)

whynogo avatar whynogo commented on September 3, 2024

done after adding: compile project(":libPolyPicker") manually

from poly-picker.

jaydeepw avatar jaydeepw commented on September 3, 2024

Now the library is available as a depedency on Maven Central.
Please refer for more details.

https://github.com/jaydeepw/poly-picker#download

from poly-picker.

sunil08 avatar sunil08 commented on September 3, 2024

Hello sir,
Thanks for posting this awesome library.
I am new to android studio i don't know hot to import this library into my project. While adding it shows "Configuration to name 'default not found.'"

Please guide me to import this library into project.
which folder should i copy polypicker or polypickerdemo and where.

from poly-picker.

jaydeepw avatar jaydeepw commented on September 3, 2024

@sunil08 You dont have to copy any folder. Just add gradle dependecny to you build.gradle file and you shall be ready to use this library right away.

from poly-picker.

sunil08 avatar sunil08 commented on September 3, 2024

Thanks for help. I did all as told and project was ready to launch.
But on clicking any button on main activity crashes the application.Before that an error was thrown.

On installing project...

E/Trace﹕ error opening trace file: No such file or directory (2)

After Button click....

com.example.sunil.pickimg E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sunil.pickimg/nl.changer.polypicker.ImagePickerActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2211)
at android.app.ActivityThread.access$600(ActivityThread.java:149)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:4987)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at nl.changer.polypicker.ImagePickerActivity.setupActionBar(ImagePickerActivity.java:104)
at nl.changer.polypicker.ImagePickerActivity.onCreate(ImagePickerActivity.java:83)
at android.app.Activity.performCreate(Activity.java:5020)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2211)
            at android.app.ActivityThread.access$600(ActivityThread.java:149)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:153)
            at android.app.ActivityThread.main(ActivityThread.java:4987)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
            at dalvik.system.NativeStart.main(Native Method)

from poly-picker.

jaydeepw avatar jaydeepw commented on September 3, 2024

Refer to my comment on this issue
#28

from poly-picker.

sunil08 avatar sunil08 commented on September 3, 2024

Thankyou sir the project is running but in the main activity ..
Parcelable[] parcelableUris = intent.getParcelableArrayExtra(ImagePickerActivity.EXTRA_IMAGE_URIS);

  • *parcelableUris is getting null and
    if(parcelableUris ==null) {
    Log.e("Uris",""+i); // prints i when null
    return;
    }

from poly-picker.

jaydeepw avatar jaydeepw commented on September 3, 2024

Thats really weird. Can you help me reproduce this issue?

from poly-picker.

sunil08 avatar sunil08 commented on September 3, 2024

i think sending uri from ImagePickerActivity into arraylist would be better option.

from poly-picker.

jaydeepw avatar jaydeepw commented on September 3, 2024

Yes, true. I have forked this project from another similar one. I could not manage to simplify that part last time when I worked on it. Maybe you should provide a PR with something like that?

from poly-picker.

vishalwt avatar vishalwt commented on September 3, 2024

Hello, my app is crash in marshmallow,poly picker not working in marshmallow ,how can i resolve this please help me it is possible or not?

from poly-picker.

Related Issues (20)

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.