Android Question Start „Call“ activity in landscape orientation

Gernot

New Member
Licensed User
Android 4.4.3


If I start a phone call from android the orientation of the „Call“ activity change in the right orientation. But if I start the activity from my own program with <StartActivity(PC.Call("+49xxxxxxxxxx"))
the “Call” activity is always in portrait mode. What can I do to change the orientation to landscape?
 

Attachments

  • landscape-problem.zip
    7.7 KB · Views: 175

tigrot

Well-Known Member
Licensed User
Longtime User
I send the activity CALL in backgroud. Infact I start a timer of about 3" after activating the CALL, when timer is expired I take my APP activity in foreground, the Call activity is sent to background and a notification icon appears. The activity shown can show whatever you want including CALL info's.
 
Upvote 0

Gernot

New Member
Licensed User
I don't think that there is any way to control its orientation.
Actually I don't want control the orientation. I want only to have the "Call" activity in the right orientation, but if I start the "Call" activity from my own activity the "Call" activity is all the time in portrait mode. In contrast, if I start the "Call" activity direct from android and I have the tablet in landscape mode, the "Call" activity starts also in portrait mode, but changes immediatily to landscape. If I have the tablet in portrait mode the "Call" activity starts of course also in portrait mode and if I turn the tablet 90° the "Call" activity changes to landscape mode.
 
Upvote 0

tigrot

Well-Known Member
Licensed User
Longtime User
As far as I have seen on my phones(no further investigation on other devices) If you start a call using dialer landscape or portrait, you have always a portrait call.
And I have not found any way to force a landscape screen...
I have no tablet with phone module, so I cannot test this...
 
Upvote 0
Top