AEM Phonegap in 6.2 link opening in browser instead of app



Hi Everyone,

I am new to AEM Phonegap working on AEM 6.2. I have to create a wrapper around an existing app now in phonegap. I created an app project in AEM using Geometrixx as a tempalte and in head.jsp of template of homepage , I have written

<script type="text/javascript">

            window.location.href = "link to my desktop site";


When i am opeingn in app, this page is opening in browser instead of app.

Please let me know If am doing anythign wrong.

Accepted Solutions (0)