giljulio / android-multiple-image-picker Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Library to select mutliple images for android
[DEPRECATED] Library to select mutliple images for android
i added picker folder to my proj and R file didnt generate at pickers classes
Hi,
After adding this module to my project I'm getting a gradle error:
"Build script error unsupported gradle dsl method was found release()"
you can see my question on StackOverflow:
http://stackoverflow.com/questions/24990837/build-script-error-unsupported-gradle-dsl-method-was-found-release
Hi there!
Thanks for a great stuff!
I think you have little miscalculation in ImageResizer->calculateInSampleSize
long totalPixels = width * height / inSampleSize;
should be
long totalPixels = width / inSampleSize * height / inSampleSize;
and then
while (totalPixels > totalReqPixelsCap) {
inSampleSize *= 2;
totalPixels /= 2;
}
should be
while (totalPixels > totalReqPixelsCap) {
inSampleSize *= 2;
totalPixels /= 4;
}
After that you can instantiate ImageInternalFetcher with a smaller size (closer to the size of a thumb)
java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
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)
Hi Giljulio,
My name is Jason and I'm writing this to ask the following questions if you could help...
I have an Android Studio import error as follows.
This is error message:
Error:(22) A problem occurred evaluating project ':example'.
Project with path ':roll' could not be found in project ':example'.
I can't seem to find 'roll' - I think you missed that... Would you add it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.