Hi,
Thanks for information.
--
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 discus
Hi,
I am trying to create a record in a Mysql BD. In the client I use the new
API Rest but it sends me the following error when I include a Param method
with Body:
*"[EDT] 0: 0: 0.2 - Exception: java.lang.IllegalStateException - Request
body and arguments are mutually exclusive, you can't use
Hi,
The following code shows how I solved the problem, *I need to know if there
is a simpler way to do it.*
Response jMenu = Rest.get(SERVER_URL +
"usuario/busquedaMenu").queryParam("token", Preferences.get("token",
null)).acceptJson().getAsJsonMap();
if (jMenu.getResponseCode(
Hi,
Thank you Mr. Shai, but how do I solve the problem that the information
arrives in a single record?
--
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
Hi,
There are simple things that still cost me and I need to solve a silly
interaction problem of a Map.
My project extracts information from a web service using the new Rest API.
My problem is that the moment I try to interact the Map, all the
information comes in a single register.
Remark: Men
Hi,
Will you have an example of the conversion to DAO?
--
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...@googlegrou
Hi,
Thanks for support.
>From the list that comes from the server, I need all the fields that are
part of the "User", plus the following fields that are part of the
"Device": dispositivoId (Long), numero (String), descripcion (String) and
leeHuella (Boolean).
--
You received this message bec
Hi,
As far as I can investigate, I have 2 paths:
The first is to make a DTO class on the server that contains all the
properties that I need "User" and "Device". Then create a repository to
extract the information and this is what I send to the client. The client
has a custom class with all the
Hi,
Precisely, I do not know how I should change the DAO, I would appreciate a
guide.
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 codena
Hi,
I am using the book created by Mr. Shai as a base to carry out my
development and I clarify that I do not know anything about Spring Boot,
JPA, Jersey, etc. I am trying to login but I have encountered a problem
that for many will be trivial.
*On the server I have an entity that represents th
Ok, 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.go
Hi,
Buy the kindle version of the book. Although in the Entities a large part
of the data structure is shown, I do not see anywhere the tables and
relations of the Database.
Where I download it?
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussi
Hi,
Thanks for answering.
I would like to have a digital copy of the book. Would it be possible for
you to write to "Amazon" to solve the problem?
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and s
Hi
I'm from Panama and I'm trying to buy the Kindle version in Amazon, but it
sends me the following message:
"Debido a las restricciones de copyright, el título de Kindle que está
intentando adquirir no está disponible en su país: Panamá."
"Due to copyright restrictions, the Kindle title you
Thanks for the reply.
In my case, I have a web development in php where users are created using
the password encryption function ("password_hash").
For communication with mobile devices I have a web service developed in
java.
It sounds logical that you send the user and password to the web servi
Hi
I have to connect to a web platform that keeps passwords encrypted with the
"password_hash ()" function of php.
How can I encrypt the password in the same way using codename one.
Thanks for support.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne
Hi,
How can I change the wallpaper of a mobile phone using an image, gif or
video?
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 codenameo
*Hi,*
*Again change the code of the location, timing the update of my tables to
"n" minutes. In the simulator this works well. In the device I have the
problem that every time the device goes into power saving the screen turns
off and the GPS cycle also stops working.*
*I appreciate any support
Hi,
Change the activation code of the gps in the following way:
private void geoLocalizacion() {
sesion = System.currentTimeMillis();
localizacionConductor = new Localizacion(sesion);
LocationManager.getLocationManager().setLocationListener(localizacionConductor,
new
Hi,
I did another test by simplifying the code as much as possible and placing
the listener in a minute and in each cycle let a sound occur.
Both the simulator and the device repeat the reading in approximately one
second.
Step to copy the simplified code and I appreciate being told that I am
d
Hi,
In the simulator and in the device, the same problem occurs.
I thank you if you have a suggestion to solve this.
In the middle of my desperation I made another code that in the simulator
is repeated in the exact time, but in the device it is only executed once.
UITimer uit = new
HI,
It seems that nothing has changed because it constantly repeats the GPS
call about one second at a time.
>
>
--
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
Hi,
I must be doing something wrong because it does not work for me.
Create a small method to start this way:
private void geoLocalizacion() {
sesion = System.currentTimeMillis();
LocationManager locationManager =
LocationManager.getLocationManager();
localizacionCon
Hi,
I have read other posts on this topic but I do not see a clear solution.
How do I set a time of 15 minutes (for example) to separate each reading of
the gps ?.
As an alternative I thought about using the UITimer api and using the
"Location" (Location position = LocationManager.getLocationM
Hi,
My intention is that when I press the field "txNombreArticulo" a new form
is opened where a record is chosen and returns the information to the
initial form. This works quite well but I create a property in the
"txNombreArticulo" component to load the selected record.
My idea was that the ad
Hi,
I want to use an AutoCompleteTextField component as if it were a combobox.
How do I get the keyboard not to activate?
Regards.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving em
Thanks
On Wednesday, December 5, 2018 at 12:49:50 AM UTC-5, Shai Almog wrote:
>
> Hi,
> URLImage caches images locally. You need to change the storage file name
> too in order for the image to be fetched again, alternatively you can
> delete the storage file.
>
--
You received this message bec
Ups, I corrected the problem.
On Tuesday, December 4, 2018 at 9:43:30 PM UTC-5, rdvg...@gmail.com wrote:
>
> Hi,
> In my app, as many buttons are created as campaign records. The images of
> the buttons change depending on who creates or modifies the campaign on a
> web page created by me. Each
Hi,
Inside my app create a section to show non-invasive ads. The addresses of
these ads are in a database and every time you enter this section the
database is read again. Change the addresses of the images in the Database
but the images do not refresh on the buttons.
My Code:
private void
Hi,
Some time ago, I uploaded 2 app to play store by signing the apk from
codename. Today try to upload a new app but google again made a change that
I do not understand.
If someone has uploaded an app recently, I appreciate that you guide me
with the Android app Bundle.
Regards.
--
You rec
Thanks
On Sunday, November 25, 2018 at 11:22:34 PM UTC-5, Shai Almog wrote:
>
> Hi,
> use addComponent(0, myComponent) to add a component to the first position.
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from th
Hi,
I already managed to do the ordering but I had to user the replace. I leave
the code as a reference:
public void ordenaContenedorMayorMenor(Container cnC) {
Container cnResp = new Container(BoxLayout.y());
if (cnC.getComponentCount() > 0) {
for (int i = 0; i <
Hi,
In my app, every time I enter a new record it is placed in automatic form
at the end of the elements of a container. When I read the database I sort
the records by date so that the most recent one appears first.
I did not find any method that would allow me to order the elements and
proceed
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
Hi,
I need to make an app that detects when a child is placed very close to a
device and lower the brightness of the screen according to the distance
that is. Is there a way to control the proximity sensor and the brightness
of the screen in Codename One?
I would appreciate the information.
r
Hi,
Inside my app I use this component and so far I had no problems. Suddenly
it only works when a record is pressed for a long time. The truth I have
not made changes on this part of the code and I do not understand what
happened until Monday worked well. Out of curiosity validate the date of
Hi,
Place a small validation on the indicated method that showed a message with
the Dialog component when the condition is met. To my surprise the message
appears 2 times in a row. Validate that you were not changing the content
of the field (textarea component) in any other point of the logic.
Hi,
Based on your suggestion, delete the Timer (logically the Component Dialo
does not disappear after 3 seconds) and the problem continues; that is to
say: the form does not always appear.
What could be happening?
--
You received this message because you are subscribed to the Google Groups
Hi,
I have a method that triggers a form that does not always run. The form has
a Timer class to control the time it appears and disappears. In addition to
this, for some time the warning was displayed in the debug console (Ljava /
util / ArrayList; Z) V 'formTotals
My code:
private void
Hi,
I am a man older than 50 and I skipped java and object oriented programming
to work on codename one.
I have doubts about the console you mention. Is the debug console that has
my IDE (netbeans) or what?
--
You received this message because you are subscribed to the Google Groups
"Codena
Hi,
On August 27, I wrote version one of my question: " Components of the forms
disappear". Today I checked the code and found nothing, I proceeded to
change it to minimize its size but I still have the same problems. The
truth is that it happens in at least 3 forms of my application and added
Hello,
I was forced to copy the autoCompleteTextField component and create a
version that suits my needs. Everything is turning out quite well, just
that within this class there is the "calcPopuupHeight" method that uses the
following instruction to return the size of the popup window:
int lis
Hi,
No, I'm going to show the code (really simple) for validation.
private void formaTienda(final Form fmLiber) {
final Form fmTienda = new Form(new BorderLayout());
fmTienda.getToolbar().setBackCommand("", e -> fmLiber.showBack());
fmTienda.getToolbar().getStyle().set
Hi,
I have an app that I am testing on android (Samsung J7 Prime) and
sporadically the components of certain form disappear (see images). When I
press the Home button and look for the application, the components appear
magically.
Attached you will see the images in the same way with and witho
Hi
I have a set of containers that are displayed in a list. I trigger a method
without problem when a container is selected but I can not change it.
Next I show my code so that they indicate to me that I am doing badly.
// Método que devuelve el detalle de las tiendas
private SwipeableCo
Hi,
I want to place advertising in the southern part of my app and that it is
repeated in all forms in the same way that admod does it. I thought about
putting a Webbrowser component and call a page that has a carload of images
or animations (as they are done by Google Web Designer) but that th
Hi,
I'm working on an app that makes use of the "cn1-codescan.cn1Lib" library.
When I build an android file the size that is shown is 983 kb. I have the
need to use SHA2 and to include the BouncyCastleCN1Lib library. cn1Lib the
android file grows to 1873 kb. I clarify that in the properties I h
Hi,
I have a webservice to which I send requests but I need to raise the level
of security. Does CN1 have an api to use the JWT?
If yes, I thank you if you have any examples.
regards
Rubén
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" g
Hi,
In another post, Shai explained a trick to allow a complete word to be
written before launching the reading into the Database. I modified it a bit
to allow one or several words to be written and the reading to be launched
when I found a blank space.
I have 4 forms which apply the same princ
Hi,
I'm going from using the combobox to autocompletetextfield. I have a list
of supermarkets that in my example the names are repeated but only differ
by the address as shown in the figure. To facilitate the search in the
listmodel I put the name of the store plus its address. The list with th
Hello,
My email is ruben...@yahoo.com. Let's talk.
--
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.
Hi,
Load the component with the names of 100 articles that come from a
database. Unfortunately there are names that repeat themselves.
I create a method that validates by the name selected in the
autocompletetextfield and looks for the complete record of the database.
When selecting one of the
Hello,
I have tried several options but I only get error messages, I appreciate
the support on how to insert the UITimer API.
My code:
final DefaultListModel lmArticulos = new DefaultListModel<>();
AutoCompleteTextField atArticulo = new
AutoCompleteTextField(lmArticulos) {
Hi,
Load about 25k of records in a table called "articles".
To do the dynamic search of the information, I made a select to the table
using the "like" function. Perform a test by entering the word "salsa". For
each letter the routine goes to the BD and brings "n" number of records.
For example
54 matches
Mail list logo