Multi app loaded same app first page

I had develop 2 app with sharing some of the resources like the images and some similar code.
The case happen is like this:
App A is Landscape
App B is Portrait
1 - press on App A
2 - press home button while splash page show up
3 - press on App B
4 - App B show up splash page
5 - App B show up the first page(login page) of the App A

The core problem is App B would show up App A’s first page,
if i do it in another way, App A won’t show up App B;s first page.

This make me feel very confuse, and i trapped here for weeks,
could any one please help me to find out how to fix it???

Try to change some config.xml, still having this problem

Would there any one know about it?