[codenameone-discussions] Re: 50 mb limit

2019-07-10 Thread Dave Dyer
...All good advice for novices, which I am not.  Demand for image quality is 
increasing with increases in pixel density.

I found some default .png splash screens to delete, I vaguely recall including 
them was an attempt to reduce build
times - which have greatly reduced due to other improvements in the build 
process.

.. so file this discussion under the long term plans for codenameone.  I don't 
think limiting upload size is a very
effective way of managing resources - your limits on build times are much more 
relevant.

-- 
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/30d41fa0-c02c-4658-b123-fc66e63eadac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: 50 mb limit

2019-07-10 Thread Shai Almog
This is a bit old but still applicable: 
https://www.codenameone.com/blog/shrinking-sizes-optimizing.html

33mb is HUGE, it should be pretty easy to reduce the sizes of these images 
significantly.

-- 
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/69a6e554-0fcc-479f-9eb1-35dc16acf30a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Render animation to mp4?

2019-07-10 Thread Shai Almog
Hi,
there is no builtin video encoding API in OS's. Camera internal code is 
self contained and not accessible by external logic. 
Apps that generate videos use one of the following:

- Server side encoding
- Embed a library like ffmpeg
- Encode using a very simple format, there are some very simple codec 
formats you can use.

-- 
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/976ea4bb-1ac2-43d8-826a-f0b186c89ed9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to populate a class with PropertyBusinessObject correctly

2019-07-10 Thread Shai Almog
Hi,
there are plenty of examples in the book/code. E.g. the login in 
UserService returns a DAO which the User entity creates.

-- 
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/ba3967e1-5b23-4111-93e8-5221c9c2c844%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] 50 mb limit

2019-07-10 Thread Dave Dyer

It finally happened, I've hit the 50mb limit on jar size - adding "one more 
game" to my app,
albeit one with a lot of imagery.   So my jar is now 56 mb, of which 33 mb 
is images which
I would bet don't affect build times in any material way.

What do you recommend?

-- 
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/d68bcce9-59fa-4aba-b0ed-7035f620aedb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Render animation to mp4?

2019-07-10 Thread Gareth Murfin
Hi, 

Ive made a canvas app that includes some animation of a photograph, its all 
done using code and done in paint(). I would like to save the animation out 
for the purpose of sharing on facebook. Whats the easiest way to do this? 
Im assuming I should write each frame to an image, then construct an mp4 
from the image, but is there any way to create videos like this in 
codenameone ?

-- 
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/6db9a243-80f1-4ed9-ae29-e9c229074286%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.