Phonegap Windows Phone disable landscape

How to disable landscape or horizontal mode on the windows phone

For this example I used phonegap version 3.4

#1 Open the file MainPage.xaml in your Phonegap working directory.
(<project>\platforms\wp8\MainPage.xaml)

#2 Find the following line:

#3 and change is to:

 

Comments: 2

  1. Terecita Rolle October 24, 2014 at 22:37 Reply

    How do i put landscape on my phone

    • p.vanos November 2, 2014 at 21:16 Reply

      What do you mean?

Leave a Reply

Your email address will not be published. Required fields are marked *

-->