{ "id": "160377", "key": "AC-3642", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-05-20T17:48:27.000+0000", "created": "2016-05-20T08:07:10.000+0000", "labels": [ "windows", "windows_phone" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-20T17:48:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14545", "name": "Documentation" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I tried to lock the orientation of a windows phone app by using the follow functionalities inside each window:\r\n-Titanium.UI.LANDSCAPE_LEFT\r\n-Titanium.UI.LANDSCAPE_RIGHT\r\n-Titanium.UI.PORTRAIT\r\n-Titanium.UI.UPSIDE_PORTRAIT\r\nthis policy doesnt work.\r\nI also tried to modify the tiapp.xml by adding the following tags:\r\n\r\n \r\n\tTi.UI.PORTRAIT\r\n \r\n \r\n\r\nwith no results.\r\n\r\nAre there some strategies to solve this problem? \r\n", "attachment": [], "flagged": false, "summary": "How to lock the orientation screen in a windows phone app?", "creator": { "name": "steve90", "key": "steve90", "displayName": "stefano quadrini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "steve90", "key": "steve90", "displayName": "stefano quadrini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "O.S: WIndows 10\r\nTitanium sdk 5.2.2 GA\r\nEmulator windows phone 8.1\r\n", "comment": { "comments": [ { "id": "386365", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-20T17:48:10.000+0000", "updated": "2016-05-20T17:48:10.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }