[codenameone-discussions] Re: How to send/get data to/from Servlet?

2016-07-10 Thread Shai Almog
Hi, you are adding the result to a header in the servlet which doesn't make sense. You need to write it to the response ideally with the right mime type see: http://www.oracle.com/technetwork/java/servlet-142430.html I would also suggest starting with doGet as you can debug that in the browser

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-10 Thread Shai Almog
On iOS we use textures to show images and they do have a size limit, the thing that threw me off here is the fact that this happens on Android. I'm guessing google has similar texture upper limits for image size. -- You received this message because you are subscribed to the Google Groups "Code

[codenameone-discussions] Re: reporting getClass problem in android

2016-07-10 Thread Shai Almog
Hi, from the developer guide https://www.codenameone.com/manual/files-storage-networking.html " *It’s a common mistake to use getClass().getName() to implement getObjectId() and it would seem to work in the simulator. This isn’t the case though! Since devices obfuscate the class names this beco

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-10 Thread Carlos Verdier
Update I have tried with different sizes, and I have found the following: - 1536x4095 -- works fine - 1536x4096 -- shows image but has problems scrolling - 1536x4097 -- does not show So it seems that anything beyond 4095 is problematic whatever width I use because I have tried 768 width and had

[codenameone-discussions] Re: Images not rendered when scaling down on specific situations

2016-07-10 Thread Carlos Verdier
I'm afraid it has nothing to do with hierarchy. Notice that the center absolute is not the parent of that container, because it is replaced here: f.replace(loading, l, null); I have elaborated the code a bit more to see if it can clarify something. I have resized the same image, so now we have

[codenameone-discussions] How to send/get data to/from Servlet?

2016-07-10 Thread samer . alshurafa . kc
Hello I tried to connect with Servlet but the I don't how!!, I searched on tutorials to send and received data but no positive result. this is my code :: @Override protected void onMain_ButtonAction(Component c, ActionEvent event) { try { InfiniteProgress inf = new Infinit

[codenameone-discussions] reporting getClass problem in android

2016-07-10 Thread romancanoniero
Hi , yesterday i found that in android when you call to getClass().getSimpleName() or getClass().getName() it doesent return for example "Container" returning as the name "i" that is normal? thanks If you are experiencing an issue please mention the full platform your issue applies to: IDE: N

[codenameone-discussions] Re: Hi i am getting this exception in build-server.html page error log while building an codename app * Exception is: java.lang.RuntimeException: Cannot read packageName from

2016-07-10 Thread deep62 . kr
No I didn't change anything but error is resolved now, I placed = symbol in build hints and it builds successfully, thanks for your reply. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiv