Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-14 Thread Shai Almog
Hi,
thanks for the details. The right place for this is the issue tracker here: 
http://github.com/codenameone/CodenameOne/issues/

That way we can track the issue specifically, assign it and monitor 
potential regressions/fix failed without it getting buried under the pile 
of discussions.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/94827351-556c-49c2-97cc-e65310e1f7bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-13 Thread Shai Almog
The issue that was fixed for #2383 was caused by using the capture API then 
opening the gallery. If it's still happening in current builds then it's a 
separate issue. Assuming it happens to you in a hello world scenario then 
this is probably a device specific issue.

Here's what you need to do:

- Try to get another device and see if it happens there too, if you can get 
multiple devices that would be interesting
- File a new issue with: test case, ideally device video and full details 
of the device (model, manufacturer, exact Android version number). 

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a4cc07b3-bb74-4555-9ee4-6fa1cb1afd5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-13 Thread Carlos Conti
Hi Shai,

don't know exactly what you mean by "capture as part of the flow". I am
currently only checking it on android devices not iOS, that will be the
next step. I am not interested in capturing, just in selecting from the
gallery, but currently I would have to open the gallery as many times as
different photos I want to upload, quite uncomfortable for the user. There
seems not to be an easy fix.

https://github.com/codenameone/CodenameOne/issues/2383

This post states what I mean. Apparently should be fixed in the Simulator
and Android. I have effectively verified it in the Simulator, but Android
keeps failing. The device doesn't raise any exception, it only doesn't
allow multiple selection.
Should I delve deeper and see if there's anything to attain in native code
or similar?

Regards,

Carlos.





El mar., 9 oct. 2018 a las 6:32, Shai Almog ()
escribió:

> Hi,
> did you use capture as part of the flow?
> Is it possible that this fix is relevant?
>
> https://github.com/codenameone/CodenameOne/commit/cbac71f4393d26478c482c802d059a85718e417d
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/f583ab47-3096-42c7-8e6e-f95189aa8dd5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CALpaLOPqXG7ntYLyMJ%2BsVcd0fPjYR-qeTz%3DKXp35RQv-ru4LMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-08 Thread Shai Almog
Hi,
did you use capture as part of the flow?
Is it possible that this fix is relevant? 
https://github.com/codenameone/CodenameOne/commit/cbac71f4393d26478c482c802d059a85718e417d

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f583ab47-3096-42c7-8e6e-f95189aa8dd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-08 Thread Carlos Conti
Hi Steve,

I have run your test, and in my device

Android 7.0
Samsung S7 Edge

it doesn't allow me to select multiple images. The behavior is the same I
get with my application, I can effectively select multiple images in the
simulator, but not on the device.

Don't know how to proceed. Can you give me any hints?

Many thanks for your time.

Regards,

Carlos.

El mar., 2 oct. 2018 a las 18:06, Steve Hannah (<
steve.han...@codenameone.com>) escribió:

> Yes.  I've tested it on several devices.  What device are you running it
> on / what version of Android?
>
> On Tue, Oct 2, 2018 at 9:04 AM Carlos Conti  wrote:
>
>> Hi Steve thanks. Have you tested running it on an Android device? On the
>> simulator I am being able to perform a multiselection, but not on the
>> device.
>>
>> Regards.
>>
>> Carlos Conti.
>>
>> El mar., 2 oct. 2018 a las 14:09, Steve Hannah (<
>> steve.han...@codenameone.com>) escribió:
>>
>>>
>>>
 Button b3 = new Button("Cargar Fotos");
 b3.addActionListener(e->{
 Display.getInstance().openGallery(new ActionListener(){

 @Override
 public void actionPerformed(ActionEvent evt) {
 int y = 2;
 }

 }, Display.GALLERY_IMAGE_MULTI);  //have tried also
 GALLERY_ALL_MULTI but no luck!
 });


 That snippet looks generally correct.  This is a test case that I use
>>> for the gallery multiselect features, if you want to take a look.
>>> https://gist.github.com/shannah/7c7187b2ef97309dc394215dfa649d09
>>>
>>> Steve
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> codenameone-discussions+unsubscr...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWp5K4biATsM93hQHwKN%3D2WNVBTxpwu%2B4WVK2n_CjGTFA%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to codenameone-discussions+unsubscr...@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/codenameone-discussions/CALpaLONYPgRZU9Bo3cjdkNAk3QkdXBY56Tc%2BO36pqGAaiP%3DXOQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKUHtiQXBqg4Zvg3ukgYf_YYcac36-xcGWHAqM%3DiaKqjiw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CALpaLOO21-RHuhh7bS-cv_UWem8gwGCDREOcjhJWB%3DKV0QkvTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-02 Thread Carlos Conti
Hi Steve,

I have run it on an Android 7.0 (don't know the api level but should be
recent enough its a Samsung S7 Edge)
Ok. I will firstly test your code snippets, perhaps we find a surprise, and
it only has to do with the code structure/argument type, etc since this
is an abstraction layer we cannot exclude that possibility. I am figuring
out that the fact that there's an explicit declaration of the action
listener instead of the lambda expression shouldn't affect. Should it? Let
me run first your code and then will come back to you.

Many thanks.

Regards,

Carlos.

El mar., 2 oct. 2018 a las 18:06, Steve Hannah (<
steve.han...@codenameone.com>) escribió:

> Yes.  I've tested it on several devices.  What device are you running it
> on / what version of Android?
>
> On Tue, Oct 2, 2018 at 9:04 AM Carlos Conti  wrote:
>
>> Hi Steve thanks. Have you tested running it on an Android device? On the
>> simulator I am being able to perform a multiselection, but not on the
>> device.
>>
>> Regards.
>>
>> Carlos Conti.
>>
>> El mar., 2 oct. 2018 a las 14:09, Steve Hannah (<
>> steve.han...@codenameone.com>) escribió:
>>
>>>
>>>
 Button b3 = new Button("Cargar Fotos");
 b3.addActionListener(e->{
 Display.getInstance().openGallery(new ActionListener(){

 @Override
 public void actionPerformed(ActionEvent evt) {
 int y = 2;
 }

 }, Display.GALLERY_IMAGE_MULTI);  //have tried also
 GALLERY_ALL_MULTI but no luck!
 });


 That snippet looks generally correct.  This is a test case that I use
>>> for the gallery multiselect features, if you want to take a look.
>>> https://gist.github.com/shannah/7c7187b2ef97309dc394215dfa649d09
>>>
>>> Steve
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> codenameone-discussions+unsubscr...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWp5K4biATsM93hQHwKN%3D2WNVBTxpwu%2B4WVK2n_CjGTFA%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to codenameone-discussions+unsubscr...@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/codenameone-discussions/CALpaLONYPgRZU9Bo3cjdkNAk3QkdXBY56Tc%2BO36pqGAaiP%3DXOQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKUHtiQXBqg4Zvg3ukgYf_YYcac36-xcGWHAqM%3DiaKqjiw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CALpaLOOEug37BcUKSsL2U6m%2BVyAvXOVmonGCf-zYEyffWE-rqA%40mail.gmail.com.
For more options, visit 

Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-02 Thread Steve Hannah
Yes.  I've tested it on several devices.  What device are you running it on
/ what version of Android?

On Tue, Oct 2, 2018 at 9:04 AM Carlos Conti  wrote:

> Hi Steve thanks. Have you tested running it on an Android device? On the
> simulator I am being able to perform a multiselection, but not on the
> device.
>
> Regards.
>
> Carlos Conti.
>
> El mar., 2 oct. 2018 a las 14:09, Steve Hannah (<
> steve.han...@codenameone.com>) escribió:
>
>>
>>
>>> Button b3 = new Button("Cargar Fotos");
>>> b3.addActionListener(e->{
>>> Display.getInstance().openGallery(new ActionListener(){
>>>
>>> @Override
>>> public void actionPerformed(ActionEvent evt) {
>>> int y = 2;
>>> }
>>>
>>> }, Display.GALLERY_IMAGE_MULTI);  //have tried also
>>> GALLERY_ALL_MULTI but no luck!
>>> });
>>>
>>>
>>> That snippet looks generally correct.  This is a test case that I use
>> for the gallery multiselect features, if you want to take a look.
>> https://gist.github.com/shannah/7c7187b2ef97309dc394215dfa649d09
>>
>> Steve
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "CodenameOne Discussions" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> codenameone-discussions+unsubscr...@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWp5K4biATsM93hQHwKN%3D2WNVBTxpwu%2B4WVK2n_CjGTFA%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/CALpaLONYPgRZU9Bo3cjdkNAk3QkdXBY56Tc%2BO36pqGAaiP%3DXOQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKUHtiQXBqg4Zvg3ukgYf_YYcac36-xcGWHAqM%3DiaKqjiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-02 Thread Carlos Conti
Hi Steve thanks. Have you tested running it on an Android device? On the
simulator I am being able to perform a multiselection, but not on the
device.

Regards.

Carlos Conti.

El mar., 2 oct. 2018 a las 14:09, Steve Hannah (<
steve.han...@codenameone.com>) escribió:

>
>
>> Button b3 = new Button("Cargar Fotos");
>> b3.addActionListener(e->{
>> Display.getInstance().openGallery(new ActionListener(){
>>
>> @Override
>> public void actionPerformed(ActionEvent evt) {
>> int y = 2;
>> }
>>
>> }, Display.GALLERY_IMAGE_MULTI);  //have tried also
>> GALLERY_ALL_MULTI but no luck!
>> });
>>
>>
>> That snippet looks generally correct.  This is a test case that I use for
> the gallery multiselect features, if you want to take a look.
> https://gist.github.com/shannah/7c7187b2ef97309dc394215dfa649d09
>
> Steve
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/-ihNMfjrXHQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWp5K4biATsM93hQHwKN%3D2WNVBTxpwu%2B4WVK2n_CjGTFA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CALpaLONYPgRZU9Bo3cjdkNAk3QkdXBY56Tc%2BO36pqGAaiP%3DXOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Unable to select multiple images via Display.getInstance().openGalellery(ActionListener, Display.GALLERY_IMAGE_MULTI)

2018-10-02 Thread Steve Hannah
>
> Button b3 = new Button("Cargar Fotos");
> b3.addActionListener(e->{
> Display.getInstance().openGallery(new ActionListener(){
>
> @Override
> public void actionPerformed(ActionEvent evt) {
> int y = 2;
> }
>
> }, Display.GALLERY_IMAGE_MULTI);  //have tried also
> GALLERY_ALL_MULTI but no luck!
> });
>
>
> That snippet looks generally correct.  This is a test case that I use for
the gallery multiselect features, if you want to take a look.
https://gist.github.com/shannah/7c7187b2ef97309dc394215dfa649d09

Steve

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWp5K4biATsM93hQHwKN%3D2WNVBTxpwu%2B4WVK2n_CjGTFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.