Guadalajara (Spain). Ingeniero Superior en Informática por la Universidad de Alcalá. Co-fundador y diseñador web en Ayuve. Organizador de las Tertulias Viajeras Wanderlust Guadalajara y Co-organizador de Codenares, creador de la web Senderismoguadalajara.es (nivel básico de Montañismo por la Escuela de Madrileña de Montaña) y de la app móvil Tu Huerto en Casa (www.tuhuertoencasa.net). Sígueme en twitter, soy @vjpascual.


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Seguramente os habrá surgido una pequeña duda respecto a la orientación del teléfono, el típico gesto en el que giramos el móvil del modo vertical o Portrait, al modo horizontal o Landscape.

Pues bien, simplemente con pegar esta línea de código que viene a continuación dentro del método OnCreate de vuestra activity.

[cc lang=”java”]setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); [/cc]

NOTA: Si queréis que vaya en todas las Activity, tendréis que pegarlo en todos y cada uno de los métodos OnCreate de dichas Activity.

Si tienes alguna duda y quieres que te ayude, pregúntame.

Deberías leer  Cómo enviar emails en Android

Comments

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *