Rotating the Emulator

PhilipBrown

Active Member
Licensed User
Longtime User
I'm assuming this is a bug with the Emulator rather than with B4A?

If you attach the Designer to the Emulator and press Ctrl + F11 twice to change the Emulator's orientation, you find the text is rotated instead of switching views, as shown in the attached image.
 

Attachments

  • Rotated Emulator.png
    Rotated Emulator.png
    38.8 KB · Views: 262

yttrium

Active Member
Licensed User
Longtime User
I'm assuming this is a bug with the Emulator rather than with B4A?

If you attach the Designer to the Emulator and press Ctrl + F11 twice to change the Emulator's orientation, you find the text is rotated instead of switching views, as shown in the attached image.

Are you sure your app properly supports rotation?

Does it work on physical devices?
 

yttrium

Active Member
Licensed User
Longtime User
Yes, it works fine on a real device. Real devices don't rotate text in any case!

Well, of course they do, if you think about what happens behind the scenes.

Honestly the emulator looks fine to me. Can you draw a mockup of the expected behavior?
 

tdocs2

Well-Known Member
Licensed User
Longtime User
[QUOTEpress Ctrl + F11 twice to change the Emulator's orientation.[/QUOTE]

Thank you, Phillip. Where is this documented? I do not use Emulators much - instead I have multiple devices.
 

DonManfred

Expert
Licensed User
Longtime User
1st: WHY are you pulling out two years old threads????

If you have a question then create a new thread for it instead of pulling out REALLY OLD threads!

Where is this documented?
Have you looked at the Android-Dcumentation-site??? No you have not.

But you are right. It is easier to do NO search by yourself and instead pulling out old threads and asking questions which you could answer yourself within 30 seconds googling for it. I DID and i needed 15 seconds to find the answer

Searching at developer.android.com should ALWAYS be the first place to search for documentation about google-software (which the emulator is)

 
Last edited:
  • Like
Reactions: eps

tdocs2

Well-Known Member
Licensed User
Longtime User
Thank you, Don.

I do not quite understand your comment about 2 year old threads... Sometimes, I find valuable information on old threads and the subject may be new to me. It is difficult to sort out valuable vs. superfluous information until you apply the thread.

And you are correct. For this case, I had not looked at the Android Developer site. I just did not make the connection between the AVD - Emulator and Google. Instead I looked in the B4A forum where I found the answer in a 2 year old thread (Ctrl-F11). As you well know, I do go to the Android Developer sites (see your previous reply to me).

In any event, I am appreciative for you help and your many contributions to the forum.

Best regards.

Sandy

PS: I know you are very busy, but you should write a brief tutorial on the AVD and the emulator including the link you provided (in a new thread, of course). Many forum participants may think that the AVD and Emulator are part of B4A.
 

DonManfred

Expert
Licensed User
Longtime User
but you should write a brief tutorial on the AVD and the emulator including the link you provided (in a new thread, of course)
Why should i?
1. I DONT USE the emulator at all. NEVER. I ALWAYS use a real device for my development and tests.
WHEN i want to try a tablet-emulator then i would use genymotion. But i use this only if my tablet is not here.
2. The given advice on the android emulator given a lot of times by Erel is
"Dont use the emulator. It is not reliable and really slow. Use a real device instead."

See this good actual example :D

So i dont think it is a good idea at all to create such tutorial.

But if you like: DO IT if you want. Probably your english is better than mine
 
Last edited:

tdocs2

Well-Known Member
Licensed User
Longtime User
Probably your english is better than mine

Maybe - but your programming skills are far better than mine!:)

I have been using B4A for some time and I have several devices. The emulator is slow and tests your patience. I never use it.

But I remember NJDude's coin phrase "1 star Ninjas" when your app does not display well on their devices.

That thought has prompted me to use the emulator. I have found some use for the emulator like how will the app display on the Nexus 9 or the 2013 Nexus 7...

Thank you, Don.

@lemonisdead

Obrigado. I agree.:)

Best regards.

Sandy


 
Top