I have an existing Rhodes app that I have converted to a RhoElements app. When I first install the application, it runs fine until the app is closed. When the app is re-opened, it does not get passed the splash screen. The Windows loading animation appears and does not go away. I have to uninstall the application and reinstall it in order to get it to work.
I have not purchased a license for the device yet since I'm still in the development phase. Could the app be getting stuck trying to open the licensing screen the second time it is opened? The license screen opens and I cancel out of it during the first load.
Additional Note: The device I'm testing on is an MC65.
Can you attached your build.yml file for the project?
Points: 0
You voted ‘up’
I've attached the build.yml file and the log file with MinSeverity = 1.
Points: 0
You voted ‘up’
Attach also log from device, pls with MinSeverity=1
Points: 0
You voted ‘up’
I've attached another log file from additional testing and this issue is still present. The only thing that I see that may be a problem is "Core::CSync::Run| Thread Handle NULL".
I've also noticed that when the app does launch the first time, the Windows spinner appears and does not go away. The app becomes progressively slower until it doesn't respond to user input at all. If the app is closed, then it will not open as described above.
Points: 0
You voted ‘up’
How do you close application ?
Points: 0
You voted ‘up’
I close the application by selecting the 'X' in the right corner of the device's toolbar. (The native toolbar, not my application's toolbar)
Points: 0
You voted ‘up’
Can you pls try close app using menu/exit
Points: 1
You voted ‘up’
The behavior is the same when the application is closed using the menu -> exit option.
Points: 0
You voted ‘up’
FWIW when I add "non_motorola_device" to the capabilities section of my build.yml, the app closes and opens normally. However, I require use of the Barcode API's so this is not a solution for me.
Points: 0
You voted ‘up’
I found out that the issue was I was calling Barcode.disable() in the on_deactivate_app method. When I removed this line, the app opened and closed as expected whether the 'X' or the Menu -> Exit option was used to close it.
Points: 0
You voted ‘up’
This might help
https://developer.motorolasolutions.com/community/rhomobile-suite/docs/developer-reference/blog/2012/01/03/licensing-rhoelements
Points: 0
You voted ‘up’
Log in to post comments