Git Product home page Git Product logo

retropicker's People

Contributors

paulolinhares09 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

retropicker's Issues

NPE in onSuccess

Caused by java.lang.NullPointerException: Attempt to invoke interface method 'void br.com.packapps.retropicker.callback.CallbackPicker.onSuccess(android.graphics.Bitmap, java.lang.String)' on a null object reference at br.com.packapps.retropicker.fragments.RetroPickerFragment.executeActionResult(RetroPickerFragment.java:292) at br.com.packapps.retropicker.fragments.RetroPickerFragment.onActivityResult(RetroPickerFragment.java:277) at android.app.Activity.dispatchActivityResult(Activity.java:7802) at android.app.ActivityThread.deliverResults(ActivityThread.java:4929) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4269) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4330) at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123) at android.os.Handler.dispatchMessage(Handler.java:109) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:7470) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

Any idea about that?

App duplication

When I add this library through gradle in my android project then I saw 2 apps in my apps menu in android phone. When I tap on 1 app its my app and when I tap on other it starts you image picker app. Whats the issue and how I solve it as I follow all things defined on your library page

Imagem não aparece

Tentei usar o Glide, porém não consegui mostrar o bitmap de retorno. Também tentei colocar o bitmap diretamente na image view, porém não foi mostrado a imagem. Sempre é chamado o método onSuccess, porém não consigo obter seus dados.
A imagePath me retorna content://com.android.providers.media.documents/document/image%3A8994 na qual acredito estar correto

Retropicker.Builder builder = new Retropicker.Builder(getMainActivity())
            .setTypeAction(Retropicker.GALLERY_PICKER);

    builder.enquee(new CallbackPicker() {
        @Override
        public void onSuccess(Bitmap bitmap, String imagePath) {
            imageProfilePicture.setImageBitmap(bitmap);
        }

        @Override
        public void onFailure(Throwable error) {
            showMessage(error.getMessage());
        }
    });

    Retropicker retropicker = builder.create();
    retropicker.open();

App icon showing in launcher

Hello Paulo,

After I adding your library i can see two launcher icon of my app. One is for your MainActivity and another is for my activity.

How can I resolve this?

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.