[codenameone-discussions] Re: CN! apk not refreshing container

2020-05-15 Thread Shai Almog
The method is in Form. If it isn't there you need to update the project 
libraries through Codename One Settings -> Basic -> Update Project Libs

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6b9f6f0c-93b2-43d0-9458-46f41e07a7ba%40googlegroups.com.


[codenameone-discussions] Re: Set the importance on Android notifications

2020-05-15 Thread Shai Almog
Hi,
we have the following build hints:

android.NotificationChannel.id the current default is cn1-channel
android.NotificationChannel.name
android.NotificationChannel.description
android.NotificationChannel.importance - this is a numeric value and 
defaults to 2 which is low
android.NotificationChannel.enableLights
android.NotificationChannel.lightColor
android.NotificationChannel.enableVibration
android.NotificationChannel.vibrationPattern

Unfortunately it seems that all of this isn't documented. Feel free to file 
an issue on documenting this behavior.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/35e307ef-2e32-4658-aa4e-1aa771a7%40googlegroups.com.


[codenameone-discussions] Re: CN! apk not refreshing container

2020-05-15 Thread MobilitySol Uruguay
The situation is:

We have 4 containers in an array, we show the first perfectly, but when we 
set as current the next container to show it, we call forceRevalidate() on 
it but only the most general container is showed.

On Friday, April 3, 2020 at 10:17:52 AM UTC-3, MobilitySol Uruguay wrote:
>
> My CN1 has been in Google Play for a couple of years and works fine but 
> when I rebuild the identical code now on NetBeans through CN1 Build Server, 
> the resultant APK doesn't show the same behavior as I see in the emulator. 
> (I thought it was solved cause at the beggining in the emulator i was 
> seeing the wrong behavior). 
> 
>
> Any link or idea to solve the main trouble or the one with the emulator 
> will be appreciated!
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/53e0ddb9-d4d3-4028-8da6-0312f9fd22c5%40googlegroups.com.


[codenameone-discussions] Set the importance on Android notifications

2020-05-15 Thread Carlos Verdier
Hi

Is this feature 

 
exposed on cn1?

Right now all notifications are set as low importance, so no sound unless 
the users change that on their device settings. 

Would be nice to be able to set that both on regular and local 
notifications.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f9b81852-37d2-4079-9a3a-762e00848f81%40googlegroups.com.


[codenameone-discussions] Re: Best way to reuse a container full of components

2020-05-15 Thread Gareth Murfin
actually its really easy, in gui builder make a "container" not a "form".. 
then you can just get it and put it inside a container in another screen, 
some example code 

 Container ContainerNORTHinset = 
(Container)findByName("ContainerNORTHinset",f);//the place (on your current 
form) where you want to add your reusable container
ContainerNORTHinset.removeAll();//make sure its empty
Container IncludeStudentLifeHeaderSelectTerm  =  
(Container)createContainer(r, "IncludeStudentLifeHeaderSelectTerm"); //HERE 
you instance your container

ContainerNORTHinset.add(BorderLayout.CENTER,IncludeStudentLifeHeaderSelectTerm);//add
 
it to the form

viola, u may also sometimes need

 f.revalidate();

On Friday, May 15, 2020 at 11:19:08 PM UTC+8, Jaanus Kiipli wrote:
>
> Sorry for stupid question, but how to do that? is there a way to embed 
> container using the GUIBuilder or should I fiddle in the xml files manually 
> or in the java code or how?
>
> On Tuesday, October 22, 2013 at 10:05:47 PM UTC+3, Rikard Lindgren wrote:
>>
>> Not sure if this is what you are looking for, but you can use the Embed 
>> Container to achieve something similar to what you are asking for.
>> The Embed Container let´s you embed another GUI Element. So in your case 
>> i would create the Header and Footer as separate GUI elements and then use 
>> the Embed Container to add them to each page.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/730be7ea-c4f5-484f-bc98-0af66cb3f2cf%40googlegroups.com.


[codenameone-discussions] Re: CN! apk not refreshing container

2020-05-15 Thread MobilitySol Uruguay
Hi! I've serched the method you mention in my project , but i didn't find 
it, is there some other method that could be the problem of this issue?
Thanks!

On Saturday, April 4, 2020 at 1:11:21 AM UTC-3, Shai Almog wrote:
>
> I answered this on stackoverflow yesterday: 
> https://stackoverflow.com/questions/61004272/has-the-latest-codenameone-build-version-lost-functionality-to-scroll-through-mu
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f7c0616d-ae88-4b7d-b999-c1f982c07e78%40googlegroups.com.


[codenameone-discussions] Re: Best way to reuse a container full of components

2020-05-15 Thread Jaanus Kiipli
Sorry for stupid question, but how to do that? is there a way to embed 
container using the GUIBuilder or should I fiddle in the xml files manually 
or in the java code or how?

On Tuesday, October 22, 2013 at 10:05:47 PM UTC+3, Rikard Lindgren wrote:
>
> Not sure if this is what you are looking for, but you can use the Embed 
> Container to achieve something similar to what you are asking for.
> The Embed Container let´s you embed another GUI Element. So in your case i 
> would create the Header and Footer as separate GUI elements and then use 
> the Embed Container to add them to each page.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2deac148-c6b4-4595-ac4a-2cc2e8f2245a%40googlegroups.com.