In my Activity_Create, I create panels (that I declare and initialize in code). From here, I load a layout (that I created in the designer) to the Panel. There are about 12 of these panel / layout combinations.
The app loads fine until I hit the back button (Kindle) or open the physical keyboard (phone). I then get an initialized error when the Activity_Create sub is called again.
On the Kindle, when I hit the back button and re-launch, I get an initialized error on the Activity_Create section. The error is always an imageview (created and initialized in the designer) when loading a layout onto a panel. This happens about 20% of the time.
On the phone, when I open the physical keyboard, the app closes and automatically calls Activity_Create, I then get an initialized error on the panel (initialized in code during Activity_Create). This happens every time.
The only way I can get around this is to call ExitApplication on Activity_Pause, but this kills the process altogether even if only the home button is pressed or another app is opened.
I asked about the Kindle before, and the image size may be the issue. I am wondering if anyone can help me solve the issues on both devices.
The app loads fine until I hit the back button (Kindle) or open the physical keyboard (phone). I then get an initialized error when the Activity_Create sub is called again.
On the Kindle, when I hit the back button and re-launch, I get an initialized error on the Activity_Create section. The error is always an imageview (created and initialized in the designer) when loading a layout onto a panel. This happens about 20% of the time.
On the phone, when I open the physical keyboard, the app closes and automatically calls Activity_Create, I then get an initialized error on the panel (initialized in code during Activity_Create). This happens every time.
The only way I can get around this is to call ExitApplication on Activity_Pause, but this kills the process altogether even if only the home button is pressed or another app is opened.
I asked about the Kindle before, and the image size may be the issue. I am wondering if anyone can help me solve the issues on both devices.