android - phonegap orientation landscape only -


i'm trying set orientation landscape in phonegap application. don't know java, don't use androidmanifest.xml file in project since it's generated when type command sudo phonegap run android never uses.

when finish html files, upload them account on build.phonegap.com , website rest of work(building apk html,css&js files).

the xml file change config.xml file. change orientation mode in it.

<preference name="orientation" value="landscape" /> 

and have following meta tags in project

<meta name="description" content=""> <meta name="keywords" content=""> <meta name="handheldfriendly" content="true"> <meta name="mobileoptimized" content="320"> <meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1"> <meta http-equiv="cleartype" content="on"> 

the problem orientation doesn't become landscape when install game on device. there miss?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -