[codenameone-discussions] Re: 2.4Kb jar is rejected from server because it is 1.8Mb with dependencies

2021-06-21 Thread Shai Almog
Odd, I'll need to check. Make sure to define the DPI of your image to dpi 0. On Monday, June 21, 2021 at 1:29:33 PM UTC+3 P5music wrote: > I inspected the jar and I realized that it is not JSON's fault. > There are three reasons the footprint grow: > 1-I loaded images inside the theme.res

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-21 Thread Shai Almog
I think it's the correct spelling. We were a bit inconsistent in naming over the years. I'm not sure. I'll ask how this can happen. On Monday, June 21, 2021 at 1:10:38 PM UTC+3 P5music wrote: > I just have a single android build hint > > android.xintent_filter > > By the way is it wrong? > >

Re: [codenameone-discussions] Re: Problems with conversion from milliseconds to date.

2021-06-21 Thread Shai Almog
Notice that date in milliseconds is in GMT/UTC so it should work well universally even if your server is in a different time zone (which is very likely). That's probably the source of the problem you're experiencing. This is why the response from Javier should work as it removes the

[codenameone-discussions] Re: 2.4Kb jar is rejected from server because it is 1.8Mb with dependencies

2021-06-21 Thread 'P5music' via CodenameOne Discussions
I inspected the jar and I realized that it is not JSON's fault. There are three reasons the footprint grow: 1-I loaded images inside the theme.res (964kb) I loaded 512px images and CN1 created the derived ones I guess, but are they created before installing? Should not they be created in the app

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-21 Thread 'P5music' via CodenameOne Discussions
I just have a single android build hint android.xintent_filter By the way is it wrong? 1)Is the correct naming android.xintentFilter instead? This is the content: 2) What are the right parameters in the gradle files? The value was 0 for many of them, as I said. Regards Il giorno sabato

Re: [codenameone-discussions] Re: Problems with conversion from milliseconds to date.

2021-06-21 Thread Javier Anton
Try this: public static String cambiaNumeroFecha(Long fecha) { SimpleDateFormat dateFormat = new SimpleDateFormat(); dateFormat.applyPattern("-MM-dd"); Date d = new Date(fecha); return dateFormat.format(d); } Javier On Mon, 21 Jun 2021 at 05:40, rdvg...@gmail.com