FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM24] Android Is there a way to lock screen orientation via programming?
[WM24] Android Is there a way to lock screen orientation via programming?
Débuté par Robert, 22 avr. 2021 14:48 - 1 réponse
Connectez-vous…
Robert
#1
Membre enregistré
105 messages
Posté le 22 avril 2021 - 14:48
I know you can change the screen orientation via SysScreenOrientation, but is there a way to programmatically change the Orientation property of a window?
The setting where if you go to the Describing the window screen > GUI > Orientation = Free | Locked Portrate | Locked Landscape
Thanks!
Signaler
0
0
Kasia P
#2
Posté le 28 janvier 2022 - 12:04
Have you tried editing the manifest? I have managed the orientation of windows this way.
During the generation of the application go to "Advanced configuration"/"Edit manifest" and then modify the screenOrinetation attributes for all activities (windows) you want.
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte