Thanks for the explanation.
I create inside my class a static instance that is created in init. This works perfetcly.
I am a beginner using codename one and I have some years as software developer. Your software is an excelent idea and congratulations.