Thank you for the command line option. I used it and uncovered that Steve 
was correct in the assumption that my app is throwing an error. I have 
added a few debug output statements to help me identify the exact line that 
is hanging. Let me give a few pre-qualifiers to the scenario.

 

1) my app uses a standard splash screen which runs some initialization and 
registration checks

2) these checks are inside the postSplash function and the splash screen is 
never displayed

3) During these checks I scan the installation device for available storage 
paths and test the write-ability of each, this does throw some javaIO 
errors which are caught and handled correctly by my code

4) at this point in the code I would expect the splash screen to be visible 
but for some reason it is not

5) i make use of a "loading" label object to show status messages to the 
user and the code now updates that object 

 

I suspected that my app would be hanging on the "loading" label 
object modification statement of:

 

statusMsg.setText("Opening Registration System..."); 

 

but strangely enough it makes it past that line to hang on the next line: 

 

Dialog.*show*("Device Registration", "We will need to perform registration 
before you can make use of this application.", "OK", null);

 

I can see how both these lines of code could be problematic when the app 
hasn't actually come into view yet, but I can't understand why the app 
hasn't come into view yet.

On Tuesday, July 5, 2016 at 5:38:34 AM UTC+1, Shai Almog wrote:
>
> Try running the project from command line using java -jar with your jar 
> file name. It should be somewhere in the installation hierarchy.
>

-- 
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 [email protected].
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/2b610224-7133-4710-9e09-8fdb1acdd099%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to